[jsword-svn] r1353 - trunk/jsword/src/main/java/org/crosswire/jsword/book/sword

dmsmith at www.crosswire.org dmsmith at www.crosswire.org
Tue May 29 06:48:30 MST 2007


Author: dmsmith
Date: 2007-05-29 06:48:28 -0700 (Tue, 29 May 2007)
New Revision: 1353

Modified:
   trunk/jsword/src/main/java/org/crosswire/jsword/book/sword/AbstractBackend.java
   trunk/jsword/src/main/java/org/crosswire/jsword/book/sword/GZIPBackend.java
   trunk/jsword/src/main/java/org/crosswire/jsword/book/sword/GenBookBackend.java
   trunk/jsword/src/main/java/org/crosswire/jsword/book/sword/RawBackend.java
   trunk/jsword/src/main/java/org/crosswire/jsword/book/sword/RawLDBackend.java
   trunk/jsword/src/main/java/org/crosswire/jsword/book/sword/ZLDBackend.java
Log:
isSupported is now defaulted to true, since only LZSS is not supported.

Modified: trunk/jsword/src/main/java/org/crosswire/jsword/book/sword/AbstractBackend.java
===================================================================
--- trunk/jsword/src/main/java/org/crosswire/jsword/book/sword/AbstractBackend.java	2007-05-25 19:56:03 UTC (rev 1352)
+++ trunk/jsword/src/main/java/org/crosswire/jsword/book/sword/AbstractBackend.java	2007-05-29 13:48:28 UTC (rev 1353)
@@ -104,7 +104,10 @@
      * Returns whether this AbstractBackend is implemented.
      * @return true if this AbstractBackend is implemented.
      */
-    public abstract boolean isSupported();
+    public boolean isSupported()
+    {
+        return true;
+    }
 
     /**
      * A Backend is writable if the file system allows the underlying files

Modified: trunk/jsword/src/main/java/org/crosswire/jsword/book/sword/GZIPBackend.java
===================================================================
--- trunk/jsword/src/main/java/org/crosswire/jsword/book/sword/GZIPBackend.java	2007-05-25 19:56:03 UTC (rev 1352)
+++ trunk/jsword/src/main/java/org/crosswire/jsword/book/sword/GZIPBackend.java	2007-05-29 13:48:28 UTC (rev 1353)
@@ -345,15 +345,6 @@
         return null;
     }
 
-    /* (non-Javadoc)
-     * @see org.crosswire.jsword.book.sword.AbstractBackend#isSupported()
-     */
-    /* @Override */
-    public boolean isSupported()
-    {
-        return true;
-    }
-
     /**
      * Helper method so we can quickly activate ourselves on access
      */

Modified: trunk/jsword/src/main/java/org/crosswire/jsword/book/sword/GenBookBackend.java
===================================================================
--- trunk/jsword/src/main/java/org/crosswire/jsword/book/sword/GenBookBackend.java	2007-05-25 19:56:03 UTC (rev 1352)
+++ trunk/jsword/src/main/java/org/crosswire/jsword/book/sword/GenBookBackend.java	2007-05-29 13:48:28 UTC (rev 1353)
@@ -246,14 +246,6 @@
             while (true);
         }
     }
-    /* (non-Javadoc)
-     * @see org.crosswire.jsword.book.sword.AbstractBackend#isSupported()
-     */
-    /* @Override */
-    public boolean isSupported()
-    {
-        return true;
-    }
 
     /**
      * Helper method so we can quickly activate ourselves on access

Modified: trunk/jsword/src/main/java/org/crosswire/jsword/book/sword/RawBackend.java
===================================================================
--- trunk/jsword/src/main/java/org/crosswire/jsword/book/sword/RawBackend.java	2007-05-25 19:56:03 UTC (rev 1352)
+++ trunk/jsword/src/main/java/org/crosswire/jsword/book/sword/RawBackend.java	2007-05-29 13:48:28 UTC (rev 1353)
@@ -199,15 +199,6 @@
         return null;
     }
 
-    /* (non-Javadoc)
-     * @see org.crosswire.jsword.book.sword.AbstractBackend#isSupported()
-     */
-    /* @Override */
-    public boolean isSupported()
-    {
-        return true;
-    }
-
     /**
      * Helper method so we can quickly activate ourselves on access
      */

Modified: trunk/jsword/src/main/java/org/crosswire/jsword/book/sword/RawLDBackend.java
===================================================================
--- trunk/jsword/src/main/java/org/crosswire/jsword/book/sword/RawLDBackend.java	2007-05-25 19:56:03 UTC (rev 1352)
+++ trunk/jsword/src/main/java/org/crosswire/jsword/book/sword/RawLDBackend.java	2007-05-29 13:48:28 UTC (rev 1353)
@@ -271,15 +271,6 @@
         }
     }
 
-    /* (non-Javadoc)
-     * @see org.crosswire.jsword.book.sword.AbstractBackend#isSupported()
-     */
-    /* @Override */
-    public boolean isSupported()
-    {
-        return true;
-    }
-
     /**
      * Helper method so we can quickly activate ourselves on access
      */

Modified: trunk/jsword/src/main/java/org/crosswire/jsword/book/sword/ZLDBackend.java
===================================================================
--- trunk/jsword/src/main/java/org/crosswire/jsword/book/sword/ZLDBackend.java	2007-05-25 19:56:03 UTC (rev 1352)
+++ trunk/jsword/src/main/java/org/crosswire/jsword/book/sword/ZLDBackend.java	2007-05-29 13:48:28 UTC (rev 1353)
@@ -375,15 +375,6 @@
         }
     }
 
-    /* (non-Javadoc)
-     * @see org.crosswire.jsword.book.sword.AbstractBackend#isSupported()
-     */
-    /* @Override */
-    public boolean isSupported()
-    {
-        return true;
-    }
-
     /**
      * Helper method so we can quickly activate ourselves on access
      */




More information about the jsword-svn mailing list