jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r540933 - in /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle: BundleDbPersistenceManager.java OraclePersistenceManager.java
Date Wed, 23 May 2007 11:42:10 GMT
Author: jukka
Date: Wed May 23 04:42:09 2007
New Revision: 540933

URL: http://svn.apache.org/viewvc?view=rev&rev=540933
Log:
JCR-885: Fixed the externalBLOBs setter as suggested by Claus Köll.

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/BundleDbPersistenceManager.java
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/OraclePersistenceManager.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/BundleDbPersistenceManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/BundleDbPersistenceManager.java?view=diff&rev=540933&r1=540932&r2=540933
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/BundleDbPersistenceManager.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/BundleDbPersistenceManager.java
Wed May 23 04:42:09 2007
@@ -296,20 +296,12 @@
     }
 
     /**
-     * Returns if uses external (filesystem) blob store.
-     * @return if uses external (filesystem) blob store.
-     */
-    public String getExternalBLOBs() {
-        return String.valueOf(externalBLOBs);
-    }
-
-    /**
-     * Sets the flag for external (filsystem) blob store usage.
+     * Sets the flag for external (filesystem) blob store usage.
      * @param externalBLOBs a value of "true" indicates that an external blob
      *        store is to be used.
      */
-    public void setExternalBLOBs(String externalBLOBs) {
-        this.externalBLOBs = Boolean.valueOf(externalBLOBs).booleanValue();
+    public void setExternalBLOBs(boolean externalBLOBs) {
+        this.externalBLOBs = externalBLOBs;
     }
 
     /**

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/OraclePersistenceManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/OraclePersistenceManager.java?view=diff&rev=540933&r1=540932&r2=540933
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/OraclePersistenceManager.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/bundle/OraclePersistenceManager.java
Wed May 23 04:42:09 2007
@@ -51,7 +51,7 @@
      */
     public OraclePersistenceManager() {
         // enable db blob support
-        setExternalBLOBs("false");
+        setExternalBLOBs(false);
     }
 
     public void init(PMContext context) throws Exception {



Mime
View raw message