db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject cvs commit: db-ojb/src/java/org/apache/ojb/broker/metadata ConnectionRepository.java ClassDescriptor.java
Date Mon, 12 May 2003 09:18:07 GMT
arminw      2003/05/12 02:18:07

  Modified:    src/java/org/apache/ojb/broker/util/sequence
                        SequenceManagerNativeImpl.java
                        SequenceManagerHelper.java
               src/java/org/apache/ojb/broker/metadata
                        ConnectionRepository.java ClassDescriptor.java
  Log:
  replace 'found' with 'find' in log
  statements (thanks Oliver)
  
  Revision  Changes    Path
  1.2       +2 -2      db-ojb/src/java/org/apache/ojb/broker/util/sequence/SequenceManagerNativeImpl.java
  
  Index: SequenceManagerNativeImpl.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/util/sequence/SequenceManagerNativeImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SequenceManagerNativeImpl.java	9 May 2003 23:58:18 -0000	1.1
  +++ SequenceManagerNativeImpl.java	12 May 2003 09:18:06 -0000	1.2
  @@ -203,7 +203,7 @@
                   ResultSet rs = stmt.executeQuery(lastInsertSelect(cld.getFullTableName()));
                   if (!rs.next())
                   {
  -                    throw new SequenceManagerException("Could not found native identifier");
  +                    throw new SequenceManagerException("Could not find native identifier");
                   }
                   newId = rs.getLong(1);
                   rs.close();
  
  
  
  1.12      +2 -2      db-ojb/src/java/org/apache/ojb/broker/util/sequence/SequenceManagerHelper.java
  
  Index: SequenceManagerHelper.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/util/sequence/SequenceManagerHelper.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- SequenceManagerHelper.java	7 May 2003 20:21:53 -0000	1.11
  +++ SequenceManagerHelper.java	12 May 2003 09:18:06 -0000	1.12
  @@ -67,7 +67,7 @@
               we don't found a sequence name and we should not automatic build one,
               thus we throw an exception
               */
  -            throw new SequenceManagerException("Could not found sequence-name for "+
  +            throw new SequenceManagerException("Could not find sequence-name for "+
                               field+" property 'autoNaming' in sequence-manager element in
repository was "+autoNaming);
           }
   
  
  
  
  1.9       +2 -2      db-ojb/src/java/org/apache/ojb/broker/metadata/ConnectionRepository.java
  
  Index: ConnectionRepository.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/metadata/ConnectionRepository.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- ConnectionRepository.java	11 Feb 2003 19:34:45 -0000	1.8
  +++ ConnectionRepository.java	12 May 2003 09:18:06 -0000	1.9
  @@ -53,7 +53,7 @@
               }
               else
               {
  -                log.info("Could not found " + JdbcConnectionDescriptor.class.getName()
+ " for PBKey " + pbKey);
  +                log.info("Could not find " + JdbcConnectionDescriptor.class.getName() +
" for PBKey " + pbKey);
               }
           }
           return result;
  
  
  
  1.60      +5 -5      db-ojb/src/java/org/apache/ojb/broker/metadata/ClassDescriptor.java
  
  Index: ClassDescriptor.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/metadata/ClassDescriptor.java,v
  retrieving revision 1.59
  retrieving revision 1.60
  diff -u -r1.59 -r1.60
  --- ClassDescriptor.java	4 May 2003 11:06:04 -0000	1.59
  +++ ClassDescriptor.java	12 May 2003 09:18:06 -0000	1.60
  @@ -236,7 +236,7 @@
   	private Map m_fieldDescriptorNameMap = new HashMap();
   	private Map m_collectionDescriptorNameMap = new HashMap();
   	private Map m_objectReferenceDescriptorsNameMap = new HashMap();
  -	
  +
   	/**
   	 * if true instances of this class are always refreshed
   	 * even if they are already in the cache.
  @@ -619,7 +619,7 @@
           {
               return null;
           }
  -        
  +
   		FieldDescriptor retval = (FieldDescriptor) m_fieldDescriptorNameMap.get(name);
   		if (retval == null)
   		{
  @@ -691,7 +691,7 @@
   		ClassDescriptor cldSuper = getRepository().getDescriptorFor(superClass);
   		return appendFieldDescriptorArrays(getFieldDescriptions(), cldSuper.getFieldDescriptorsInHeirarchy());
   	}
  -    
  +
   	private FieldDescriptor[] appendFieldDescriptorArrays(
   		FieldDescriptor[] fieldDescriptions,
   		FieldDescriptor[] fieldDescriptorsInHeirarchy)
  @@ -738,7 +738,7 @@
   		if (m_autoIncrementField == null)
   		{
   			LoggerFactory.getDefaultLogger().warn(
  -				this.getClass().getName() + ": " + "Could not found autoincrement attribute for class:
" + this.getClassNameOfObject());
  +				this.getClass().getName() + ": " + "Could not find autoincrement attribute for class:
" + this.getClassNameOfObject());
   		}
   		return m_autoIncrementField;
   	}
  
  
  

Mime
View raw message