jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r469571 - /jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/db/
Date Tue, 31 Oct 2006 17:22:10 GMT
Author: jukka
Date: Tue Oct 31 09:22:09 2006
New Revision: 469571

URL: http://svn.apache.org/viewvc?view=rev&rev=469571
Log:
JCR-595: Removed the super.getClass() workaround.

Modified:
    jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/db/DatabasePersistenceManager.java
    jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/db/DerbyPersistenceManager.java
    jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/db/JNDIDatabasePersistenceManager.java
    jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/db/OraclePersistenceManager.java
    jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/db/SimpleDbPersistenceManager.java

Modified: jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/db/DatabasePersistenceManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/db/DatabasePersistenceManager.java?view=diff&rev=469571&r1=469570&r2=469571
==============================================================================
--- jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/db/DatabasePersistenceManager.java
(original)
+++ jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/db/DatabasePersistenceManager.java
Tue Oct 31 09:22:09 2006
@@ -18,8 +18,6 @@
 
 import org.apache.jackrabbit.core.state.PersistenceManager;
 
-import java.io.InputStream;
-
 /**
  * Legacy class kept for backward compatibility reasons.
  * @deprecated use {@link org.apache.jackrabbit.core.persistence.db.DatabasePersistenceManager}
@@ -28,13 +26,4 @@
 public abstract class DatabasePersistenceManager
         extends org.apache.jackrabbit.core.persistence.db.DatabasePersistenceManager
         implements PersistenceManager {
-
-    /**
-     * {@inheritDoc}
-     *
-     * Needed to override in order to load the ddl from the new location
-     */
-    protected InputStream getSchemaDDL() {
-        return super.getClass().getResourceAsStream(schema + ".ddl");
-    }
 }

Modified: jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/db/DerbyPersistenceManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/db/DerbyPersistenceManager.java?view=diff&rev=469571&r1=469570&r2=469571
==============================================================================
--- jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/db/DerbyPersistenceManager.java
(original)
+++ jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/db/DerbyPersistenceManager.java
Tue Oct 31 09:22:09 2006
@@ -18,8 +18,6 @@
 
 import org.apache.jackrabbit.core.state.PersistenceManager;
 
-import java.io.InputStream;
-
 /**
  * Legacy class kept for backward compatibility reasons.
   * @deprecated use {@link org.apache.jackrabbit.core.persistence.db.DerbyPersistenceManager}
@@ -28,13 +26,4 @@
 public class DerbyPersistenceManager
         extends org.apache.jackrabbit.core.persistence.db.DerbyPersistenceManager
         implements PersistenceManager {
-
-    /**
-     * {@inheritDoc}
-     *
-     * Needed to override in order to load the ddl from the new location
-     */
-    protected InputStream getSchemaDDL() {
-        return super.getClass().getResourceAsStream(schema + ".ddl");
-    }
 }

Modified: jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/db/JNDIDatabasePersistenceManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/db/JNDIDatabasePersistenceManager.java?view=diff&rev=469571&r1=469570&r2=469571
==============================================================================
--- jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/db/JNDIDatabasePersistenceManager.java
(original)
+++ jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/db/JNDIDatabasePersistenceManager.java
Tue Oct 31 09:22:09 2006
@@ -18,8 +18,6 @@
 
 import org.apache.jackrabbit.core.state.PersistenceManager;
 
-import java.io.InputStream;
-
 /**
  * Legacy class kept for backward compatibility reasons.
   * @deprecated use {@link org.apache.jackrabbit.core.persistence.db.JNDIDatabasePersistenceManager}
@@ -28,14 +26,4 @@
 public class JNDIDatabasePersistenceManager
         extends org.apache.jackrabbit.core.persistence.db.JNDIDatabasePersistenceManager
         implements PersistenceManager {
-
-    /**
-     * {@inheritDoc}
-     *
-     * Needed to override in order to load the ddl from the new location
-     */
-    protected InputStream getSchemaDDL() {
-        return super.getClass().getResourceAsStream(schema + ".ddl");
-    }
-
 }

Modified: jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/db/OraclePersistenceManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/db/OraclePersistenceManager.java?view=diff&rev=469571&r1=469570&r2=469571
==============================================================================
--- jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/db/OraclePersistenceManager.java
(original)
+++ jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/db/OraclePersistenceManager.java
Tue Oct 31 09:22:09 2006
@@ -18,8 +18,6 @@
 
 import org.apache.jackrabbit.core.state.PersistenceManager;
 
-import java.io.InputStream;
-
 /**
  * Legacy class kept for backward compatibility reasons.
   * @deprecated use {@link org.apache.jackrabbit.core.persistence.db.OraclePersistenceManager}
@@ -28,14 +26,4 @@
 public class OraclePersistenceManager
         extends org.apache.jackrabbit.core.persistence.db.OraclePersistenceManager
         implements PersistenceManager {
-
-    /**
-     * {@inheritDoc}
-     *
-     * Needed to override in order to load the ddl from the new location
-     */
-    protected InputStream getSchemaDDL() {
-        return super.getClass().getResourceAsStream(schema + ".ddl");
-    }
-
 }

Modified: jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/db/SimpleDbPersistenceManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/db/SimpleDbPersistenceManager.java?view=diff&rev=469571&r1=469570&r2=469571
==============================================================================
--- jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/db/SimpleDbPersistenceManager.java
(original)
+++ jackrabbit/trunk/jackrabbit/src/main/java/org/apache/jackrabbit/core/state/db/SimpleDbPersistenceManager.java
Tue Oct 31 09:22:09 2006
@@ -18,8 +18,6 @@
 
 import org.apache.jackrabbit.core.state.PersistenceManager;
 
-import java.io.InputStream;
-
 /**
  * Legacy class kept for backward compatibility reasons.
   * @deprecated use {@link org.apache.jackrabbit.core.persistence.db.SimpleDbPersistenceManager}
@@ -28,14 +26,4 @@
 public class SimpleDbPersistenceManager
         extends org.apache.jackrabbit.core.persistence.db.SimpleDbPersistenceManager
         implements PersistenceManager {
-
-    /**
-     * {@inheritDoc}
-     *
-     * Needed to override in order to load the ddl from the new location
-     */
-    protected InputStream getSchemaDDL() {
-        return super.getClass().getResourceAsStream(schema + ".ddl");
-    }
-
 }



Mime
View raw message