Bug 578242 - [18] DOM AST support for JEP 413
Change-Id: I78633d40ed24890a536c9b94831ad695db4c7a89
Signed-off-by: Kalyan Prasad Tatavarthi <kalyan_prasad@in.ibm.com>
Reviewed-on: https://git.eclipse.org/r/c/jdt/eclipse.jdt.ui/+/190933
diff --git a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/javadoc/JavadocContentAccess2.java b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/javadoc/JavadocContentAccess2.java
index bfb8554..b3fbdf0 100644
--- a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/javadoc/JavadocContentAccess2.java
+++ b/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/javadoc/JavadocContentAccess2.java
@@ -2058,7 +2058,7 @@
if (node instanceof TagProperty) {
TagProperty tagProp = (TagProperty) node;
if ("type".equals(tagProp.getName())) { //$NON-NLS-1$
- String tagValue = stripQuotes(tagProp.getValue());
+ String tagValue = stripQuotes(tagProp.getStringValue());
switch (tagValue) {
case "bold" : //$NON-NLS-1$
defaultTag= "b"; //$NON-NLS-1$
@@ -2094,7 +2094,7 @@
if (SUBSTRING.equals(propName)
|| REGEX.equals(propName)
|| TYPE.equals(propName)) {
- String value= tagProp.getValue();
+ String value= tagProp.getStringValue();
String changed= stripQuotes(value);
if (changed.equals(value)) {
val= false;
@@ -2113,7 +2113,7 @@
if (node instanceof TagProperty) {
TagProperty tagProp = (TagProperty) node;
if (property.equals(tagProp.getName())) {
- defaultTag= stripQuotes(tagProp.getValue());
+ defaultTag= stripQuotes(tagProp.getStringValue());
break;
}
}