Skip to content

Commit fe303a2

Browse files
committed
8258422: Cleanup unnecessary null comparison before instanceof check in java.base
rename 'other' -> 'oth', 'other1' -> 'other'
1 parent 314217e commit fe303a2

File tree

1 file changed

+1
-1
lines changed
  • src/java.base/share/classes/jdk/internal/misc

1 file changed

+1
-1
lines changed

src/java.base/share/classes/jdk/internal/misc/Signal.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public String getName() {
9595
/**
9696
* Compares the equality of two <code>Signal</code> objects.
9797
*
98-
* @param other the object to compare with.
98+
* @param oth the object to compare with.
9999
* @return whether two <code>Signal</code> objects are equal.
100100
*/
101101
public boolean equals(Object oth) {

0 commit comments

Comments
 (0)