Skip to content

Commit

Permalink
fix issue spotbugs#1523
Browse files Browse the repository at this point in the history
  • Loading branch information
gloNelson committed Apr 22, 2021
1 parent 0a34d96 commit f02e428
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Currently the versioning policy of this project follows [Semantic Versioning v2.
- Should issue warning for SecureRandom object created and used only once ([#1464](https://github.com/spotbugs/spotbugs/issues/1464))
- False positive OBL_UNSATIFIED_OBLIGATION with try with resources ([#79](https://github.com/spotbugs/spotbugs/issues/79))
- `SA_LOCAL_SELF_COMPUTATION` bug ([#1472](https://github.com/spotbugs/spotbugs/issues/1472))
- Inconsistent bug description on `EQ_COMPARING_CLASS_NAMES` ([#1523](https://github.com/spotbugs/spotbugs/issues/1523))

## 4.2.2 - 2021-03-03

Expand Down
23 changes: 19 additions & 4 deletions docs/locale/ja/LC_MESSAGES/bugDescriptions.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2021-03-23 17:21+0000\n"
"POT-Creation-Date: 2021-04-22 08:54+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.8.0\n"
"Generated-By: Babel 2.9.0\n"

#: ../../bugDescriptions.rst:2
msgid "Bug descriptions"
Expand Down Expand Up @@ -2374,8 +2374,8 @@ msgstr ""

#: ../../generated/bugDescriptionList.inc:2103
msgid ""
" <p> This method checks to see if two objects are the same class by "
"checking to see if the names\n"
" <p> This class defines an equals method that checks to see if two "
"objects are the same class by checking to see if the names\n"
"of their classes are equal. You can have different classes with the same "
"name if they are loaded by\n"
"different class loaders. Just check to see if the class objects are the "
Expand Down Expand Up @@ -12543,3 +12543,18 @@ msgstr ""
#~ "</p>"
#~ msgstr ""

#~ msgid ""
#~ " <p> This method checks to see"
#~ " if two objects are the same "
#~ "class by checking to see if the"
#~ " names\n"
#~ "of their classes are equal. You "
#~ "can have different classes with the "
#~ "same name if they are loaded by"
#~ "\n"
#~ "different class loaders. Just check to"
#~ " see if the class objects are "
#~ "the same.\n"
#~ "</p>"
#~ msgstr ""

2 changes: 1 addition & 1 deletion spotbugs/etc/messages.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3073,7 +3073,7 @@ this code, but it is worth reviewing.
<LongDescription>{1} compares class names rather than class objects</LongDescription>
<Details>
<![CDATA[
<p> This method checks to see if two objects are the same class by checking to see if the names
<p> This class defines an equals method that checks to see if two objects are the same class by checking to see if the names
of their classes are equal. You can have different classes with the same name if they are loaded by
different class loaders. Just check to see if the class objects are the same.
</p>
Expand Down

0 comments on commit f02e428

Please sign in to comment.