Remove duplicate logging.
This commit is contained in:
parent
612efa6a13
commit
936ce42cc0
|
@ -159,7 +159,6 @@ public class SerialIOThread extends Thread {
|
||||||
mOutputStream.write(messageBytes);
|
mOutputStream.write(messageBytes);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
log.error("sendMessage write exception: ", e);
|
log.error("sendMessage write exception: ", e);
|
||||||
log.error("Unhandled exception", e);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
synchronized (message) {
|
synchronized (message) {
|
||||||
|
@ -167,7 +166,6 @@ public class SerialIOThread extends Thread {
|
||||||
message.wait(5000);
|
message.wait(5000);
|
||||||
} catch (InterruptedException e) {
|
} catch (InterruptedException e) {
|
||||||
log.error("sendMessage InterruptedException", e);
|
log.error("sendMessage InterruptedException", e);
|
||||||
log.error("Unhandled exception", e);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -160,7 +160,6 @@ public class SerialIOThread extends Thread {
|
||||||
mOutputStream.write(messageBytes);
|
mOutputStream.write(messageBytes);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
log.error("sendMessage write exception: ", e);
|
log.error("sendMessage write exception: ", e);
|
||||||
log.error("Unhandled exception", e);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
synchronized (message) {
|
synchronized (message) {
|
||||||
|
@ -168,7 +167,6 @@ public class SerialIOThread extends Thread {
|
||||||
message.wait(5000);
|
message.wait(5000);
|
||||||
} catch (InterruptedException e) {
|
} catch (InterruptedException e) {
|
||||||
log.error("sendMessage InterruptedException", e);
|
log.error("sendMessage InterruptedException", e);
|
||||||
log.error("Unhandled exception", e);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -160,7 +160,6 @@ public class SerialIOThread extends Thread {
|
||||||
mOutputStream.write(messageBytes);
|
mOutputStream.write(messageBytes);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
log.error("sendMessage write exception: ", e);
|
log.error("sendMessage write exception: ", e);
|
||||||
log.error("Unhandled exception", e);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
synchronized (message) {
|
synchronized (message) {
|
||||||
|
@ -168,7 +167,6 @@ public class SerialIOThread extends Thread {
|
||||||
message.wait(5000);
|
message.wait(5000);
|
||||||
} catch (InterruptedException e) {
|
} catch (InterruptedException e) {
|
||||||
log.error("sendMessage InterruptedException", e);
|
log.error("sendMessage InterruptedException", e);
|
||||||
log.error("Unhandled exception", e);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue