Skip to content

Commit eeb9ed4

Browse files
authored
Merge pull request #980 from luiox/fix/979
add the missing keyword, remove the duplicate keyword additions
2 parents e820a51 + 657e0c8 commit eeb9ed4

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

recaf-core/src/main/java/software/coley/recaf/util/Keywords.java

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,25 +27,21 @@ public static Set<String> getKeywords() {
2727
// Commented out items are 'keywords' but can be used as names.
2828
keywords.addAll(Arrays.asList("abstract",
2929
"assert",
30-
"boolean",
3130
"break",
3231
// "bridge",
33-
"byte",
3432
"case",
3533
"catch",
36-
"char",
3734
"class",
3835
"const",
3936
"continue",
4037
"default",
4138
"do",
42-
"double",
4339
"else",
4440
"enum",
4541
"extends",
4642
"final",
4743
"finally",
48-
"float",
44+
"while",
4945
"for",
5046
"goto",
5147
"if",
@@ -69,6 +65,8 @@ public static Set<String> getKeywords() {
6965
"synchronized",
7066
// "synthetic",
7167
"transient",
68+
"try",
69+
"throw",
7270
"throws",
7371
// "transitive",
7472
// "var",

0 commit comments

Comments
 (0)