Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 247701
Collapse All | Expand All

(-)workbench/org/eclipse/jem/internal/adapters/jdom/JavaFieldJDOMAdaptor.java (-1 / +1 lines)
Lines 126-132 Link Here
126
					int endPos = source.indexOf(',');//$NON-NLS-1$
126
					int endPos = source.indexOf(',');//$NON-NLS-1$
127
					if (endPos == -1)
127
					if (endPos == -1)
128
						endPos = source.length() - 1;
128
						endPos = source.length() - 1;
129
					if (equalsPos != -1) {
129
					if (equalsPos != -1 && equalsPos < endPos) {
130
						// Copy from after "=" to before ";" or ","
130
						// Copy from after "=" to before ";" or ","
131
						result = source.substring(equalsPos + 1, endPos);
131
						result = source.substring(equalsPos + 1, endPos);
132
						result = result.trim();
132
						result = result.trim();

Return to bug 247701