From 425ab2eabb685d755aa8c0c974390e5f1e08eb09 Mon Sep 17 00:00:00 2001 From: Dmitry Batkovich Date: Wed, 8 Jun 2016 09:38:58 +0300 Subject: [PATCH] inspections: yet another bunch of fixed descriptions --- .../intentionDescriptions/AddReturnTypeFix/description.html | 2 +- .../CreateParameterForFieldIntention/description.html | 2 +- .../GrBreakStringOnLineBreaksIntention/description.html | 2 +- .../description.html | 2 +- .../RemoveUnnecessarySemicolonsIntention/description.html | 2 +- .../inspectionDescriptions/PyCallByClassInspection.html | 5 +---- .../inspectionDescriptions/PyDecoratorInspection.html | 2 -- .../inspectionDescriptions/PyDeprecationInspection.html | 6 ++---- 8 files changed, 8 insertions(+), 15 deletions(-) diff --git a/plugins/groovy/groovy-psi/resources/intentionDescriptions/AddReturnTypeFix/description.html b/plugins/groovy/groovy-psi/resources/intentionDescriptions/AddReturnTypeFix/description.html index ad4637efaca9..e31c46741bb4 100644 --- a/plugins/groovy/groovy-psi/resources/intentionDescriptions/AddReturnTypeFix/description.html +++ b/plugins/groovy/groovy-psi/resources/intentionDescriptions/AddReturnTypeFix/description.html @@ -1,5 +1,5 @@ -Adds explicit return type to method declaration. +Adds explicit return type to method declaration. \ No newline at end of file diff --git a/plugins/groovy/groovy-psi/resources/intentionDescriptions/CreateParameterForFieldIntention/description.html b/plugins/groovy/groovy-psi/resources/intentionDescriptions/CreateParameterForFieldIntention/description.html index 4d855e8801ab..2b81d3d42977 100644 --- a/plugins/groovy/groovy-psi/resources/intentionDescriptions/CreateParameterForFieldIntention/description.html +++ b/plugins/groovy/groovy-psi/resources/intentionDescriptions/CreateParameterForFieldIntention/description.html @@ -1,5 +1,5 @@ -This intention adds parameter to constructor for uninitialized field +This intention adds parameter to constructor for uninitialized field \ No newline at end of file diff --git a/plugins/groovy/groovy-psi/resources/intentionDescriptions/GrBreakStringOnLineBreaksIntention/description.html b/plugins/groovy/groovy-psi/resources/intentionDescriptions/GrBreakStringOnLineBreaksIntention/description.html index 1b84c119c902..53cf208455f8 100644 --- a/plugins/groovy/groovy-psi/resources/intentionDescriptions/GrBreakStringOnLineBreaksIntention/description.html +++ b/plugins/groovy/groovy-psi/resources/intentionDescriptions/GrBreakStringOnLineBreaksIntention/description.html @@ -1,5 +1,5 @@ -This intention allows to break line on '\n' and '\n\r' line break symbols. +This intention allows to break line on '\n' and '\n\r' line break symbols. \ No newline at end of file diff --git a/plugins/groovy/groovy-psi/resources/intentionDescriptions/RemoveUnnecessaryEscapeCharactersIntention/description.html b/plugins/groovy/groovy-psi/resources/intentionDescriptions/RemoveUnnecessaryEscapeCharactersIntention/description.html index 6bfffe235dd2..d8d4d9e14e69 100644 --- a/plugins/groovy/groovy-psi/resources/intentionDescriptions/RemoveUnnecessaryEscapeCharactersIntention/description.html +++ b/plugins/groovy/groovy-psi/resources/intentionDescriptions/RemoveUnnecessaryEscapeCharactersIntention/description.html @@ -1,5 +1,5 @@ -This intention removes unnecessary escape characters from a selected string. +This intention removes unnecessary escape characters from a selected string. \ No newline at end of file diff --git a/plugins/groovy/groovy-psi/resources/intentionDescriptions/RemoveUnnecessarySemicolonsIntention/description.html b/plugins/groovy/groovy-psi/resources/intentionDescriptions/RemoveUnnecessarySemicolonsIntention/description.html index b347e0197809..c88aa9d815cc 100644 --- a/plugins/groovy/groovy-psi/resources/intentionDescriptions/RemoveUnnecessarySemicolonsIntention/description.html +++ b/plugins/groovy/groovy-psi/resources/intentionDescriptions/RemoveUnnecessarySemicolonsIntention/description.html @@ -1,5 +1,5 @@ -Removes unnecessary semicolons from selected text or a semicolon under caret if it is unnecessary. +Removes unnecessary semicolons from selected text or a semicolon under caret if it is unnecessary. \ No newline at end of file diff --git a/python/resources/inspectionDescriptions/PyCallByClassInspection.html b/python/resources/inspectionDescriptions/PyCallByClassInspection.html index 7bc9775f3135..b26d096f33f9 100644 --- a/python/resources/inspectionDescriptions/PyCallByClassInspection.html +++ b/python/resources/inspectionDescriptions/PyCallByClassInspection.html @@ -1,15 +1,12 @@ -

This inspection checks for calls of a method by class while passing an instance of a different class -as self parameter:

+as self parameter:
   foo = Foo()
   Bar.baz(foo, *more)
 
-

Sometimes this may be intentional and correct. But when unintentional, this leads to subtle bugs. -

diff --git a/python/resources/inspectionDescriptions/PyDecoratorInspection.html b/python/resources/inspectionDescriptions/PyDecoratorInspection.html index 1265e99e5579..aad39e67bbce 100644 --- a/python/resources/inspectionDescriptions/PyDecoratorInspection.html +++ b/python/resources/inspectionDescriptions/PyDecoratorInspection.html @@ -1,7 +1,5 @@ -

This inspection reports usages of @classmethod or @staticmethod decorators on functions outside of a class. -

diff --git a/python/resources/inspectionDescriptions/PyDeprecationInspection.html b/python/resources/inspectionDescriptions/PyDeprecationInspection.html index 46c89d8ed8d1..0eba1c6040c6 100644 --- a/python/resources/inspectionDescriptions/PyDeprecationInspection.html +++ b/python/resources/inspectionDescriptions/PyDeprecationInspection.html @@ -1,8 +1,6 @@ - - This inspection highlights usages of Python functions, classes or methods which are marked as deprecated (which raise a - DeprecationWarning or a PendingDeprecationWarning). - +This inspection highlights usages of Python functions, classes or methods which are marked as deprecated (which raise a +DeprecationWarning or a PendingDeprecationWarning). \ No newline at end of file