directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1627463 - /directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/serializer/AbstractElementSerializer.java
Date Thu, 25 Sep 2014 06:14:06 GMT
Author: elecharny
Date: Thu Sep 25 06:14:06 2014
New Revision: 1627463

URL: http://svn.apache.org/r1627463
Log:
Renamed a variable for clarity

Modified:
    directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/serializer/AbstractElementSerializer.java

Modified: directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/serializer/AbstractElementSerializer.java
URL: http://svn.apache.org/viewvc/directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/serializer/AbstractElementSerializer.java?rev=1627463&r1=1627462&r2=1627463&view=diff
==============================================================================
--- directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/serializer/AbstractElementSerializer.java
(original)
+++ directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/serializer/AbstractElementSerializer.java
Thu Sep 25 06:14:06 2014
@@ -50,9 +50,9 @@ public abstract class AbstractElementSer
     {
         this.comparator = comparator;
 
-        // We will extract the Type to use for values, using the serializer for that
-        Class<?> valueSerializerClass = comparator.getClass();
-        Type[] types = valueSerializerClass.getGenericInterfaces();
+        // We will extract the Type to use for values, using the comparator for that
+        Class<?> comparatorClass = comparator.getClass();
+        Type[] types = comparatorClass.getGenericInterfaces();
 
         if ( types[0] instanceof Class )
         {



Mime
View raw message