You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2013/08/08 05:01:10 UTC

svn commit: r1511564 - /commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/ram/test/CustomRamProviderTest.java

Author: ggregory
Date: Thu Aug  8 03:01:09 2013
New Revision: 1511564

URL: http://svn.apache.org/r1511564
Log:
Slightly better ivar names.

Modified:
    commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/ram/test/CustomRamProviderTest.java

Modified: commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/ram/test/CustomRamProviderTest.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/ram/test/CustomRamProviderTest.java?rev=1511564&r1=1511563&r2=1511564&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/ram/test/CustomRamProviderTest.java (original)
+++ commons/proper/vfs/trunk/core/src/test/java/org/apache/commons/vfs2/provider/ram/test/CustomRamProviderTest.java Thu Aug  8 03:01:09 2013
@@ -51,13 +51,13 @@ public class CustomRamProviderTest
 
     private final List<Closeable> closeables = new ArrayList<Closeable>();
 
-    FileSystemOptions defaultRamFs = new FileSystemOptions();
+    FileSystemOptions defaultRamFso = new FileSystemOptions();
 
     DefaultFileSystemManager manager;
 
-    FileSystemOptions smallSized = new FileSystemOptions();
+    FileSystemOptions smallSizedFso = new FileSystemOptions();
 
-    FileSystemOptions zeroSized = new FileSystemOptions();
+    FileSystemOptions zeroSizedFso = new FileSystemOptions();
 
     /**
      * Closes the given {@link Closeable} during the tearDown phase.
@@ -99,8 +99,8 @@ public class CustomRamProviderTest
         manager.init();
 
         // File Systems Options
-        RamFileSystemConfigBuilder.getInstance().setMaxSize(zeroSized, 0L);
-        RamFileSystemConfigBuilder.getInstance().setMaxSize(smallSized, 10L);
+        RamFileSystemConfigBuilder.getInstance().setMaxSize(zeroSizedFso, 0L);
+        RamFileSystemConfigBuilder.getInstance().setMaxSize(smallSizedFso, 10L);
     }
 
     @After
@@ -204,7 +204,7 @@ public class CustomRamProviderTest
     @Test
     public void testRootFolderExists() throws FileSystemException
     {
-        final FileObject root = manager.resolveFile("ram:///", defaultRamFs);
+        final FileObject root = manager.resolveFile("ram:///", defaultRamFso);
         assertTrue(root.getType().hasChildren());
 
         try
@@ -227,8 +227,8 @@ public class CustomRamProviderTest
         assertTrue("Both files should exist in the same fs instance.", fo1.getFileSystem() == fo2.getFileSystem());
 
         // Small FS
-        final FileObject fo3 = manager.resolveFile("ram:/fo3", smallSized);
-        final FileObject fo4 = manager.resolveFile("ram:/", smallSized);
+        final FileObject fo3 = manager.resolveFile("ram:/fo3", smallSizedFso);
+        final FileObject fo4 = manager.resolveFile("ram:/", smallSizedFso);
         assertTrue("Both files should exist in the same FileSystem instance.", fo3.getFileSystem() == fo4.getFileSystem());
         assertTrue("Both files should exist in different FileSystem instance.", fo1.getFileSystem() != fo3.getFileSystem());