diff options
author | Alexander Kurtakov | 2018-04-24 09:14:38 +0000 |
---|---|---|
committer | Alexander Kurtakov | 2018-04-24 09:14:38 +0000 |
commit | 0020cada2292c96a002d79176f6a1cbd78c1c717 (patch) | |
tree | 1b1d5df04e25129e3e860f7a3dfe9f450847cc5a | |
parent | 34195c4a6a632abad698ea99b7cbf763446475e3 (diff) | |
download | eclipse.platform.debug-0020cada2292c96a002d79176f6a1cbd78c1c717.tar.gz eclipse.platform.debug-0020cada2292c96a002d79176f6a1cbd78c1c717.tar.xz eclipse.platform.debug-0020cada2292c96a002d79176f6a1cbd78c1c717.zip |
Remove useless throws.
Change-Id: I54b08e46ecc260dbb7cfe292e939808acad4baf9
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
-rw-r--r-- | org.eclipse.debug.tests/src/org/eclipse/debug/tests/console/ConsoleTests.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.debug.tests/src/org/eclipse/debug/tests/console/ConsoleTests.java b/org.eclipse.debug.tests/src/org/eclipse/debug/tests/console/ConsoleTests.java index 607f70eef..ca9e30c21 100644 --- a/org.eclipse.debug.tests/src/org/eclipse/debug/tests/console/ConsoleTests.java +++ b/org.eclipse.debug.tests/src/org/eclipse/debug/tests/console/ConsoleTests.java @@ -44,7 +44,7 @@ public class ConsoleTests extends AbstractDebugTest { super(name); } - public void testConsoleOutputStreamEncoding() throws IOException, InterruptedException { + public void testConsoleOutputStreamEncoding() throws IOException { String testString = "abc\u00e4\u00f6\u00fcdef"; //$NON-NLS-1$ // abcdef need 1 byte in UTF-8 each // äöü (\u00e4\u00f6\u00fc) need 2 bytes each @@ -73,7 +73,7 @@ public class ConsoleTests extends AbstractDebugTest { TestCase.assertEquals("closing the stream should not alter the document", testString, document.get()); //$NON-NLS-1$ } - public void testConsoleOutputStreamLastR() throws IOException, InterruptedException { + public void testConsoleOutputStreamLastR() throws IOException { String testString = "a\r"; //$NON-NLS-1$ byte[] testStringBuffer = testString.getBytes(StandardCharsets.UTF_8); TestCase.assertEquals("Test string \"" + testString + "\" should consist of 2 UTF-8 bytes", 2, testStringBuffer.length); //$NON-NLS-1$ //$NON-NLS-2$ |