mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-24 07:14:55 +00:00
Use @NonNullApi to explicitly reflect non-null return types and params by default
This commit is contained in:
1 parent
92a13ad265
commit
b3ee982b64
40 files changed
+200
-235
No files matched your search
+3
-1
@@ -15,6 +15,7 @@ import io.ebeaninternal.server.transaction.RemoteTransactionEvent;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.tests.model.basic.Customer;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
import java.io.IOException;
|
||||
import java.util.Collections;
|
||||
import java.util.HashSet;
|
||||
@@ -99,8 +100,9 @@ public class BinaryTransactionEventReadWriteTest extends BaseTestCase {
|
||||
}
|
||||
|
||||
class TDEbeanServer extends TDSpiEbeanServer {
|
||||
@Nonnull
|
||||
@Override
|
||||
public BeanDescriptor<?> descriptorById(String descriptorId) {
|
||||
public BeanDescriptor<?> descriptorById(@Nonnull String descriptorId) {
|
||||
return customerBeanDescriptor;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user