mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#2422 - Remove extraneous jsr 305 @Nonnull
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user