Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkmoore2011-02-10 17:31:03 -0500
committerkmoore2011-02-10 17:31:03 -0500
commit3dba1abe979c19574550c2364011ca540df6af05 (patch)
treed4739ab5a6720d3a96746bcb29b6fe43c9f49c78 /common/tests/org.eclipse.jpt.common.utility.tests
parent6de8839b3e12fe0a98160e586e20ad1b5095528e (diff)
downloadwebtools.dali-3dba1abe979c19574550c2364011ca540df6af05.tar.gz
webtools.dali-3dba1abe979c19574550c2364011ca540df6af05.tar.xz
webtools.dali-3dba1abe979c19574550c2364011ca540df6af05.zip
removed unncessary cast
Diffstat (limited to 'common/tests/org.eclipse.jpt.common.utility.tests')
-rw-r--r--common/tests/org.eclipse.jpt.common.utility.tests/src/org/eclipse/jpt/common/utility/tests/internal/TestTools.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/tests/org.eclipse.jpt.common.utility.tests/src/org/eclipse/jpt/common/utility/tests/internal/TestTools.java b/common/tests/org.eclipse.jpt.common.utility.tests/src/org/eclipse/jpt/common/utility/tests/internal/TestTools.java
index 6ab45634dd..f66f31c21f 100644
--- a/common/tests/org.eclipse.jpt.common.utility.tests/src/org/eclipse/jpt/common/utility/tests/internal/TestTools.java
+++ b/common/tests/org.eclipse.jpt.common.utility.tests/src/org/eclipse/jpt/common/utility/tests/internal/TestTools.java
@@ -127,9 +127,9 @@ public final class TestTools {
} else {
TestFailure failure = null;
if (result.failures().hasMoreElements()) {
- failure = (TestFailure) result.failures().nextElement();
+ failure = result.failures().nextElement();
} else {
- failure = (TestFailure) result.errors().nextElement();
+ failure = result.errors().nextElement();
}
failure.thrownException().printStackTrace(writer);
}

Back to the top