We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe303a2 commit 5949f9aCopy full SHA for 5949f9a
src/java.base/share/classes/jdk/internal/misc/Signal.java
@@ -95,14 +95,14 @@ public String getName() {
95
/**
96
* Compares the equality of two <code>Signal</code> objects.
97
*
98
- * @param oth the object to compare with.
+ * @param obj the object to compare with.
99
* @return whether two <code>Signal</code> objects are equal.
100
*/
101
- public boolean equals(Object oth) {
102
- if (this == oth) {
+ public boolean equals(Object obj) {
+ if (this == obj) {
103
return true;
104
}
105
- if (oth instanceof Signal other) {
+ if (obj instanceof Signal other) {
106
return name.equals(other.name) && (number == other.number);
107
108
return false;
0 commit comments