mirror of
https://github.com/revanced/jadb.git
synced 2025-02-11 09:36:48 +01:00
Fix Loops should not be infinite (squid:S2189) - suppress this check
This commit is contained in:
parent
aef604459b
commit
c40420a64a
@ -18,6 +18,7 @@ public class DeviceWatcher implements Runnable {
|
|||||||
watch();
|
watch();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings("squid:S2189") // watcher is stopped by closing transport
|
||||||
public void watch() {
|
public void watch() {
|
||||||
try {
|
try {
|
||||||
while (true) {
|
while (true) {
|
||||||
|
@ -29,6 +29,7 @@ public abstract class SocketServer implements Runnable {
|
|||||||
return port;
|
return port;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings("squid:S2189") // server is stopped by closing SocketServer
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
try {
|
try {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user