arusinha commented on a change in pull request #1890:
URL: https://github.com/apache/netbeans/pull/1890#discussion_r416510631
##########
File path:
java/java.source.base/src/org/netbeans/modules/java/source/parsing/JavacParser.java
##########
@@ -419,15 +425,15 @@ private void parseImpl(
init (snapshot, task, false);
DiagnosticListener<JavaFileObject> diagnosticListener;
JavacTaskImpl javacTask;
- if (sequentialParsing == null && ciImpl == null) {
+ if (sequentialParsing == null && ciImpl == null &&
this.snapshotSize <= (5<<20)) {
Review comment:
please declare it as constant like THRESHOLD_SIZE or similar ot that
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists