FINERACT-2267: Use the proper not-null annotation in Fineract code base
This commit is contained in:
committed by
Adam Saghy
parent
8d7d8ca7ef
commit
d71c0bd204
+2
-2
@@ -70,9 +70,9 @@ import org.apache.commons.lang3.StringUtils;
|
||||
import org.apache.fineract.infrastructure.core.service.DateUtils;
|
||||
import org.apache.fineract.integrationtests.ConfigProperties;
|
||||
import org.apache.http.conn.HttpHostConnectException;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.lang.NonNull;
|
||||
|
||||
/**
|
||||
* Util for RestAssured tests. This class here in src/integrationTest is copy/pasted to src/test; please keep them in
|
||||
@@ -417,7 +417,7 @@ public final class Utils {
|
||||
return dateFormat.format(dateToBeConvert.getTime());
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@NonNull
|
||||
public static OffsetDateTime getAuditDateTimeToCompare() throws InterruptedException {
|
||||
OffsetDateTime now = DateUtils.getAuditOffsetDateTime();
|
||||
// Testing in minutes precision, but still need to take care around the end of the actual minute
|
||||
|
||||
Reference in New Issue
Block a user