geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r701646 - in /geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/java/org/apache/geronimo/gshell/vfs/provider/truezip: TruezipFileProvider.java TruezipFileSystem.java
Date Sat, 04 Oct 2008 14:50:32 GMT
Author: jdillon
Date: Sat Oct  4 07:50:32 2008
New Revision: 701646

URL: http://svn.apache.org/viewvc?rev=701646&view=rev
Log:
Minor tidy

Modified:
    geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/java/org/apache/geronimo/gshell/vfs/provider/truezip/TruezipFileProvider.java
    geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/java/org/apache/geronimo/gshell/vfs/provider/truezip/TruezipFileSystem.java

Modified: geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/java/org/apache/geronimo/gshell/vfs/provider/truezip/TruezipFileProvider.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/java/org/apache/geronimo/gshell/vfs/provider/truezip/TruezipFileProvider.java?rev=701646&r1=701645&r2=701646&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/java/org/apache/geronimo/gshell/vfs/provider/truezip/TruezipFileProvider.java
(original)
+++ geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/java/org/apache/geronimo/gshell/vfs/provider/truezip/TruezipFileProvider.java
Sat Oct  4 07:50:32 2008
@@ -43,7 +43,7 @@
 public class TruezipFileProvider
     extends AbstractLayeredFileProvider
 {
-    public final static Collection capabilities = Collections.unmodifiableCollection(Arrays.asList(
+    public static final Collection<Capability> CAPABILITIES = Collections.unmodifiableCollection(Arrays.asList(
         Capability.CREATE,
         Capability.DELETE,
         Capability.RENAME,
@@ -86,6 +86,6 @@
     }
 
     public Collection getCapabilities() {
-        return capabilities;
+        return CAPABILITIES;
     }
 }

Modified: geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/java/org/apache/geronimo/gshell/vfs/provider/truezip/TruezipFileSystem.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/java/org/apache/geronimo/gshell/vfs/provider/truezip/TruezipFileSystem.java?rev=701646&r1=701645&r2=701646&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/java/org/apache/geronimo/gshell/vfs/provider/truezip/TruezipFileSystem.java
(original)
+++ geronimo/gshell/trunk/gshell-support/gshell-vfs-truezip/src/main/java/org/apache/geronimo/gshell/vfs/provider/truezip/TruezipFileSystem.java
Sat Oct  4 07:50:32 2008
@@ -65,7 +65,7 @@
      */
     protected void addCapabilities(final Collection caps) {
         // noinspection unchecked
-        caps.addAll(TruezipFileProvider.capabilities);
+        caps.addAll(TruezipFileProvider.CAPABILITIES);
     }
 
     /**



Mime
View raw message