mirror of
https://github.com/revanced/jadb.git
synced 2025-02-11 01:26:47 +01:00
Remove unused parameter
This commit is contained in:
parent
45c67bad0a
commit
eb853f2b01
@ -78,7 +78,7 @@ public class JadbConnection implements ITransportFactory {
|
||||
for (String line : lines) {
|
||||
String[] parts = line.split("\t");
|
||||
if (parts.length > 1) {
|
||||
devices.add(new JadbDevice(parts[0], parts[1], this));
|
||||
devices.add(new JadbDevice(parts[0], this)); // parts[1] is type
|
||||
}
|
||||
}
|
||||
return devices;
|
||||
|
@ -19,7 +19,7 @@ public class JadbDevice {
|
||||
private final String serial;
|
||||
private final ITransportFactory transportFactory;
|
||||
|
||||
JadbDevice(String serial, String type, ITransportFactory tFactory) {
|
||||
JadbDevice(String serial, ITransportFactory tFactory) {
|
||||
this.serial = serial;
|
||||
this.transportFactory = tFactory;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user