Skip to content

Commit 1b2e314

Browse files
committed
PDEX: change severity of status messages
1 parent 1811df1 commit 1b2e314

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

java/src/processing/mode/java/pdex/PDEX.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,15 +274,15 @@ void findUsageAndUpdateTree(PreprocessedSketch ps, int tabIndex,
274274
// Find the node
275275
SimpleName name = ASTUtils.getSimpleNameAt(ps.compilationUnit, startJavaOffset, stopJavaOffset);
276276
if (name == null) {
277-
editor.statusMessage("Cannot find any name under cursor", EditorStatus.ERROR);
277+
editor.statusMessage("Cannot find any name under cursor", EditorStatus.NOTICE);
278278
return;
279279
}
280280

281281
// Find binding
282282
IBinding binding = ASTUtils.resolveBinding(name);
283283
if (binding == null) {
284284
editor.statusMessage("Cannot find usages, try to fix errors in your code first",
285-
EditorStatus.ERROR);
285+
EditorStatus.NOTICE);
286286
return;
287287
}
288288

0 commit comments

Comments
 (0)