diff options
author | Reinier Zwitserloot <reinier@tipit.to> | 2009-08-27 22:19:29 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@tipit.to> | 2009-08-27 22:19:29 +0200 |
commit | 7c786f5af61185983940cad794fe2cb50d426005 (patch) | |
tree | d43e9ab3629cc4944f05780f82126bad11d96ff5 /src/lombok/javac/handlers/HandleEqualsAndHashCode.java | |
parent | 8aab4e60d62eaad04f5df8fb78621d53d12da2db (diff) | |
download | lombok-7c786f5af61185983940cad794fe2cb50d426005.tar.gz lombok-7c786f5af61185983940cad794fe2cb50d426005.tar.bz2 lombok-7c786f5af61185983940cad794fe2cb50d426005.zip |
Made all parameters of all generated methods 'final'.
Diffstat (limited to 'src/lombok/javac/handlers/HandleEqualsAndHashCode.java')
-rw-r--r-- | src/lombok/javac/handlers/HandleEqualsAndHashCode.java | 2 |
1 files changed, 1 insertions, 1 deletions
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<EqualsAnd JCExpression returnType = maker.TypeIdent(TypeTags.BOOLEAN); List<JCStatement> statements = List.nil(); - List<JCVariableDecl> params = List.of(maker.VarDef(maker.Modifiers(0), oName, objectType, null)); + List<JCVariableDecl> params = List.of(maker.VarDef(maker.Modifiers(Flags.FINAL), oName, objectType, null)); /* if ( o == this ) return true; */ { statements = statements.append( |