Skip to content

Commit

Permalink
fix: remove redundant pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
farhan443 committed Oct 13, 2021
1 parent d8b78cb commit 549ae9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/languages/java.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const Java: LanguagePattern[] = [
// List/ArrayList
{ pattern: /(List<\w+>|ArrayList<\w*>\s*\(.*\))(\s+[\w]+|;)/, type: 'keyword.variable' },
// class keyword
{ pattern: /(public\s*)?class\s*(.*)+(\s)?\{/, type: 'keyword' },
{ pattern: /(public\s*)?class.*?\{/, type: 'keyword' },
// Array declaration.
{ pattern: /(\w+)(\[\s*\])+\s+\w+/, type: 'constant.array' },
// final keyword
Expand Down

0 comments on commit 549ae9d

Please sign in to comment.