accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From medi...@apache.org
Subject svn commit: r1381462 - in /accumulo/trunk/server/src/main/java/org/apache/accumulo/server: master/recovery/SubmitFileForRecovery.java tabletserver/TabletServer.java
Date Thu, 06 Sep 2012 02:13:16 GMT
Author: medined
Date: Thu Sep  6 02:13:15 2012
New Revision: 1381462

URL: http://svn.apache.org/viewvc?rev=1381462&view=rev
Log:
ACCUMULO-755: Run findbugs (Added case labels for enum constants. Not needed but the extra
'do nothing' comments are harmless and eliminate compiler messages.)

Modified:
    accumulo/trunk/server/src/main/java/org/apache/accumulo/server/master/recovery/SubmitFileForRecovery.java
    accumulo/trunk/server/src/main/java/org/apache/accumulo/server/tabletserver/TabletServer.java

Modified: accumulo/trunk/server/src/main/java/org/apache/accumulo/server/master/recovery/SubmitFileForRecovery.java
URL: http://svn.apache.org/viewvc/accumulo/trunk/server/src/main/java/org/apache/accumulo/server/master/recovery/SubmitFileForRecovery.java?rev=1381462&r1=1381461&r2=1381462&view=diff
==============================================================================
--- accumulo/trunk/server/src/main/java/org/apache/accumulo/server/master/recovery/SubmitFileForRecovery.java
(original)
+++ accumulo/trunk/server/src/main/java/org/apache/accumulo/server/master/recovery/SubmitFileForRecovery.java
Thu Sep  6 02:13:15 2012
@@ -70,6 +70,13 @@ public class SubmitFileForRecovery exten
               log.error("Unable to check on the recovery status of " + file, ex);
             }
             break;
+          case NodeChildrenChanged:
+          case NodeCreated:
+          case NodeDataChanged:
+          case None:
+          default:
+            /* do nothing. */
+            break;
         }
       }
       

Modified: accumulo/trunk/server/src/main/java/org/apache/accumulo/server/tabletserver/TabletServer.java
URL: http://svn.apache.org/viewvc/accumulo/trunk/server/src/main/java/org/apache/accumulo/server/tabletserver/TabletServer.java?rev=1381462&r1=1381461&r2=1381462&view=diff
==============================================================================
--- accumulo/trunk/server/src/main/java/org/apache/accumulo/server/tabletserver/TabletServer.java
(original)
+++ accumulo/trunk/server/src/main/java/org/apache/accumulo/server/tabletserver/TabletServer.java
Thu Sep  6 02:13:15 2012
@@ -525,6 +525,10 @@ public class TabletServer extends Abstra
               case FINISHED:
                 state = ScanState.IDLE;
                 break;
+              case RUNNING:
+              default:
+                /* do nothing */
+                break;
             }
           }
           
@@ -547,6 +551,10 @@ public class TabletServer extends Abstra
               case FINISHED:
                 state = ScanState.IDLE;
                 break;
+              case RUNNING:
+              default:
+                /* do nothing */
+                break;
             }
           }
           



Mime
View raw message