diff --git a/src/main/java/org/codehaus/classworlds/BytesURLConnection.java b/src/main/java/org/codehaus/classworlds/BytesURLConnection.java
index 07a93c9..fc73073 100644
--- a/src/main/java/org/codehaus/classworlds/BytesURLConnection.java
+++ b/src/main/java/org/codehaus/classworlds/BytesURLConnection.java
@@ -22,10 +22,6 @@
import java.io.ByteArrayInputStream;
/**
- * @author Hani Suleiman (hani@formicary.net)
- *
- * Date: Oct 20, 2003
- * Time: 12:46:01 AM
*/
@Deprecated
public class BytesURLConnection extends URLConnection
diff --git a/src/main/java/org/codehaus/classworlds/ClassRealm.java b/src/main/java/org/codehaus/classworlds/ClassRealm.java
index 3948455..6c610a6 100644
--- a/src/main/java/org/codehaus/classworlds/ClassRealm.java
+++ b/src/main/java/org/codehaus/classworlds/ClassRealm.java
@@ -51,13 +51,11 @@ STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
import java.util.Enumeration;
/**
- * Autonomous sub-portion of a ClassWorld
.
- *
- *
- * This class most closed maps to the ClassLoader
+ * Autonomous sub-portion of a ClassWorld
.
+ *
+ * This class most closed maps to the ClassLoader
* role from Java and in facts can provide a ClassLoader
- * view of itself using {@link #getClassLoader}.
- *
+ * view of itself using {@link #getClassLoader}.
*
* @author bob mcwhirter
* @author Jason van Zyl
diff --git a/src/main/java/org/codehaus/classworlds/ConfiguratorAdapter.java b/src/main/java/org/codehaus/classworlds/ConfiguratorAdapter.java
index 6552d4a..1854b1f 100644
--- a/src/main/java/org/codehaus/classworlds/ConfiguratorAdapter.java
+++ b/src/main/java/org/codehaus/classworlds/ConfiguratorAdapter.java
@@ -21,10 +21,6 @@
import java.net.MalformedURLException;
/**
- * Created by IntelliJ IDEA.
- *
- * @uthor: Andrew Williams
- * @since: Nov 25, 2006
*/
@Deprecated
public class ConfiguratorAdapter
diff --git a/src/main/java/org/codehaus/classworlds/DefaultClassRealm.java b/src/main/java/org/codehaus/classworlds/DefaultClassRealm.java
index 0a9b235..a3b82ab 100644
--- a/src/main/java/org/codehaus/classworlds/DefaultClassRealm.java
+++ b/src/main/java/org/codehaus/classworlds/DefaultClassRealm.java
@@ -92,6 +92,7 @@ public void addConstituent( URL constituent )
*
* @param constituent class name
* @param b the class definition as a byte[]
+ * @throws ClassNotFoundException when class couldn't be loaded
*/
public void addConstituent(String constituent,
byte[] b) throws ClassNotFoundException
diff --git a/src/main/java/org/codehaus/plexus/classworlds/launcher/ConfigurationHandler.java b/src/main/java/org/codehaus/plexus/classworlds/launcher/ConfigurationHandler.java
index 54782db..7aaa5a9 100644
--- a/src/main/java/org/codehaus/plexus/classworlds/launcher/ConfigurationHandler.java
+++ b/src/main/java/org/codehaus/plexus/classworlds/launcher/ConfigurationHandler.java
@@ -40,18 +40,18 @@ public interface ConfigurationHandler
/**
* Define a new realm
* @param realmName the new realm name
- * @throws DuplicateRealmException
+ * @throws DuplicateRealmException when realm with name already exists
*/
void addRealm( String realmName )
throws DuplicateRealmException;
/**
* Add an import specification from a realm
- * @param relamName the realm name
+ * @param realmName the realm name
* @param importSpec the import specification
- * @throws NoSuchRealmException
+ * @throws NoSuchRealmException if realm doesn't exist
*/
- void addImportFrom( String relamName, String importSpec )
+ void addImportFrom( String realmName, String importSpec )
throws NoSuchRealmException;
/**
diff --git a/src/main/java/org/codehaus/plexus/classworlds/launcher/ConfigurationParser.java b/src/main/java/org/codehaus/plexus/classworlds/launcher/ConfigurationParser.java
index 8b5ccad..37cc64c 100644
--- a/src/main/java/org/codehaus/plexus/classworlds/launcher/ConfigurationParser.java
+++ b/src/main/java/org/codehaus/plexus/classworlds/launcher/ConfigurationParser.java
@@ -66,6 +66,12 @@ public ConfigurationParser( ConfigurationHandler handler, Properties systemPrope
/**
* Parse launcher configuration file and send events to the handler.
+ *
+ * @param is the inputstream
+ * @throws IOException when IOException occurs
+ * @throws ConfigurationException when ConfigurationException occurs
+ * @throws DuplicateRealmException when realm already exists
+ * @throws NoSuchRealmException when realm doesn't exist
*/
public void parse( InputStream is )
throws IOException, ConfigurationException, DuplicateRealmException, NoSuchRealmException
@@ -315,7 +321,7 @@ else if ( line.startsWith( OPTIONALLY_PREFIX ) )
* a valid path element.
* @throws FileNotFoundException If the line does not represent
* a valid path element in the filesystem.
- * @throws ConfigurationException
+ * @throws ConfigurationException will never occur (thrown for backwards compatibility)
*/
protected void loadGlob( String line,
boolean optionally )
diff --git a/src/main/java/org/codehaus/plexus/classworlds/launcher/Launcher.java b/src/main/java/org/codehaus/plexus/classworlds/launcher/Launcher.java
index f395fc4..0526816 100644
--- a/src/main/java/org/codehaus/plexus/classworlds/launcher/Launcher.java
+++ b/src/main/java/org/codehaus/plexus/classworlds/launcher/Launcher.java
@@ -31,19 +31,15 @@
import org.codehaus.plexus.classworlds.realm.NoSuchRealmException;
/**
- * Command-line invokable application launcher.
- *
- *
- * This launcher class assists in the creation of classloaders and ClassRealm
s
+ * Command-line invokable application launcher.
+ *
+ * This launcher class assists in the creation of classloaders and ClassRealm
s
* from a configuration file and the launching of the application's main
- * method from the correct class loaded through the correct classloader.
- *
- *
- *
- * The path to the configuration file is specified using the classworlds.conf
+ * method from the correct class loaded through the correct classloader.
+ *
+ * The path to the configuration file is specified using the classworlds.conf
* system property, typically specified using the -D
switch to
- * java
.
- *
+ * java
.
*
* @author bob mcwhirter
*/
@@ -239,12 +235,9 @@ public void launch( String[] args )
}
/**
- * Attempt to launch the application through the enhanced main method.
- *
- *
- * This will seek a method with the exact signature of:
- *
- *
+ * Attempt to launch the application through the enhanced main method.
+ *
+ * This will seek a method with the exact signature of:
*
* public static void main(String[] args, ClassWorld world)
*
@@ -297,12 +290,10 @@ protected void launchEnhanced( String[] args )
}
/**
- * Attempt to launch the application through the standard main method.
- *
- *
- * This will seek a method with the exact signature of:
- *
- *
+ * Attempt to launch the application through the standard main method.
+ *
+ * This will seek a method with the exact signature of:
+
*
* public static void main(String[] args)
*
diff --git a/src/main/java/org/codehaus/plexus/classworlds/strategy/Strategy.java b/src/main/java/org/codehaus/plexus/classworlds/strategy/Strategy.java
index 58257d1..88f534e 100644
--- a/src/main/java/org/codehaus/plexus/classworlds/strategy/Strategy.java
+++ b/src/main/java/org/codehaus/plexus/classworlds/strategy/Strategy.java
@@ -25,9 +25,6 @@
/**
* A strategy is a class for defining how classes and resources are located
* in classworlds.
- *
- * @uthor: Andrew Williams
- * @since: Nov 19, 2006
*/
public interface Strategy
{
diff --git a/src/main/java/org/codehaus/plexus/classworlds/strategy/StrategyFactory.java b/src/main/java/org/codehaus/plexus/classworlds/strategy/StrategyFactory.java
index 373d845..5b25a79 100644
--- a/src/main/java/org/codehaus/plexus/classworlds/strategy/StrategyFactory.java
+++ b/src/main/java/org/codehaus/plexus/classworlds/strategy/StrategyFactory.java
@@ -20,9 +20,6 @@
/**
* StrategyFactory loads a strategy, either default or from a given hint.
- *
- * @uthor: Andrew Williams
- * @since: Nov 19, 2006
*/
public class StrategyFactory
{