directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fel...@apache.org
Subject svn commit: r952241 - /directory/apacheds/trunk/jdbm/src/main/java/jdbm/helper/LongSerializer.java
Date Mon, 07 Jun 2010 14:21:44 GMT
Author: felixk
Date: Mon Jun  7 14:21:43 2010
New Revision: 952241

URL: http://svn.apache.org/viewvc?rev=952241&view=rev
Log:
use Long.valueOf(long) instead

Modified:
    directory/apacheds/trunk/jdbm/src/main/java/jdbm/helper/LongSerializer.java

Modified: directory/apacheds/trunk/jdbm/src/main/java/jdbm/helper/LongSerializer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/jdbm/src/main/java/jdbm/helper/LongSerializer.java?rev=952241&r1=952240&r2=952241&view=diff
==============================================================================
--- directory/apacheds/trunk/jdbm/src/main/java/jdbm/helper/LongSerializer.java (original)
+++ directory/apacheds/trunk/jdbm/src/main/java/jdbm/helper/LongSerializer.java Mon Jun  7
14:21:43 2010
@@ -94,7 +94,7 @@ public class LongSerializer 
         throws IOException
      {
          long number = Conversion.convertToLong( serialized );
-         return new Long( number );
+         return Long.valueOf( number );
      }
 
 }



Mime
View raw message