This is an automated email from the ASF dual-hosted git repository.
jlahoda pushed a commit to branch jdk18_3
in repository https://gitbox.apache.org/repos/asf/incubator-netbeans.git
The following commit(s) were added to refs/heads/jdk18_3 by this push:
new 102046d var keyword shows w/o syntax highligting
102046d is described below
commit 102046d6a0f1cdb45a935a151ec531f9937e0b04
Author: Reema Taneja <[email protected]>
AuthorDate: Fri Mar 9 16:09:50 2018 +0530
var keyword shows w/o syntax highligting
---
java.lexer/src/org/netbeans/lib/java/lexer/JavaLexer.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/java.lexer/src/org/netbeans/lib/java/lexer/JavaLexer.java
b/java.lexer/src/org/netbeans/lib/java/lexer/JavaLexer.java
index e039259..0739cde 100644
--- a/java.lexer/src/org/netbeans/lib/java/lexer/JavaLexer.java
+++ b/java.lexer/src/org/netbeans/lib/java/lexer/JavaLexer.java
@@ -69,7 +69,7 @@ public class JavaLexer implements Lexer<JavaTokenId> {
}
Integer ver = (Integer)info.getAttributeValue("version"); //NOI18N
- this.version = (ver != null) ? ver.intValue() : 9; // TODO: Java 1.8
used by default
+ this.version = (ver != null) ? ver.intValue() : 10; // TODO: Java 1.8
used by default
}
public Object state() {
--
To stop receiving notification emails like this one, please contact
[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