diff options
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> |