accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From els...@apache.org
Subject [1/3] git commit: ACCUMULO-3045 Remove unnecessary method Overrides and bad formatting
Date Wed, 06 Aug 2014 01:05:25 GMT
Repository: accumulo
Updated Branches:
  refs/heads/1.6.1-SNAPSHOT 0b892921b -> 4f082cf34
  refs/heads/master 84100142e -> 186bc13f8


ACCUMULO-3045 Remove unnecessary method Overrides and bad formatting


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/4f082cf3
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/4f082cf3
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/4f082cf3

Branch: refs/heads/1.6.1-SNAPSHOT
Commit: 4f082cf346337c25a69b3316f07a9a25e2cfe6c2
Parents: 0b89292
Author: Josh Elser <elserj@apache.org>
Authored: Tue Aug 5 21:04:50 2014 -0400
Committer: Josh Elser <elserj@apache.org>
Committed: Tue Aug 5 21:04:50 2014 -0400

----------------------------------------------------------------------
 .../tokens/CredentialProviderToken.java         | 20 ++++----------------
 1 file changed, 4 insertions(+), 16 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/4f082cf3/core/src/main/java/org/apache/accumulo/core/client/security/tokens/CredentialProviderToken.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/accumulo/core/client/security/tokens/CredentialProviderToken.java
b/core/src/main/java/org/apache/accumulo/core/client/security/tokens/CredentialProviderToken.java
index 21e883b..fa5bb33 100644
--- a/core/src/main/java/org/apache/accumulo/core/client/security/tokens/CredentialProviderToken.java
+++ b/core/src/main/java/org/apache/accumulo/core/client/security/tokens/CredentialProviderToken.java
@@ -16,8 +16,6 @@
  */
 package org.apache.accumulo.core.client.security.tokens;
 
-import java.io.DataInput;
-import java.io.DataOutput;
 import java.io.IOException;
 import java.nio.CharBuffer;
 import java.util.LinkedHashSet;
@@ -57,17 +55,7 @@ public class CredentialProviderToken extends PasswordToken {
 
     setPassword(CharBuffer.wrap(password));    
   }
-  
-  @Override
-  public void write(DataOutput out) throws IOException {
-    super.write(out);
-  }
-  
-  @Override
-  public void readFields(DataInput in) throws IOException {
-    super.readFields(in);
-  }
-  
+
   @Override
   public void init(Properties properties) {
     char[] nameCharArray = properties.get(NAME_PROPERTY), credentialProvidersCharArray =
properties.get(CREDENTIAL_PROVIDERS_PROPERTY);
@@ -83,7 +71,7 @@ public class CredentialProviderToken extends PasswordToken {
 
     throw new IllegalArgumentException("Expected " + NAME_PROPERTY + " and " + CREDENTIAL_PROVIDERS_PROPERTY
+ " properties.");
   }
-  
+
   @Override
   public Set<TokenProperty> getProperties() {
     LinkedHashSet<TokenProperty> properties = new LinkedHashSet<TokenProperty>();
@@ -92,12 +80,12 @@ public class CredentialProviderToken extends PasswordToken {
     properties.add(new TokenProperty(CREDENTIAL_PROVIDERS_PROPERTY, "Comma separated list
of URLs defining CredentialProvider(s)", false));
     return properties;
   }
-  
+
   @Override
   public CredentialProviderToken clone() {
     CredentialProviderToken clone = new CredentialProviderToken();
     clone.setPassword(this.getPassword());
     return clone;
   }
-  
+
 }


Mime
View raw message