Title: [1457] trunk/qdox/src/main/java/com/thoughtworks/qdox/model/impl/DefaultJavaTypeVariable.java: codeformatting, code cleanup, javadoc
Revision
1457
Author
rfscholte
Date
2011-12-28 06:07:00 -0600 (Wed, 28 Dec 2011)

Log Message

codeformatting, code cleanup, javadoc

Modified Paths


Diff

Modified: trunk/qdox/src/main/java/com/thoughtworks/qdox/model/impl/DefaultJavaTypeVariable.java (1456 => 1457)


--- trunk/qdox/src/main/java/com/thoughtworks/qdox/model/impl/DefaultJavaTypeVariable.java	2011-12-28 11:39:46 UTC (rev 1456)
+++ trunk/qdox/src/main/java/com/thoughtworks/qdox/model/impl/DefaultJavaTypeVariable.java	2011-12-28 12:07:00 UTC (rev 1457)
@@ -30,6 +30,8 @@
 import com.thoughtworks.qdox.model.JavaTypeVariable;
 
 /**
+ * Equivalent of {@link java.lang.reflect.TypeVariable}
+ * 
  * @author Robert Scholte
  * @since 1.10
  */
@@ -64,7 +66,7 @@
         }
         else
         {
-            throw new IllegalArgumentException( "Unknown GenericDeclatation implementation" );
+            throw new IllegalArgumentException( "Unknown JavaGenericDeclaration implementation" );
         }
         return result;
     }
@@ -93,7 +95,7 @@
     @Override
     public String getFullyQualifiedName()
     {
-        return super.getValue();
+        return getValue();
     }
 
     @Override
@@ -115,14 +117,10 @@
         return result.toString();
     }
 
-    public String getValue()
-    {
-        return super.getValue();
-    }
-
+    @Override
     public String getGenericValue()
     {
-        StringBuffer result = new StringBuffer( super.getValue() );
+        StringBuffer result = new StringBuffer( getValue() );
         if ( bounds != null && !bounds.isEmpty() )
         {
             result.append( " extends " );
@@ -138,9 +136,10 @@
         return result.toString();
     }
 
+    @Override
     public String getName()
     {
-        return super.getValue();
+        return getValue();
     }
 
     public String getResolvedValue()
@@ -152,4 +151,4 @@
     {
         return bounds.get( 0 ).getFullyQualifiedName();
     }
-}
+}
\ No newline at end of file

To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

Reply via email to