diff --git a/lucene/test-framework/src/java/org/apache/lucene/util/Rethrow.java b/lucene/test-framework/src/java/org/apache/lucene/util/Rethrow.java index f2fb568e67e..9946dad5977 100644 --- a/lucene/test-framework/src/java/org/apache/lucene/util/Rethrow.java +++ b/lucene/test-framework/src/java/org/apache/lucene/util/Rethrow.java @@ -24,22 +24,19 @@ package org.apache.lucene.util; *
Pulled from Java Puzzlers.
* @see http://www.amazon.com/Java-Puzzlers-Traps-Pitfalls-Corner/dp/032133678X */ -@SuppressWarnings({"unchecked","rawtypes"}) public final class Rethrow { - /** - * Classy puzzler to rethrow any checked exception as an unchecked one. - */ - private static class Rethrowert
(identical object).
*/
public static void rethrow(Throwable t) {
- new Rethrower