db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@apache.org
Subject cvs commit: db-ojb/src/java/org/apache/ojb/broker/util/sequence SequenceManagerMySQLImpl.java
Date Wed, 20 Aug 2003 19:36:36 GMT
brj         2003/08/20 12:36:36

  Modified:    src/java/org/apache/ojb/broker/util/sequence
                        SequenceManagerMySQLImpl.java
  Log:
  removed unnecessary cast
  
  Revision  Changes    Path
  1.12      +5 -5      db-ojb/src/java/org/apache/ojb/broker/util/sequence/SequenceManagerMySQLImpl.java
  
  Index: SequenceManagerMySQLImpl.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/util/sequence/SequenceManagerMySQLImpl.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- SequenceManagerMySQLImpl.java	1 Apr 2003 14:09:39 -0000	1.11
  +++ SequenceManagerMySQLImpl.java	20 Aug 2003 19:36:36 -0000	1.12
  @@ -161,7 +161,7 @@
        */
       protected long getUniqueLong(FieldDescriptor field) throws SequenceManagerException
       {
  -        return (long) getUniqueId(field);
  +        return getUniqueId(field);
       }
   
       /**
  @@ -284,7 +284,7 @@
       		}
       		case Types.BINARY:
       		{
  -    			result = (byte[]) getUniqueString(field).getBytes();
  +    			result = getUniqueString(field).getBytes();
       			break;
       		}
       		case Types.CHAR:
  @@ -324,7 +324,7 @@
       		}
       		case Types.LONGVARBINARY:
       		{
  -    			result = (byte[]) getUniqueString(field).getBytes();
  +    			result = getUniqueString(field).getBytes();
       			break;
       		}
       		case Types.LONGVARCHAR:
  @@ -364,7 +364,7 @@
       		}
       		case Types.VARBINARY:
       		{
  -    			result = (byte[]) getUniqueString(field).getBytes();
  +    			result = getUniqueString(field).getBytes();
       			break;
       		}
       		case Types.VARCHAR:
  
  
  

---------------------------------------------------------------------
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