mirror of
https://github.com/stleary/JSON-java.git
synced 2026-05-20 00:00:59 -04:00
Limiting implemetation by removing the new classes.
This commit is contained in:
@@ -1,17 +1,19 @@
|
||||
package org.json.junit.data;
|
||||
|
||||
import java.math.BigInteger;
|
||||
|
||||
public class CustomClassA {
|
||||
public java.time.LocalDateTime localDate;
|
||||
public BigInteger largeInt;
|
||||
|
||||
public CustomClassA() {}
|
||||
public CustomClassA(java.time.LocalDateTime localDate) {
|
||||
this.localDate = localDate;
|
||||
public CustomClassA(BigInteger largeInt) {
|
||||
this.largeInt = largeInt;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
CustomClassA classA = (CustomClassA) o;
|
||||
return this.localDate.equals(classA.localDate);
|
||||
return this.largeInt.equals(classA.largeInt);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user