db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject svn commit: r453359 - /db/ojb/trunk/src/java/org/apache/ojb/broker/util/sequence/SequenceManagerHelper.java
Date Thu, 05 Oct 2006 20:22:59 GMT
Author: arminw
Date: Thu Oct  5 13:22:58 2006
New Revision: 453359

URL: http://svn.apache.org/viewvc?view=rev&rev=453359
Log:
remove deprecated attribute

Modified:
    db/ojb/trunk/src/java/org/apache/ojb/broker/util/sequence/SequenceManagerHelper.java

Modified: db/ojb/trunk/src/java/org/apache/ojb/broker/util/sequence/SequenceManagerHelper.java
URL: http://svn.apache.org/viewvc/db/ojb/trunk/src/java/org/apache/ojb/broker/util/sequence/SequenceManagerHelper.java?view=diff&rev=453359&r1=453358&r2=453359
==============================================================================
--- db/ojb/trunk/src/java/org/apache/ojb/broker/util/sequence/SequenceManagerHelper.java (original)
+++ db/ojb/trunk/src/java/org/apache/ojb/broker/util/sequence/SequenceManagerHelper.java Thu
Oct  5 13:22:58 2006
@@ -35,7 +35,6 @@
 /**
  * Helper class for SequenceManager implementations.
  *
- * @author <a href="mailto:armin@codeAuLait.de">Armin Waibel</a>
  * @version $Id$
  */
 public class SequenceManagerHelper
@@ -48,11 +47,6 @@
     public static final String PROP_SEQ_AS = "seq.as";
     /**
      * Property name used to configure sequence manager implementations.
-     * @deprecated use {@link #PROP_SEQ_START} instead.
-     */
-    public static final String PROP_SEQ_START_OLD = "sequenceStart";
-    /**
-     * Property name used to configure sequence manager implementations.
      */
     public static final String PROP_SEQ_START = "seq.start";
     /**
@@ -193,7 +187,7 @@
                 */
                 throw new SequenceManagerException("Could not find sequence-name for field
'" +
                         field + "' of class '" + field.getClassDescriptor().getClassNameOfObject()
+
-                        "', property 'autoNaming' in sequence-manager element in repository
was '" +
+                        "', property 'seq.autoNaming' in sequence-manager element in repository
was '" +
                         autoNaming + "'. Set autoNaming 'true' in sequence-descriptor or
define a " +
                         " 'sequence-name' in field-descriptor.");
             }
@@ -384,10 +378,6 @@
     public static Long getSeqStart(Properties prop)
     {
         String result = prop.getProperty(PROP_SEQ_START, null);
-        if(result == null)
-        {
-            result = prop.getProperty(PROP_SEQ_START_OLD, null);
-}
         if(result != null)
         {
             return new Long(Long.parseLong(result));



---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message