[146390] String Index Out Of Bounds exception in JSP-CSS parsing -- fixed comment
diff --git a/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/css/core/internal/document/JSPedCSSModelParser.java b/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/css/core/internal/document/JSPedCSSModelParser.java index d14f196..0aa723f 100644 --- a/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/css/core/internal/document/JSPedCSSModelParser.java +++ b/bundles/org.eclipse.jst.jsp.core/src/org/eclipse/jst/jsp/css/core/internal/document/JSPedCSSModelParser.java
@@ -86,9 +86,10 @@ } else { /* - * ISSUE: this handles casese where, e.g. "file://" has so - * subsequent 'value' ... but should it return null or empty - * string? + * ISSUE: this handles cases where, e.g. "file=" has no + * subsequent 'value' ... and from code in insertStructuredDocumentRegion + * I believe should return null, rather than empty string, but, this may + * need some fine tuning eventually. */ hrefValue = null; }