diff options
author | Tor Norbye <tnorbye@google.com> | 2014-09-18 11:43:07 -0700 |
---|---|---|
committer | Tor Norbye <tnorbye@google.com> | 2014-09-18 11:43:28 -0700 |
commit | e782c57d74000722f9db4c9426317410520670c6 (patch) | |
tree | 6e5d3e8934107ffabb7661f8bfc0e1a08eb37faf /plugins/InspectionGadgets/src/inspectionDescriptions/AmbiguousMethodCall.html | |
parent | c3d3a90f6b4ead083d63e28e6b9fcea93d675678 (diff) | |
download | idea-e782c57d74000722f9db4c9426317410520670c6.tar.gz |
Snapshot idea/138.2210 from git://git.jetbrains.org/idea/community.git
Change-Id: I8f0204d7887ee78cf1fd8c09f936c5afff0edd2f
Diffstat (limited to 'plugins/InspectionGadgets/src/inspectionDescriptions/AmbiguousMethodCall.html')
-rw-r--r-- | plugins/InspectionGadgets/src/inspectionDescriptions/AmbiguousMethodCall.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/AmbiguousMethodCall.html b/plugins/InspectionGadgets/src/inspectionDescriptions/AmbiguousMethodCall.html index 47bb71c5aee4..e1384463c5e1 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/AmbiguousMethodCall.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/AmbiguousMethodCall.html @@ -1,10 +1,10 @@ <html> <body> -Reports any method calls to super methods where a method -with the same name is available in the surrounding class. In this case a cursory -reader of the code may think that a method in the surrounding class is -called, when in fact a method from the super class is called. To make the -intent of the code more clear it is recommended to add a +Reports ambiguous method calls to a super method from an inner or anonymous class, where a method +with identical name is available in the surrounding class. In this situation a cursory +examination of the code may suggest a method in the surrounding class is +called, when in actual fact a method from the super class is called. To clarify the +intent of the code it is recommended to add a <b>super</b> qualifier to the method call. <!-- tooltip end --> <p> |