mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
StreamToLoopInspection: LOG.error instead of exception rethrowing (IDEA-CR-16701)
This commit is contained in:
+1
-1
@@ -275,7 +275,7 @@ public class StreamToLoopInspection extends BaseJavaBatchLocalInspectionTool {
|
||||
// Just in case if something went wrong: at least try to restore the original stream code
|
||||
temporaryStreamPlaceholder.replace(factory.createExpressionFromText(text, temporaryStreamPlaceholder));
|
||||
}
|
||||
throw new RuntimeException("Error converting Stream to loop: "+text, ex);
|
||||
LOG.error("Error converting Stream to loop: "+text, ex);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user