-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Milestone
Description
Occur NullPointerException
in hashCode()
and equals(Object)
method.
Please implements these methods correctly.
Thanks.
Test Cases
@Test
public void testHashCode() {
StdDateFormat.instance.hashCode();
}
@Test
public void testEquals() {
StdDateFormat.instance.equals(new StdDateFormat());
}
Stack Traces
java.lang.NullPointerException
at java.text.DateFormat.hashCode(DateFormat.java:739)
...
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
java.lang.NullPointerException
at java.text.DateFormat.equals(DateFormat.java:751)
...
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
Metadata
Metadata
Assignees
Labels
No labels