mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 16:15:16 +00:00
Merge pull request #1008 from nallar/master
Update comments with 'public boolean canEqual' to 'protected boolean canEqual'
This commit is contained in:
commit
07b8af4cc5
2 files changed
+2
-2
No files matched your search
@@ -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;
|
||||
* }
|
||||
*/
|
||||
|
||||
@@ -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;
|
||||
* }
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user