mirror of
https://github.com/apache/openjpa.git
synced 2025-02-21 01:15:30 +00:00
OPENJPA-1700 FindBugs - equals() method does not check for null argument
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@956696 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
004cbd9644
commit
702fb78b14
@ -1147,6 +1147,8 @@ public class PCPath
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (other == null)
|
||||
return false;
|
||||
if (other == this)
|
||||
return true;
|
||||
Action a = (Action) other;
|
||||
|
@ -284,6 +284,8 @@ public class RowManagerImpl
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (other == null)
|
||||
return false;
|
||||
if (other == this)
|
||||
return true;
|
||||
|
||||
|
@ -2266,6 +2266,8 @@ public class SelectImpl
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (other == null)
|
||||
return false;
|
||||
if (other == this)
|
||||
return true;
|
||||
if (other.getClass() != getClass())
|
||||
|
Loading…
x
Reference in New Issue
Block a user