summaryrefslogtreecommitdiffstats
path: root/jdisc_core
diff options
context:
space:
mode:
authorJon Marius Venstad <venstad@gmail.com>2020-10-14 17:47:08 +0200
committerJon Marius Venstad <venstad@gmail.com>2020-10-14 17:47:08 +0200
commitf0c452cc8a83d0396375caf5486699a392b88acf (patch)
treedae72e4787929decceba1acfcb3fa1b042ebad35 /jdisc_core
parentad379f928f476f92a235019e149074c400362105 (diff)
Add logging on unexpected behaviour
Diffstat (limited to 'jdisc_core')
-rw-r--r--jdisc_core/src/main/java/com/yahoo/jdisc/handler/BufferedContentChannel.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/jdisc_core/src/main/java/com/yahoo/jdisc/handler/BufferedContentChannel.java b/jdisc_core/src/main/java/com/yahoo/jdisc/handler/BufferedContentChannel.java
index fdfb2cb3abb..6df281ce5bc 100644
--- a/jdisc_core/src/main/java/com/yahoo/jdisc/handler/BufferedContentChannel.java
+++ b/jdisc_core/src/main/java/com/yahoo/jdisc/handler/BufferedContentChannel.java
@@ -102,7 +102,7 @@ public final class BufferedContentChannel implements ContentChannel {
}
try {
while (this.content == null) {
- lock.wait(); // waiting for connecTo()
+ lock.wait(); // waiting for connectTo()
}
} catch (InterruptedException e) {
throw new IllegalStateException(e);
@@ -129,7 +129,7 @@ public final class BufferedContentChannel implements ContentChannel {
}
try {
while (this.content == null) {
- lock.wait(); // waiting for connecTo()
+ lock.wait(); // waiting for connectTo()
}
} catch (InterruptedException e) {
throw new IllegalStateException(e);