mirror of
https://github.com/revanced/jadb.git
synced 2025-02-06 07:26:48 +01:00
Refactor: Removing/fixing warnings.
This commit is contained in:
parent
1db1ed5d9a
commit
548acc6aa2
@ -2,8 +2,6 @@ package se.vidstige.jadb.test.fakes;
|
||||
|
||||
import java.io.DataInput;
|
||||
import java.io.DataInputStream;
|
||||
import java.io.DataOutput;
|
||||
import java.io.DataOutputStream;
|
||||
import java.io.IOException;
|
||||
import java.io.OutputStreamWriter;
|
||||
import java.net.Socket;
|
||||
@ -48,11 +46,12 @@ public class AdbResponder implements Runnable {
|
||||
output.flush();
|
||||
|
||||
} catch (IOException e) {
|
||||
System.out.println(e.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
private String getCommandLength(String command) {
|
||||
return String.format("%04x", Integer.valueOf(command.length()));
|
||||
return String.format("%04x", command.length());
|
||||
}
|
||||
|
||||
public void send(OutputStreamWriter writer, String response) throws IOException {
|
||||
|
Loading…
x
Reference in New Issue
Block a user