You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ch...@apache.org on 2015/07/25 05:07:51 UTC
[lang] fix ExceptionUtilsTest to compile with java 1.6
Repository: commons-lang
Updated Branches:
refs/heads/master b0bbe58eb -> fad946a1d
fix ExceptionUtilsTest to compile with java 1.6
Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/fad946a1
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/fad946a1
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/fad946a1
Branch: refs/heads/master
Commit: fad946a1d79486c5118a596e8ac67ef7d5189070
Parents: b0bbe58
Author: Chas Honton <ch...@apache.org>
Authored: Fri Jul 24 20:06:15 2015 -0700
Committer: Chas Honton <ch...@apache.org>
Committed: Fri Jul 24 20:06:15 2015 -0700
----------------------------------------------------------------------
.../org/apache/commons/lang3/exception/ExceptionUtilsTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-lang/blob/fad946a1/src/test/java/org/apache/commons/lang3/exception/ExceptionUtilsTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/lang3/exception/ExceptionUtilsTest.java b/src/test/java/org/apache/commons/lang3/exception/ExceptionUtilsTest.java
index ec4875b..97a2bfc 100644
--- a/src/test/java/org/apache/commons/lang3/exception/ExceptionUtilsTest.java
+++ b/src/test/java/org/apache/commons/lang3/exception/ExceptionUtilsTest.java
@@ -584,7 +584,7 @@ public class ExceptionUtilsTest {
try {
throw new IOException();
} catch (Exception e) {
- return ExceptionUtils.rethrow(e);
+ return ExceptionUtils.<Integer>rethrow(e);
}
}