accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r1468599 - in /accumulo/branches/1.5: server/src/main/java/org/apache/accumulo/server/gc/SimpleGarbageCollector.java test/src/main/java/org/apache/accumulo/test/randomwalk/security/WalkingSecurity.java
Date Tue, 16 Apr 2013 20:27:25 GMT
Author: ecn
Date: Tue Apr 16 20:27:25 2013
New Revision: 1468599

URL: http://svn.apache.org/r1468599
Log:
ACCUMULO-1264 fix warnings

Modified:
    accumulo/branches/1.5/server/src/main/java/org/apache/accumulo/server/gc/SimpleGarbageCollector.java
    accumulo/branches/1.5/test/src/main/java/org/apache/accumulo/test/randomwalk/security/WalkingSecurity.java

Modified: accumulo/branches/1.5/server/src/main/java/org/apache/accumulo/server/gc/SimpleGarbageCollector.java
URL: http://svn.apache.org/viewvc/accumulo/branches/1.5/server/src/main/java/org/apache/accumulo/server/gc/SimpleGarbageCollector.java?rev=1468599&r1=1468598&r2=1468599&view=diff
==============================================================================
--- accumulo/branches/1.5/server/src/main/java/org/apache/accumulo/server/gc/SimpleGarbageCollector.java
(original)
+++ accumulo/branches/1.5/server/src/main/java/org/apache/accumulo/server/gc/SimpleGarbageCollector.java
Tue Apr 16 20:27:25 2013
@@ -310,7 +310,6 @@ public class SimpleGarbageCollector impl
       
       // we just made a lot of changes to the !METADATA table: flush them out
       try {
-        TCredentials creds = SecurityConstants.getSystemCredentials();
         Connector connector = instance.getConnector(credentials.getPrincipal(), CredentialHelper.extractToken(credentials));
         connector.tableOperations().compact(Constants.METADATA_TABLE_NAME, null, null, true,
true);
       } catch (Exception e) {

Modified: accumulo/branches/1.5/test/src/main/java/org/apache/accumulo/test/randomwalk/security/WalkingSecurity.java
URL: http://svn.apache.org/viewvc/accumulo/branches/1.5/test/src/main/java/org/apache/accumulo/test/randomwalk/security/WalkingSecurity.java?rev=1468599&r1=1468598&r2=1468599&view=diff
==============================================================================
--- accumulo/branches/1.5/test/src/main/java/org/apache/accumulo/test/randomwalk/security/WalkingSecurity.java
(original)
+++ accumulo/branches/1.5/test/src/main/java/org/apache/accumulo/test/randomwalk/security/WalkingSecurity.java
Tue Apr 16 20:27:25 2013
@@ -71,6 +71,7 @@ public class WalkingSecurity extends Sec
     super(author, authent, pm, instanceId);
   }
   
+  @SuppressWarnings("deprecation")
   public WalkingSecurity(State state2) {
     super(state2.getInstance().getInstanceID());
     this.state = state2;



Mime
View raw message