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/odmg/locking LockServerServlet.java
Date Fri, 27 Feb 2004 19:27:49 GMT
brj         2004/02/27 11:27:49

  Modified:    src/java/org/apache/ojb/odmg/locking LockServerServlet.java
  Log:
  fixed minor problems detected by findbugs
  
  Revision  Changes    Path
  1.3       +7 -7      db-ojb/src/java/org/apache/ojb/odmg/locking/LockServerServlet.java
  
  Index: LockServerServlet.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/odmg/locking/LockServerServlet.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- LockServerServlet.java	27 Feb 2004 18:19:17 -0000	1.2
  +++ LockServerServlet.java	27 Feb 2004 19:27:49 -0000	1.3
  @@ -160,7 +160,7 @@
                       }
                       catch (Throwable t)
                       {
  -                        result = new Boolean(false);
  +                        result = Boolean.FALSE;
                       }
               		break;
               	}
  @@ -172,7 +172,7 @@
               		}
               		catch (Throwable t)
               		{
  -            			result = new Boolean(false);    				
  +            			result = Boolean.FALSE;    				
               		}
               		break;
               	}
  @@ -184,7 +184,7 @@
               		}
               		catch (Throwable t)
               		{
  -            			result = new Boolean(false);    				
  +            			result = Boolean.FALSE;    				
               		}
               		break;
               	}
  @@ -196,7 +196,7 @@
               		}
               		catch (Throwable t)
               		{
  -            			result = new Boolean(false);    				
  +            			result = Boolean.FALSE;    				
               		}
               	}
               	case 's' :
  @@ -207,7 +207,7 @@
               		}
               		catch (Throwable t)
               		{
  -            			result = new Boolean(false);    				
  +            			result = Boolean.FALSE;    				
               		}
               		break;
               	}
  @@ -219,7 +219,7 @@
               		}
               		catch (Throwable t)
               		{
  -            			result = new Boolean(false);    				
  +            			result = Boolean.FALSE;     				
               		}
               		break;
               	}
  @@ -264,7 +264,7 @@
   
   	private Boolean addReader(byte[] data) throws IOException, ClassNotFoundException
   	{
  -		Boolean result = new Boolean(true);
  +		Boolean result = Boolean.TRUE;
   		LockEntry lock = (LockEntry) deserialize(data); 		
           try
           {
  
  
  

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