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/fieldaccess PersistentFieldPrivilegedImpl.java
Date Wed, 20 Aug 2003 19:40:52 GMT
brj         2003/08/20 12:40:52

  Modified:    src/java/org/apache/ojb/broker/metadata/fieldaccess
                        PersistentFieldPrivilegedImpl.java
  Log:
  some style fixes
  
  Revision  Changes    Path
  1.6       +5 -5      db-ojb/src/java/org/apache/ojb/broker/metadata/fieldaccess/PersistentFieldPrivilegedImpl.java
  
  Index: PersistentFieldPrivilegedImpl.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/metadata/fieldaccess/PersistentFieldPrivilegedImpl.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- PersistentFieldPrivilegedImpl.java	28 Jul 2003 08:06:10 -0000	1.5
  +++ PersistentFieldPrivilegedImpl.java	20 Aug 2003 19:40:52 -0000	1.6
  @@ -96,8 +96,8 @@
       public synchronized void doSet(Object obj, Object value) throws MetadataException
       {
           int accessibleState = ACCESSIBLE_STATE_UNKOWN;
  -        Field field = getField();
  -        if (!field.isAccessible()) accessibleState = ACCESSIBLE_STATE_FALSE;
  +        Field fld = getField();
  +        if (!fld.isAccessible()) accessibleState = ACCESSIBLE_STATE_FALSE;
           if (accessibleState == ACCESSIBLE_STATE_FALSE)
           {
               accessibleState = ACCESSIBLE_STATE_SET_TRUE;
  @@ -122,9 +122,9 @@
       public synchronized Object doGet(Object obj) throws MetadataException
       {
           int accessibleState = ACCESSIBLE_STATE_UNKOWN;
  -        Field field = getField();
  +        Field fld = getField();
           Object result = null;
  -        if (!field.isAccessible()) accessibleState = ACCESSIBLE_STATE_FALSE;
  +        if (!fld.isAccessible()) accessibleState = ACCESSIBLE_STATE_FALSE;
           if (accessibleState == ACCESSIBLE_STATE_FALSE)
           {
               accessibleState = ACCESSIBLE_STATE_SET_TRUE;
  
  
  

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