commit | 589d87c35713580962f6bb01e7793c80c39d8c8c | [log] [tgz] |
---|---|---|
author | Alex Ruiz <alruiz@google.com> | Sat Aug 04 01:03:26 2012 -0700 |
committer | Alex Ruiz <alruiz@google.com> | Sat Aug 04 01:03:26 2012 -0700 |
tree | 02fde8dca06d91cfee2c9f3d5ba6aa684149275b | |
parent | 4e556466a127a59e07e847a383c55a0f581e1f96 [diff] |
Minor cleanup.
diff --git a/com.google.eclipse.tm.terminal/src/com/google/eclipse/tm/internal/terminal/util/BoundedByteBuffer.java b/com.google.eclipse.tm.terminal/src/com/google/eclipse/tm/internal/terminal/util/BoundedByteBuffer.java index d0e5bac..f28dcfe 100644 --- a/com.google.eclipse.tm.terminal/src/com/google/eclipse/tm/internal/terminal/util/BoundedByteBuffer.java +++ b/com.google.eclipse.tm.terminal/src/com/google/eclipse/tm/internal/terminal/util/BoundedByteBuffer.java
@@ -64,7 +64,7 @@ } public void write(byte[] b, int off, int len) throws InterruptedException { - assert len <= getFreeSlots(); + Assert.isTrue(len <= getFreeSlots()); while (usedSlots == buffer.length) { // Wait until not full. wait();