public class CSSCompletionAssistProcessor implements IContentAssistProcessor {
- private String lastError = "";
+ private String lastError = ""; //$NON-NLS-1$
private CSSTextEditorEnvironment environment;
public CSSCompletionAssistProcessor(CSSTextEditorEnvironment environment) {
tmpOffset = selection.getOffset() + selection.getLength();
final int offset = tmpOffset;
IDocument document = viewer.getDocument();
- String tmpPrefix = "";
+ String tmpPrefix = ""; //$NON-NLS-1$
try {
tmpPrefix = getPrefix(document, offset);
} catch (BadLocationException e) {
private static String getPrefix(IDocument doc, int offset) throws BadLocationException {
if (doc == null || offset >= doc.getLength())
- return "";
+ return ""; //$NON-NLS-1$
int length= 0;
while (--offset >= 0 && Character.isJavaIdentifierPart(doc.getChar(offset)) || doc.getChar(offset) == '.')