Skip to content

Commit b779e32

Browse files
Tests: Ignore some rawtypes and unchecked warngings.
1 parent 2c6d95a commit b779e32

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

tests/objectbox-java-test/src/test/java/io/objectbox/ObjectClassObserverTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
import static org.junit.Assert.assertNotSame;
3939
import static org.junit.Assert.assertTrue;
4040

41+
@SuppressWarnings({"rawtypes", "unchecked"})
4142
public class ObjectClassObserverTest extends AbstractObjectBoxTest {
4243

4344
protected BoxStore createBoxStore() {

tests/objectbox-java-test/src/test/java/io/objectbox/TestUtils.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ public static InputStream openInputStream(String filename) throws FileNotFoundEx
5656
return in;
5757
}
5858

59+
@SuppressWarnings("unchecked")
5960
public static <T extends Serializable> T serializeDeserialize(T entity) throws IOException, ClassNotFoundException {
6061
ByteArrayOutputStream bytesOut = new ByteArrayOutputStream();
6162
ObjectOutputStream out = new ObjectOutputStream(bytesOut);

0 commit comments

Comments
 (0)