From 7c786f5af61185983940cad794fe2cb50d426005 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Thu, 27 Aug 2009 22:19:29 +0200 Subject: Made all parameters of all generated methods 'final'. --- src/lombok/javac/handlers/HandleEqualsAndHashCode.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lombok/javac/handlers/HandleEqualsAndHashCode.java') diff --git a/src/lombok/javac/handlers/HandleEqualsAndHashCode.java b/src/lombok/javac/handlers/HandleEqualsAndHashCode.java index 18202eb5..efc154f6 100644 --- a/src/lombok/javac/handlers/HandleEqualsAndHashCode.java +++ b/src/lombok/javac/handlers/HandleEqualsAndHashCode.java @@ -313,7 +313,7 @@ public class HandleEqualsAndHashCode implements JavacAnnotationHandler statements = List.nil(); - List params = List.of(maker.VarDef(maker.Modifiers(0), oName, objectType, null)); + List params = List.of(maker.VarDef(maker.Modifiers(Flags.FINAL), oName, objectType, null)); /* if ( o == this ) return true; */ { statements = statements.append( -- cgit