Convert entire project to strict lexicographical import sort ordering

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=127234970
This commit is contained in:
mcilwain 2016-07-12 13:26:45 -07:00 committed by Ben McIlwain
parent 2caba95d28
commit aa2f283f7c
1065 changed files with 893 additions and 3572 deletions

View file

@ -17,18 +17,14 @@ package google.registry.keyring.api;
import static com.google.common.base.Strings.emptyToNull;
import com.google.common.base.Optional;
import dagger.Module;
import dagger.Provides;
import java.lang.annotation.Documented;
import javax.inject.Qualifier;
import org.bouncycastle.openpgp.PGPKeyPair;
import org.bouncycastle.openpgp.PGPPrivateKey;
import org.bouncycastle.openpgp.PGPPublicKey;
import java.lang.annotation.Documented;
import javax.inject.Qualifier;
/** Dagger module for keys stored in {@link Keyring}. */
@Module
public final class KeyModule {

View file

@ -14,12 +14,11 @@
package google.registry.keyring.api;
import javax.annotation.concurrent.ThreadSafe;
import org.bouncycastle.openpgp.PGPKeyPair;
import org.bouncycastle.openpgp.PGPPrivateKey;
import org.bouncycastle.openpgp.PGPPublicKey;
import javax.annotation.concurrent.ThreadSafe;
/**
* Domain Registry keyring interface.
*

View file

@ -24,7 +24,8 @@ import static org.bouncycastle.bcpg.PublicKeyAlgorithmTags.RSA_SIGN;
import com.google.common.base.Optional;
import com.google.common.base.VerifyException;
import java.io.IOException;
import java.util.Iterator;
import org.bouncycastle.openpgp.PGPException;
import org.bouncycastle.openpgp.PGPKeyPair;
import org.bouncycastle.openpgp.PGPPrivateKey;
@ -37,9 +38,6 @@ import org.bouncycastle.openpgp.bc.BcPGPPublicKeyRing;
import org.bouncycastle.openpgp.operator.bc.BcPBESecretKeyDecryptorBuilder;
import org.bouncycastle.openpgp.operator.bc.BcPGPDigestCalculatorProvider;
import java.io.IOException;
import java.util.Iterator;
/** Helper functions for extracting PGP keys from their keyrings. */
public final class PgpHelper {

View file

@ -14,12 +14,11 @@
package google.registry.keyring.api;
import javax.annotation.concurrent.Immutable;
import org.bouncycastle.openpgp.PGPKeyPair;
import org.bouncycastle.openpgp.PGPPrivateKey;
import org.bouncycastle.openpgp.PGPPublicKey;
import javax.annotation.concurrent.Immutable;
/** {@link Keyring} that throws {@link UnsupportedOperationException} if any methods are called. */
@Immutable
public final class VoidKeyring implements Keyring {

View file

@ -16,7 +16,6 @@ package google.registry.keyring.api;
import dagger.Module;
import dagger.Provides;
import javax.annotation.concurrent.Immutable;
/** Dagger keyring module that always returns {@link VoidKeyring} instances. */