Skip to content

Commit 6853fed

Browse files
razetimeeregon
authored andcommitted
set fields of PatternMatchingTranslator as final
1 parent a00f4a3 commit 6853fed

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/java/org/truffleruby/parser/PatternMatchingTranslator.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@
5858

5959
public class PatternMatchingTranslator extends BaseTranslator {
6060

61-
ParseNode data;
62-
ListParseNode cases;
63-
TranslatorEnvironment environment;
64-
BodyTranslator bodyTranslator;
61+
final ParseNode data;
62+
final ListParseNode cases;
63+
final TranslatorEnvironment environment;
64+
final BodyTranslator bodyTranslator;
6565

6666
RubyNode currentValueToMatch;
6767

0 commit comments

Comments
 (0)