Skip to content

Commit 2ceadac

Browse files
committed
Linter
1 parent d877519 commit 2ceadac

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

extension/android/src/main/java/org/pytorch/executorch/EValue.java

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
import java.nio.ByteBuffer;
1313
import java.util.Arrays;
1414
import java.util.Locale;
15-
import java.util.Optional;
1615
import org.pytorch.executorch.annotations.Experimental;
1716

1817
/**
@@ -45,12 +44,7 @@ public class EValue {
4544
private static final int TYPE_CODE_BOOL = 5;
4645

4746
private String[] TYPE_NAMES = {
48-
"None",
49-
"Tensor",
50-
"String",
51-
"Double",
52-
"Int",
53-
"Bool",
47+
"None", "Tensor", "String", "Double", "Int", "Bool",
5448
};
5549

5650
@DoNotStrip private final int mTypeCode;

extension/android_test/src/test/java/org/pytorch/executorch/EValueTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
import static org.junit.Assert.fail;
1515

1616
import java.util.Arrays;
17-
import java.util.Optional;
1817
import org.junit.Test;
1918
import org.junit.runner.RunWith;
2019
import org.junit.runners.JUnit4;

0 commit comments

Comments
 (0)