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/metadata RepositoryXmlHandler.java
Date Fri, 02 May 2003 18:19:06 GMT
brj         2003/05/02 11:19:06

  Modified:    src/java/org/apache/ojb/broker/metadata
                        RepositoryXmlHandler.java
  Log:
  minor refactoring
  to get rid of warnings
  
  Revision  Changes    Path
  1.42      +3 -3      db-ojb/src/java/org/apache/ojb/broker/metadata/RepositoryXmlHandler.java
  
  Index: RepositoryXmlHandler.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/metadata/RepositoryXmlHandler.java,v
  retrieving revision 1.41
  retrieving revision 1.42
  diff -u -r1.41 -r1.42
  --- RepositoryXmlHandler.java	2 May 2003 12:24:30 -0000	1.41
  +++ RepositoryXmlHandler.java	2 May 2003 18:19:06 -0000	1.42
  @@ -327,7 +327,7 @@
   
                           String strAccess = atts.getValue(tags.getTagById(ACCESS));
   
  -                        if (tags.TAG_ACCESS_ANONYMOUS.equalsIgnoreCase(strAccess))
  +                        if (RepositoryTags.TAG_ACCESS_ANONYMOUS.equalsIgnoreCase(strAccess))
                           {
                           	m_CurrentFLD = new AnonymousFieldDescriptor(m_CurrentCLD, m_lastId);
                           }
  @@ -344,7 +344,7 @@
                           String fieldName = atts.getValue(tags.getTagById(FIELD_NAME));
                           if (isDebug) logger.debug("     " + tags.getTagById(FIELD_NAME)
+ ": " + fieldName);
   
  -                        if (tags.TAG_ACCESS_ANONYMOUS.equalsIgnoreCase(strAccess))
  +                        if (RepositoryTags.TAG_ACCESS_ANONYMOUS.equalsIgnoreCase(strAccess))
                           {
                           	m_CurrentFLD.setPersistentField(null, fieldName);
                           }
  
  
  

Mime
View raw message