aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2016-02-01 23:05:15 +0100
committerRoel Spilker <r.spilker@gmail.com>2016-02-01 23:05:15 +0100
commit07b8af4cc5c844c9e085e2c4662df1d08221e710 (patch)
tree079743f7ac1ce83019ca8f6ca3dc6b77a6861002 /src
parentdce98cc978d10eb0d54215cee9188bfe213980ca (diff)
parentfb1cd28bdd3e462b6d51ce76efa4a57ef775d1ab (diff)
downloadlombok-07b8af4cc5c844c9e085e2c4662df1d08221e710.tar.gz
lombok-07b8af4cc5c844c9e085e2c4662df1d08221e710.tar.bz2
lombok-07b8af4cc5c844c9e085e2c4662df1d08221e710.zip
Merge pull request #1008 from nallar/master
Update comments with 'public boolean canEqual' to 'protected boolean canEqual'
Diffstat (limited to 'src')
-rw-r--r--src/core/lombok/eclipse/handlers/HandleEqualsAndHashCode.java2
-rw-r--r--src/core/lombok/javac/handlers/HandleEqualsAndHashCode.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/lombok/eclipse/handlers/HandleEqualsAndHashCode.java b/src/core/lombok/eclipse/handlers/HandleEqualsAndHashCode.java
index 53785845..a56eee89 100644
--- a/src/core/lombok/eclipse/handlers/HandleEqualsAndHashCode.java
+++ b/src/core/lombok/eclipse/handlers/HandleEqualsAndHashCode.java
@@ -740,7 +740,7 @@ public class HandleEqualsAndHashCode extends EclipseAnnotationHandler<EqualsAndH
public MethodDeclaration createCanEqual(EclipseNode type, ASTNode source, List<Annotation> onParam) {
- /* public boolean canEqual(final java.lang.Object other) {
+ /* protected boolean canEqual(final java.lang.Object other) {
* return other instanceof Outer.Inner.MyType;
* }
*/
diff --git a/src/core/lombok/javac/handlers/HandleEqualsAndHashCode.java b/src/core/lombok/javac/handlers/HandleEqualsAndHashCode.java
index f41fbd2f..2265bf36 100644
--- a/src/core/lombok/javac/handlers/HandleEqualsAndHashCode.java
+++ b/src/core/lombok/javac/handlers/HandleEqualsAndHashCode.java
@@ -517,7 +517,7 @@ public class HandleEqualsAndHashCode extends JavacAnnotationHandler<EqualsAndHas
}
public JCMethodDecl createCanEqual(JavacNode typeNode, JCTree source, List<JCAnnotation> onParam) {
- /* public boolean canEqual(final java.lang.Object other) {
+ /* protected boolean canEqual(final java.lang.Object other) {
* return other instanceof Outer.Inner.MyType;
* }
*/