summaryrefslogtreecommitdiffstats
path: root/support/src
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2010-05-13 10:58:28 -0700
committerElliott Hughes <enh@google.com>2010-05-13 10:58:28 -0700
commitfd6bb3510c2f94d636f3572dcf5f7f4dcd1a2726 (patch)
tree2ae4bdcf29582fa8ccc75d42656b539ce3ed7c5b /support/src
parent2620ff9a08ce7fc6d66b60784b1eecd78eb001ba (diff)
downloadlibcore-fd6bb3510c2f94d636f3572dcf5f7f4dcd1a2726.zip
libcore-fd6bb3510c2f94d636f3572dcf5f7f4dcd1a2726.tar.gz
libcore-fd6bb3510c2f94d636f3572dcf5f7f4dcd1a2726.tar.bz2
Remove //$NON-NLS-\d$ cruft.
Mostly done by perl(1), with manual cleanup of the few misspelled instances. This makes our trailing whitespace slightly worse, but I'll fix all that with a follow-on change. Change-Id: I0b4ca98819be6f9519c4ba980d759bd1ee1a0303
Diffstat (limited to 'support/src')
-rw-r--r--support/src/test/java/tests/support/Support_ASimpleOutputStream.java2
-rw-r--r--support/src/test/java/tests/support/Support_ASimpleWriter.java2
-rw-r--r--support/src/test/java/tests/support/Support_OutputStream.java2
3 files changed, 3 insertions, 3 deletions
diff --git a/support/src/test/java/tests/support/Support_ASimpleOutputStream.java b/support/src/test/java/tests/support/Support_ASimpleOutputStream.java
index a7e8c1a..3ace4f9 100644
--- a/support/src/test/java/tests/support/Support_ASimpleOutputStream.java
+++ b/support/src/test/java/tests/support/Support_ASimpleOutputStream.java
@@ -67,7 +67,7 @@ public class Support_ASimpleOutputStream extends OutputStream {
// throw new IOException("Exception thrown for testing purposes.");
// }
// if (offset < 0 || count < 0 || (offset + count) > buffer.length) {
-// throw new IndexOutOfBoundsException(); //$NON-NLS-1$
+// throw new IndexOutOfBoundsException();
// }
// for (int i = offset; i < offset + count; i++) {
// write(buffer[i]);
diff --git a/support/src/test/java/tests/support/Support_ASimpleWriter.java b/support/src/test/java/tests/support/Support_ASimpleWriter.java
index 29ce7b7..17b7647 100644
--- a/support/src/test/java/tests/support/Support_ASimpleWriter.java
+++ b/support/src/test/java/tests/support/Support_ASimpleWriter.java
@@ -57,7 +57,7 @@ public class Support_ASimpleWriter extends Writer {
throw new IOException("Exception thrown for testing purpose.");
}
if (offset < 0 || count < 0 || (offset + count) > buf.length) {
- throw new IndexOutOfBoundsException(); //$NON-NLS-1$
+ throw new IndexOutOfBoundsException();
}
try {
System.arraycopy(src, offset, buf, pos, count);
diff --git a/support/src/test/java/tests/support/Support_OutputStream.java b/support/src/test/java/tests/support/Support_OutputStream.java
index 76b62d0..d729273 100644
--- a/support/src/test/java/tests/support/Support_OutputStream.java
+++ b/support/src/test/java/tests/support/Support_OutputStream.java
@@ -70,7 +70,7 @@ public class Support_OutputStream extends OutputStream {
throw new IOException("Exception thrown for testing purposes.");
}
if (offset < 0 || count < 0 || (offset + count) > buffer.length) {
- throw new IndexOutOfBoundsException(); //$NON-NLS-1$
+ throw new IndexOutOfBoundsException();
}
for (int i = offset; i < offset + count; i++) {
write(buffer[i]);