aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test-extensions
diff options
context:
space:
mode:
authorJiri Vanek <[email protected]>2012-09-06 14:09:09 +0200
committerJiri Vanek <[email protected]>2012-09-06 14:09:09 +0200
commitea9beb5ebd38fb92f7214cd64784e82f78e71309 (patch)
tree50af75981f83be16ecbfa83be509ec608857b3da /tests/test-extensions
parente5a1c62b36ce30b1b2fd2bb54f663ab553c247cd (diff)
Fixing several typos from previous push.
Diffstat (limited to 'tests/test-extensions')
-rw-r--r--tests/test-extensions/net/sourceforge/jnlp/ServerAccess.java4
-rw-r--r--tests/test-extensions/net/sourceforge/jnlp/TinyHttpdImpl.java2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/test-extensions/net/sourceforge/jnlp/ServerAccess.java b/tests/test-extensions/net/sourceforge/jnlp/ServerAccess.java
index da5c265..62b502b 100644
--- a/tests/test-extensions/net/sourceforge/jnlp/ServerAccess.java
+++ b/tests/test-extensions/net/sourceforge/jnlp/ServerAccess.java
@@ -585,14 +585,14 @@ public class ServerAccess {
}
/**
- * Ctreate resource on http, on 'localhost' on port on which this cached instance is running
+ * Create resource on http, on 'localhost' on port on which this cached instance is running
* @param resource
* @return
* @throws MalformedURLException
*/
public URL getUrlUponThisInstance(String resource) throws MalformedURLException {
getInstance();
- return getUrlUponInstance(server,resource);
+ return getUrlUponInstance(server, resource);
}
/**
diff --git a/tests/test-extensions/net/sourceforge/jnlp/TinyHttpdImpl.java b/tests/test-extensions/net/sourceforge/jnlp/TinyHttpdImpl.java
index 207f142..c6212b8 100644
--- a/tests/test-extensions/net/sourceforge/jnlp/TinyHttpdImpl.java
+++ b/tests/test-extensions/net/sourceforge/jnlp/TinyHttpdImpl.java
@@ -99,7 +99,7 @@ class TinyHttpdImpl extends Thread {
}
ServerAccess.logNoReprint("Getting: " + p);
p = URLDecoder.decode(p, "UTF-8");
- p=p.replaceAll("\\?.*", "");
+ p = p.replaceAll("\\?.*", "");
p = (".".concat((p.endsWith("/")) ? p.concat("index.html") : p)).replace('/', File.separatorChar);
ServerAccess.logNoReprint("Serving: " + p);
File pp = new File(dir, p);