diff options
5 files changed, 6 insertions, 6 deletions
diff --git a/luni/src/test/java/libcore/java/lang/OldThreadTest.java b/luni/src/test/java/libcore/java/lang/OldThreadTest.java index 1094d33..b2b2a13 100644 --- a/luni/src/test/java/libcore/java/lang/OldThreadTest.java +++ b/luni/src/test/java/libcore/java/lang/OldThreadTest.java @@ -116,7 +116,7 @@ public class OldThreadTest extends junit.framework.TestCase { try { Thread.sleep(100); LockSupport.unpark(parker); - } catch (InterruptedException ignored) { + } catch (InterruptedException expected) { } } } diff --git a/luni/src/test/java/libcore/java/net/URLConnectionTest.java b/luni/src/test/java/libcore/java/net/URLConnectionTest.java index 81f23f0..5fd3b61 100644 --- a/luni/src/test/java/libcore/java/net/URLConnectionTest.java +++ b/luni/src/test/java/libcore/java/net/URLConnectionTest.java @@ -417,7 +417,7 @@ public class URLConnectionTest extends junit.framework.TestCase { if (responseCode != 401) { readAscii(conn.getInputStream(), Integer.MAX_VALUE); } - } catch (IOException ignored) { + } catch (IOException expected) { } Set<URI> expectedCachedUris = shouldPut diff --git a/luni/src/test/java/libcore/java/util/prefs/OldNodeChangeEventTest.java b/luni/src/test/java/libcore/java/util/prefs/OldNodeChangeEventTest.java index b3f57b8..f2d483e 100644 --- a/luni/src/test/java/libcore/java/util/prefs/OldNodeChangeEventTest.java +++ b/luni/src/test/java/libcore/java/util/prefs/OldNodeChangeEventTest.java @@ -130,7 +130,7 @@ public final class OldNodeChangeEventTest extends TestCase { public synchronized void waitForEvent() { try { wait(500); - } catch (InterruptedException ignored) { + } catch (InterruptedException expected) { } } diff --git a/luni/src/test/java/libcore/java/util/prefs/OldPreferenceChangeEventTest.java b/luni/src/test/java/libcore/java/util/prefs/OldPreferenceChangeEventTest.java index be559ed..acdbd69 100644 --- a/luni/src/test/java/libcore/java/util/prefs/OldPreferenceChangeEventTest.java +++ b/luni/src/test/java/libcore/java/util/prefs/OldPreferenceChangeEventTest.java @@ -112,7 +112,7 @@ public final class OldPreferenceChangeEventTest extends TestCase { public synchronized void waitForEvent() { try { wait(500); - } catch (InterruptedException ignored) { + } catch (InterruptedException expected) { } } diff --git a/luni/src/test/java/libcore/java/util/prefs/OldPreferencesTest.java b/luni/src/test/java/libcore/java/util/prefs/OldPreferencesTest.java index a12618e..17e3652 100644 --- a/luni/src/test/java/libcore/java/util/prefs/OldPreferencesTest.java +++ b/luni/src/test/java/libcore/java/util/prefs/OldPreferencesTest.java @@ -937,7 +937,7 @@ public final class OldPreferencesTest extends TestCase { public synchronized void waitForEvent() { try { wait(500); - } catch (InterruptedException ignored) { + } catch (InterruptedException expected) { } } @@ -976,7 +976,7 @@ public final class OldPreferencesTest extends TestCase { synchronized (this) { this.wait(500); } - } catch (InterruptedException ignored) { + } catch (InterruptedException expected) { } } } |