FELIX-1010 : Remove quotes from annotation value if it is a string.

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@767442 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/scrplugin/src/main/java/org/apache/felix/scrplugin/tags/annotation/defaulttag/Util.java b/scrplugin/src/main/java/org/apache/felix/scrplugin/tags/annotation/defaulttag/Util.java
index 4478fe6..87dbffd 100644
--- a/scrplugin/src/main/java/org/apache/felix/scrplugin/tags/annotation/defaulttag/Util.java
+++ b/scrplugin/src/main/java/org/apache/felix/scrplugin/tags/annotation/defaulttag/Util.java
@@ -77,7 +77,11 @@
         final Object obj = annotation.getNamedParameter(name);
         if ( obj != null ) {
             if ( obj instanceof String ) {
-                return (String)obj;
+                final String s = (String)obj;
+                if ( s.startsWith("\"") && s.endsWith("\"")) {
+                    return s.substring(1, s.length() - 1);
+                }
+                return s;
             }
             return obj.toString();
         }