[tor-commits] [metrics-lib/master] Fix typos.
karsten at torproject.org
karsten at torproject.org
Tue Jan 10 09:20:01 UTC 2012
commit 6f5515aae7d31ed47664291e08ccf609a67868a9
Author: Karsten Loesing <karsten.loesing at gmx.net>
Date: Tue Jan 10 10:15:55 2012 +0100
Fix typos.
---
.../descriptor/impl/BlockingIteratorImpl.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/org/torproject/descriptor/impl/BlockingIteratorImpl.java b/src/org/torproject/descriptor/impl/BlockingIteratorImpl.java
index 195acfe..a26c4fb 100644
--- a/src/org/torproject/descriptor/impl/BlockingIteratorImpl.java
+++ b/src/org/torproject/descriptor/impl/BlockingIteratorImpl.java
@@ -22,7 +22,7 @@ public class BlockingIteratorImpl<T> implements Iterator<T> {
/* Add an object to the queue. */
protected synchronized void add(T object) {
if (this.outOfDescriptors) {
- throw new IllegalStateException("Internal erorr: Adding results to "
+ throw new IllegalStateException("Internal error: Adding results to "
+ "descriptor queue not allowed after sending end-of-stream "
+ "object.");
}
@@ -34,7 +34,7 @@ public class BlockingIteratorImpl<T> implements Iterator<T> {
private boolean outOfDescriptors = false;
protected synchronized void setOutOfDescriptors() {
if (this.outOfDescriptors) {
- throw new IllegalStateException("Internal erorr: Sending "
+ throw new IllegalStateException("Internal error: Sending "
+ "end-of-stream object only permitted once.");
}
this.outOfDescriptors = true;
More information about the tor-commits
mailing list