openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gerdo...@apache.org
Subject svn commit: r908358 - /openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/AnnotationUtil.java
Date Wed, 10 Feb 2010 05:40:43 GMT
Author: gerdogdu
Date: Wed Feb 10 05:40:43 2010
New Revision: 908358

URL: http://svn.apache.org/viewvc?rev=908358&view=rev
Log:
Update small check.

Modified:
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/AnnotationUtil.java

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/AnnotationUtil.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/AnnotationUtil.java?rev=908358&r1=908357&r2=908358&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/AnnotationUtil.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/util/AnnotationUtil.java
Wed Feb 10 05:40:43 2010
@@ -629,7 +629,15 @@
                     srcBuf.append("=");
 
                     if (tok2.hasMoreElements())
-                        srcBuf.append(tok2.nextToken());
+                    {
+                        String str = tok2.nextToken();
+                        if(str.charAt(0) == '"' && str.charAt(str.length() -1) ==
'"')
+                        {
+                            str = str.substring(1,str.length()-1);
+                        }
+                        
+                        srcBuf.append(str);   
+                    }
                 }
             }
 



Mime
View raw message