Renamed a variable for clarity
authorEmmanuel Lécharny <elecharny@apache.org>
Thu, 25 Sep 2014 06:14:06 +0000 (06:14 +0000)
committerEmmanuel Lécharny <elecharny@apache.org>
Thu, 25 Sep 2014 06:14:06 +0000 (06:14 +0000)
mavibot/src/main/java/org/apache/directory/mavibot/btree/serializer/AbstractElementSerializer.java

index 894f077..a7b2090 100644 (file)
@@ -50,9 +50,9 @@ public abstract class AbstractElementSerializer<T> implements ElementSerializer<
     {
         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 )
         {