Skip to content

Commit 07889ee

Browse files
committed
Misc cleanup
1 parent 18f0f21 commit 07889ee

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

app/src/main/java/fuzion24/device/vulnerability/util/DeviceInfo.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ public class DeviceInfo {
2626
private final String[] supportedABIS;
2727

2828

29-
3029
private final String buildID;
3130

3231

@@ -97,7 +96,6 @@ public static String readKernelVersion() {
9796
return System.getProperty("os.version");
9897
}
9998

100-
10199
public String getKernelVersion() {
102100
return kernelVersion;
103101
}

app/src/main/java/fuzion24/device/vulnerability/vulnerabilities/VulnerabilityOrganizer.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import android.content.Context;
55
import android.util.Log;
66

7-
import java.lang.reflect.Method;
87
import java.util.ArrayList;
98
import java.util.List;
109

@@ -34,7 +33,7 @@ public class VulnerabilityOrganizer {
3433

3534
//TODO: Maybe add dates to each of these and sort chronologically
3635
public static List<VulnerabilityTest> getTests(Context ctx){
37-
List<VulnerabilityTest> allTests = new ArrayList<VulnerabilityTest>();
36+
List<VulnerabilityTest> allTests = new ArrayList<>();
3837
allTests.add(new ZipBug9950697());
3938
allTests.add(new ZipBug8219321());
4039
allTests.add(new ZipBug9695860());
@@ -56,7 +55,7 @@ public static List<VulnerabilityTest> getTests(Context ctx){
5655
allTests.add(new CVE20151528());
5756
allTests.add(new CVE_2015_6616());
5857

59-
List<VulnerabilityTest> filteredTest = new ArrayList<VulnerabilityTest>();
58+
List<VulnerabilityTest> filteredTest = new ArrayList<>();
6059
String cpuArch1 = SystemUtils.propertyGet(ctx, "ro.product.cpu.abi");
6160
String cpuArch2 = SystemUtils.propertyGet(ctx, "ro.product.cpu.abi2");
6261

0 commit comments

Comments
 (0)