aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test-extensions/net/sourceforge/jnlp/ServerAccess.java
diff options
context:
space:
mode:
authorJiri Vanek <[email protected]>2013-12-13 09:54:16 +0100
committerJiri Vanek <[email protected]>2013-12-13 09:54:16 +0100
commit6256aac59275df0edd0feb4950272aa33573be9f (patch)
treeadba1e61360cf9e18597a8736b8c50b5022605a0 /tests/test-extensions/net/sourceforge/jnlp/ServerAccess.java
parent26e9ef073e4ba4e625c8596113e9138ec85162e4 (diff)
unittests warning cleanup: fixed typechecks, rawtypes, redundant casts...
ScreenFinder fixed to work partially also in headless mode. After this clean up only "internal proprietary API and may be removed in a future release" warnings remain fro make check. Please keep itw in this way :)
Diffstat (limited to 'tests/test-extensions/net/sourceforge/jnlp/ServerAccess.java')
-rw-r--r--tests/test-extensions/net/sourceforge/jnlp/ServerAccess.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-extensions/net/sourceforge/jnlp/ServerAccess.java b/tests/test-extensions/net/sourceforge/jnlp/ServerAccess.java
index 6f45a23..027dcee 100644
--- a/tests/test-extensions/net/sourceforge/jnlp/ServerAccess.java
+++ b/tests/test-extensions/net/sourceforge/jnlp/ServerAccess.java
@@ -779,9 +779,9 @@ public class ServerAccess {
}
//probablky it is necessary to get out of net.sourceforge.jnlp.
//package where are right now all test-extensions
- //for now keeping exactly the three clases helping yo acces the log
+ //for now keeping exactly the three classes helping you access the log
try {
- Class clazz = Class.forName(stack[i].getClassName());
+ Class<?> clazz = Class.forName(stack[i].getClassName());
String path = null;
try {
path = clazz.getProtectionDomain().getCodeSource().getLocation().getPath();