accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r1495096 - /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/fs/VolumeManagerImpl.java
Date Thu, 20 Jun 2013 16:40:30 GMT
Author: ecn
Date: Thu Jun 20 16:40:30 2013
New Revision: 1495096

URL: http://svn.apache.org/r1495096
Log:
ACCUMULO-118 there's only one default volume

Modified:
    accumulo/trunk/server/src/main/java/org/apache/accumulo/server/fs/VolumeManagerImpl.java

Modified: accumulo/trunk/server/src/main/java/org/apache/accumulo/server/fs/VolumeManagerImpl.java
URL: http://svn.apache.org/viewvc/accumulo/trunk/server/src/main/java/org/apache/accumulo/server/fs/VolumeManagerImpl.java?rev=1495096&r1=1495095&r2=1495096&view=diff
==============================================================================
--- accumulo/trunk/server/src/main/java/org/apache/accumulo/server/fs/VolumeManagerImpl.java
(original)
+++ accumulo/trunk/server/src/main/java/org/apache/accumulo/server/fs/VolumeManagerImpl.java
Thu Jun 20 16:40:30 2013
@@ -56,13 +56,13 @@ public class VolumeManagerImpl implement
   private static final Logger log = Logger.getLogger(FileSystem.class);
   
   Map<String, ? extends FileSystem> volumes;
-  String defaultVolumes;
+  String defaultVolume;
   AccumuloConfiguration conf;
   VolumeChooser chooser;
   
   protected VolumeManagerImpl(Map<String, ? extends FileSystem> volumes, String defaultVolume,
AccumuloConfiguration conf) {
     this.volumes = volumes;
-    this.defaultVolumes = defaultVolume;
+    this.defaultVolume = defaultVolume;
     this.conf = conf;
     ensureSyncIsEnabled();
     try {
@@ -256,7 +256,7 @@ public class VolumeManagerImpl implement
       }
     }
       
-    return volumes.get(defaultVolumes);
+    return volumes.get(defaultVolume);
   }
 
   @Override
@@ -373,7 +373,7 @@ public class VolumeManagerImpl implement
 
   @Override
   public FileSystem getDefaultVolume() {
-    return volumes.get(defaultVolumes);
+    return volumes.get(defaultVolume);
   }
 
   @Override



Mime
View raw message