aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/javassist/URLClassPath.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/javassist/URLClassPath.java')
-rw-r--r--src/main/javassist/URLClassPath.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/javassist/URLClassPath.java b/src/main/javassist/URLClassPath.java
index 0c220201..ad1d7731 100644
--- a/src/main/javassist/URLClassPath.java
+++ b/src/main/javassist/URLClassPath.java
@@ -36,7 +36,7 @@ public class URLClassPath implements ClassPath {
*
* <p>This search path is used only if a requested
* class name starts with the name specified by <code>packageName</code>.
- * If <code>packageName</code> is "org.javassist" and a requested class is
+ * If <code>packageName</code> is "org.javassist." and a requested class is
* "org.javassist.test.Main", then the given URL is used for loading that class.
* The <code>URLClassPath</code> obtains a class file from:
*
@@ -54,7 +54,7 @@ public class URLClassPath implements ClassPath {
* @param directory directory name ending with "/".
* It can be "/" (root directory).
* It must start with "/".
- * @param packageName package name.
+ * @param packageName package name. It must end with "." (dot).
*/
public URLClassPath(String host, int port,
String directory, String packageName) {