#2422 - Remove extraneous jsr 305 @Nonnull

This commit is contained in:
Rob Bygrave
2021-10-19 17:59:25 +13:00
parent c7bb027c7d
commit a445557ec3
7 changed files with 0 additions and 66 deletions
@@ -15,7 +15,6 @@ import io.ebean.plugin.SpiServer;
import io.ebean.text.csv.CsvReader;
import io.ebean.text.json.JsonContext;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import javax.persistence.OptimisticLockException;
import javax.persistence.PersistenceException;
@@ -267,7 +266,6 @@ public class TDSpiServer implements SpiServer {
return null;
}
@Nonnull
@Override
public <T> T reference(Class<T> beanType, Object id) {
return null;
@@ -413,13 +411,11 @@ public class TDSpiServer implements SpiServer {
return 0;
}
@Nonnull
@Override
public Set<Property> checkUniqueness(Object bean) {
return null;
}
@Nonnull
@Override
public Set<Property> checkUniqueness(Object bean, Transaction transaction) {
return null;
@@ -1,6 +1,5 @@
package org.tests.query.cache;
import javax.annotation.Nonnull;
import javax.persistence.*;
import java.util.ArrayList;
import java.util.List;
@@ -17,7 +16,6 @@ public class Contract {
private List<Position> positions;
@OneToMany(cascade = CascadeType.ALL, mappedBy = "container", fetch = FetchType.LAZY)
@Nonnull
private List<AclContainerRelation> aclEntries = new ArrayList<>();
public Long getId() {