Skip to content

Commit

Permalink
minor: to squash
Browse files Browse the repository at this point in the history
  • Loading branch information
rnveach committed Dec 2, 2018
1 parent 72b720c commit 351cc3f
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 1 deletion.
5 changes: 4 additions & 1 deletion config/intellij-idea-inspections.xml
Expand Up @@ -2815,7 +2815,10 @@
enabled_by_default="false"/>
<inspection_tool class="JavacQuirks" enabled="true" level="ERROR" enabled_by_default="true"/>
<inspection_tool class="JavadocReference" enabled="true" level="WARNING"
enabled_by_default="true"/>
enabled_by_default="true">
<!-- is still provides valuable information to programmer -->
<option name="REPORT_INACCESSIBLE" value="false" />
</inspection_tool>
<inspection_tool class="JavaeeApplicationDomInspection" enabled="true" level="WARNING"
enabled_by_default="true"/>
<inspection_tool class="JdkProxiedBeanTypeInspection" enabled="false" level="WARNING"
Expand Down
Expand Up @@ -283,6 +283,10 @@ public LocalizedMessage(
sourceClass, customMessage);
}

/**
* Indicates whether some other object is "equal to" this one.
* @noinspection EqualsCalledOnEnumConstant
*/
// -@cs[CyclomaticComplexity] equals - a lot of fields to check.
@Override
public boolean equals(Object object) {
Expand Down
Expand Up @@ -290,6 +290,10 @@ protected Suppression(
}
}

/**
* Indicates whether some other object is "equal to" this one.
* @noinspection EqualsCalledOnEnumConstant
*/
@Override
public boolean equals(Object other) {
if (this == other) {
Expand Down
Expand Up @@ -414,6 +414,10 @@ public int compareTo(Tag object) {
return result;
}

/**
* Indicates whether some other object is "equal to" this one.
* @noinspection EqualsCalledOnEnumConstant
*/
@Override
public boolean equals(Object other) {
if (this == other) {
Expand Down

0 comments on commit 351cc3f

Please sign in to comment.