openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1435690 - in /openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/portable: AnnotatedFieldImpl.java AnnotatedMethodImpl.java
Date Sat, 19 Jan 2013 20:54:04 GMT
Author: struberg
Date: Sat Jan 19 20:54:04 2013
New Revision: 1435690

URL: http://svn.apache.org/viewvc?rev=1435690&view=rev
Log:
OWB-344 improve output of AnnotatedMethod and Field toString()

Modified:
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/portable/AnnotatedFieldImpl.java
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/portable/AnnotatedMethodImpl.java

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/portable/AnnotatedFieldImpl.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/portable/AnnotatedFieldImpl.java?rev=1435690&r1=1435689&r2=1435690&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/portable/AnnotatedFieldImpl.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/portable/AnnotatedFieldImpl.java
Sat Jan 19 20:54:04 2013
@@ -60,7 +60,9 @@ public class AnnotatedFieldImpl<X> exten
     public String toString()
     {
         StringBuilder builder = new StringBuilder();
-        builder.append("Annotated Field,");
+        builder.append("Annotated Field '");
+        builder.append(javaMember.getName());
+        builder.append("', ");
         builder.append(super.toString());
         
         return builder.toString();

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/portable/AnnotatedMethodImpl.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/portable/AnnotatedMethodImpl.java?rev=1435690&r1=1435689&r2=1435690&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/portable/AnnotatedMethodImpl.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/portable/AnnotatedMethodImpl.java
Sat Jan 19 20:54:04 2013
@@ -60,9 +60,11 @@ class AnnotatedMethodImpl<X> extends Abs
     public String toString()
     {
         StringBuilder builder = new StringBuilder();
-        builder.append("Annotated Method,");
+        builder.append("Annotated Method '");
+        builder.append(javaMember.getName());
+        builder.append("', ");
         builder.append(super.toString());
-        
+
         return builder.toString();
     }
     



Mime
View raw message