geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r702207 - /geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/main/java/org/apache/geronimo/gshell/vfs/provider/meta/MetaFileObject.java
Date Mon, 06 Oct 2008 17:16:20 GMT
Author: jdillon
Date: Mon Oct  6 10:16:19 2008
New Revision: 702207

URL: http://svn.apache.org/viewvc?rev=702207&view=rev
Log:
Meta file's are not writable

Modified:
    geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/main/java/org/apache/geronimo/gshell/vfs/provider/meta/MetaFileObject.java

Modified: geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/main/java/org/apache/geronimo/gshell/vfs/provider/meta/MetaFileObject.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/main/java/org/apache/geronimo/gshell/vfs/provider/meta/MetaFileObject.java?rev=702207&r1=702206&r2=702207&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/main/java/org/apache/geronimo/gshell/vfs/provider/meta/MetaFileObject.java
(original)
+++ geronimo/gshell/trunk/gshell-support/gshell-vfs-meta/src/main/java/org/apache/geronimo/gshell/vfs/provider/meta/MetaFileObject.java
Mon Oct  6 10:16:19 2008
@@ -71,6 +71,11 @@
     }
 
     @Override
+    protected boolean doIsWriteable() throws Exception {
+        return false;
+    }
+
+    @Override
     protected long doGetContentSize() throws Exception {
         byte[] bytes = data.getBuffer();
         return bytes != null ? bytes.length : 0;



Mime
View raw message