harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r660330 - in /harmony/enhanced/microemulator: microemu-injected/src/main/java/org/microemu/ microemu-javase-swing/src/main/java/org/microemu/app/ui/swing/ microemu-javase/src/main/java/org/microemu/ microemu-javase/src/main/java/org/microem...
Date Mon, 26 May 2008 22:48:15 GMT
Author: tellison
Date: Mon May 26 15:48:09 2008
New Revision: 660330

URL: http://svn.apache.org/viewvc?rev=660330&view=rev
Log:
Remove javadoc comments that need rewriting.

Modified:
    harmony/enhanced/microemulator/microemu-injected/src/main/java/org/microemu/Injected.java
    harmony/enhanced/microemulator/microemu-javase-swing/src/main/java/org/microemu/app/ui/swing/JMRUMenu.java
    harmony/enhanced/microemulator/microemu-javase/src/main/java/org/microemu/Injected.java
    harmony/enhanced/microemulator/microemu-javase/src/main/java/org/microemu/app/classloader/ExtensionsClassLoader.java
    harmony/enhanced/microemulator/microemu-javase/src/main/java/org/microemu/app/classloader/MIDletClassLoader.java
    harmony/enhanced/microemulator/microemu-javase/src/main/java/org/microemu/app/util/IOUtils.java
    harmony/enhanced/microemulator/microemu-javase/src/main/java/org/microemu/app/util/MIDletClassLoader.java
    harmony/enhanced/microemulator/microemu-javase/src/main/java/org/microemu/app/util/MIDletSystemProperties.java
    harmony/enhanced/microemulator/microemu-javase/src/main/java/org/microemu/cldc/https/Connection.java
    harmony/enhanced/microemulator/microemu-javase/src/main/java/org/microemu/util/ThreadUtils.java

Modified: harmony/enhanced/microemulator/microemu-injected/src/main/java/org/microemu/Injected.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/microemulator/microemu-injected/src/main/java/org/microemu/Injected.java?rev=660330&r1=660329&r2=660330&view=diff
==============================================================================
--- harmony/enhanced/microemulator/microemu-injected/src/main/java/org/microemu/Injected.java
(original)
+++ harmony/enhanced/microemulator/microemu-injected/src/main/java/org/microemu/Injected.java
Mon May 26 15:48:09 2008
@@ -80,19 +80,6 @@
 		}
 	}
 	
-	/**
-	 * 
-	 * Returns an input stream for reading the specified resource.
-     *
-     * <p> The search order is described in the documentation for {@link
-     * #getResource(String)}.  </p>
-     *
-     * @param  origClass
-     * @param  name  The resource name
-     *
-     * @return  An input stream for reading the resource, or <tt>null</tt>
-     *          if the resource could not be found
-	 */
 	public static InputStream getResourceAsStream(Class origClass, String name)  {
 		return origClass.getResourceAsStream(name);
 	}

Modified: harmony/enhanced/microemulator/microemu-javase-swing/src/main/java/org/microemu/app/ui/swing/JMRUMenu.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/microemulator/microemu-javase-swing/src/main/java/org/microemu/app/ui/swing/JMRUMenu.java?rev=660330&r1=660329&r2=660330&view=diff
==============================================================================
--- harmony/enhanced/microemulator/microemu-javase-swing/src/main/java/org/microemu/app/ui/swing/JMRUMenu.java
(original)
+++ harmony/enhanced/microemulator/microemu-javase-swing/src/main/java/org/microemu/app/ui/swing/JMRUMenu.java
Mon May 26 15:48:09 2008
@@ -80,13 +80,8 @@
 		this.insert(menu, 0);
 	}
 
-	/**
-	 * Do not create new Event
-	 */
 	protected void fireActionPerformed(ActionEvent event) {
 		Object[] listeners = listenerList.getListenerList();
-		// Process the listeners last to first, notifying
-		// those that are interested in this event
 		for (int i = listeners.length - 2; i >= 0; i -= 2) {
 			if (listeners[i] == ActionListener.class) {
 				((ActionListener) listeners[i + 1]).actionPerformed(event);

Modified: harmony/enhanced/microemulator/microemu-javase/src/main/java/org/microemu/Injected.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/microemulator/microemu-javase/src/main/java/org/microemu/Injected.java?rev=660330&r1=660329&r2=660330&view=diff
==============================================================================
--- harmony/enhanced/microemulator/microemu-javase/src/main/java/org/microemu/Injected.java
(original)
+++ harmony/enhanced/microemulator/microemu-javase/src/main/java/org/microemu/Injected.java
Mon May 26 15:48:09 2008
@@ -89,19 +89,6 @@
 		return MIDletSystemProperties.getProperty(key);
 	}
 	
-	/**
-	 * 
-	 * Returns an input stream for reading the specified resource.
-     *
-     * <p> The search order is described in the documentation for {@link
-     * #getResource(String)}.  </p>
-     *
-     * @param  origClass
-     * @param  name  The resource name
-     *
-     * @return  An input stream for reading the resource, or <tt>null</tt>
-     *          if the resource could not be found
-	 */
 	public static InputStream getResourceAsStream(Class origClass, String name)  {
 		return MIDletResourceLoader.getResourceAsStream(origClass, name);
 	}

Modified: harmony/enhanced/microemulator/microemu-javase/src/main/java/org/microemu/app/classloader/ExtensionsClassLoader.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/microemulator/microemu-javase/src/main/java/org/microemu/app/classloader/ExtensionsClassLoader.java?rev=660330&r1=660329&r2=660330&view=diff
==============================================================================
--- harmony/enhanced/microemulator/microemu-javase/src/main/java/org/microemu/app/classloader/ExtensionsClassLoader.java
(original)
+++ harmony/enhanced/microemulator/microemu-javase/src/main/java/org/microemu/app/classloader/ExtensionsClassLoader.java
Mon May 26 15:48:09 2008
@@ -71,34 +71,6 @@
 		}
 	}
 	 
-	
-	/**
-	 * Finds the resource with the given name. A resource is some data (images,
-	 * audio, text, etc) that can be accessed by class code in a way that is
-	 * independent of the location of the code.
-	 * 
-	 * <p>
-	 * The name of a resource is a '<tt>/</tt>'-separated path name that
-	 * identifies the resource.
-	 * 
-	 * <p>
-	 * Search order is reverse to standard implemenation
-	 * </p>
-	 * 
-	 * <p>
-	 * This method will first use {@link #findResource(String)} to find the
-	 * resource. That failing, this method will NOT invoke the parent class
-	 * loader.
-	 * </p>
-	 * 
-	 * @param name
-	 *            The resource name
-	 * 
-	 * @return A <tt>URL</tt> object for reading the resource, or
-	 *         <tt>null</tt> if the resource could not be found or the invoker
-	 *         doesn't have adequate privileges to get the resource.
-	 * 
-	 */
 	public URL getResource(final String name) {
 		try {
 			URL url = (URL) AccessController.doPrivileged(new PrivilegedExceptionAction() {

Modified: harmony/enhanced/microemulator/microemu-javase/src/main/java/org/microemu/app/classloader/MIDletClassLoader.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/microemulator/microemu-javase/src/main/java/org/microemu/app/classloader/MIDletClassLoader.java?rev=660330&r1=660329&r2=660330&view=diff
==============================================================================
--- harmony/enhanced/microemulator/microemu-javase/src/main/java/org/microemu/app/classloader/MIDletClassLoader.java
(original)
+++ harmony/enhanced/microemulator/microemu-javase/src/main/java/org/microemu/app/classloader/MIDletClassLoader.java
Mon May 26 15:48:09 2008
@@ -107,13 +107,6 @@
 		this.delegatingToParent = (clConfig.delegationType == MIDletClassLoaderConfig.DELEGATION_DELEGATING);
 	}
 
-	/**
-	 * Appends the Class Location URL to the list of URLs to search for classes
-	 * and resources.
-	 * 
-	 * @param Class
-	 *            Name
-	 */
 	public void addClassURL(String className) throws MalformedURLException {
 		String resource = getClassResourceName(className);
 		URL url = getParent().getResource(resource);
@@ -147,44 +140,6 @@
 		super.addURL(url);
 	}
 
-	/**
-	 * Loads the class with the specified <a href="#name">binary name</a>.
-	 * 
-	 * <p>
-	 * Search order is reverse to standard implemenation
-	 * </p>
-	 * 
-	 * This implementation of this method searches for classes in the following
-	 * order:
-	 * 
-	 * <p>
-	 * <ol>
-	 * 
-	 * <li>
-	 * <p>
-	 * Invoke {@link #findLoadedClass(String)} to check if the class has already
-	 * been loaded.
-	 * </p>
-	 * </li>
-	 * 
-	 * <li>
-	 * <p>
-	 * Invoke the {@link #findClass(String)} method to find the class in this
-	 * class loader URLs.
-	 * </p>
-	 * </li>
-	 * 
-	 * <li>
-	 * <p>
-	 * Invoke the {@link #loadClass(String) <tt>loadClass</tt>} method on the
-	 * parent class loader. If the parent is <tt>null</tt> the class loader
-	 * built-in to the virtual machine is used, instead.
-	 * </p>
-	 * </li>
-	 * 
-	 * </ol>
-	 * 
-	 */
 	protected synchronized Class loadClass(String name, boolean resolve) throws ClassNotFoundException
{
 		if (debug) {
 			Logger.debug("loadClass", name);
@@ -218,34 +173,6 @@
 		return result;
 	}
 
-	/**
-	 * Finds the resource with the given name. A resource is some data (images,
-	 * audio, text, etc) that can be accessed by class code in a way that is
-	 * independent of the location of the code.
-	 * 
-	 * <p>
-	 * The name of a resource is a '<tt>/</tt>'-separated path name that
-	 * identifies the resource.
-	 * 
-	 * <p>
-	 * Search order is reverse to standard implemenation
-	 * </p>
-	 * 
-	 * <p>
-	 * This method will first use {@link #findResource(String)} to find the
-	 * resource. That failing, this method will NOT invoke the parent class
-	 * loader if delegatingToParent=false.
-	 * </p>
-	 * 
-	 * @param name
-	 *            The resource name
-	 * 
-	 * @return A <tt>URL</tt> object for reading the resource, or
-	 *         <tt>null</tt> if the resource could not be found or the invoker
-	 *         doesn't have adequate privileges to get the resource.
-	 * 
-	 */
-
 	public URL getResource(final String name) {
 		try {
 			return (URL) AccessController.doPrivileged(new PrivilegedExceptionAction() {
@@ -265,9 +192,6 @@
 		}
 	}
 
-	/**
-	 * Allow access to resources
-	 */
 	public InputStream getResourceAsStream(String name) {
 		final URL url = getResource(name);
 		if (url == null) {
@@ -314,11 +238,6 @@
 		return false;
 	}
 
-	/**
-	 * Special case for classes injected to MIDlet
-	 * 
-	 * @param klass
-	 */
 	public void disableClassPreporcessing(Class klass) {
 		disableClassPreporcessing(klass.getName());
 	}

Modified: harmony/enhanced/microemulator/microemu-javase/src/main/java/org/microemu/app/util/IOUtils.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/microemulator/microemu-javase/src/main/java/org/microemu/app/util/IOUtils.java?rev=660330&r1=660329&r2=660330&view=diff
==============================================================================
--- harmony/enhanced/microemulator/microemu-javase/src/main/java/org/microemu/app/util/IOUtils.java
(original)
+++ harmony/enhanced/microemulator/microemu-javase/src/main/java/org/microemu/app/util/IOUtils.java
Mon May 26 15:48:09 2008
@@ -93,14 +93,6 @@
 		}
 	}
 	
-    /**
-     * Unconditionally close an <code>InputStream</code>.
-     * <p>
-     * Equivalent to {@link InputStream#close()}, except any exceptions will be ignored.
-     * This is typically used in finally blocks.
-     *
-     * @param input  the InputStream to close, may be null or already closed
-     */
     public static void closeQuietly(InputStream input) {
         try {
             if (input != null) {
@@ -111,14 +103,6 @@
         }
     }
     
-    /**
-     * Unconditionally close an <code>OutputStream</code>.
-     * <p>
-     * Equivalent to {@link OutputStream#close()}, except any exceptions will be ignored.
-     * This is typically used in finally blocks.
-     *
-     * @param output  the OutputStream to close, may be null or already closed
-     */
     public static void closeQuietly(OutputStream output) {
         try {
             if (output != null) {
@@ -129,14 +113,6 @@
         }
     }
     
-    /**
-     * Unconditionally close a <code>Writer</code>.
-     * <p>
-     * Equivalent to {@link Writer#close()}, except any exceptions will be ignored.
-     * This is typically used in finally blocks.
-     *
-     * @param output  the Writer to close, may be null or already closed
-     */
     public static void closeQuietly(Writer output) {
         try {
             if (output != null) {

Modified: harmony/enhanced/microemulator/microemu-javase/src/main/java/org/microemu/app/util/MIDletClassLoader.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/microemulator/microemu-javase/src/main/java/org/microemu/app/util/MIDletClassLoader.java?rev=660330&r1=660329&r2=660330&view=diff
==============================================================================
--- harmony/enhanced/microemulator/microemu-javase/src/main/java/org/microemu/app/util/MIDletClassLoader.java
(original)
+++ harmony/enhanced/microemulator/microemu-javase/src/main/java/org/microemu/app/util/MIDletClassLoader.java
Mon May 26 15:48:09 2008
@@ -172,26 +172,6 @@
 //		}
 //	}
 //
-//    /**
-//     * Loads the class with the specified <a href="#name">binary name</a>.
-//     * This implementation of this method searches for classes in the
-//     * following order:
-//     *
-//     * <p><ol>
-//     *
-//     *   <li><p> Invoke {@link #findLoadedClass(String)} to check if the class
-//     *   has already been loaded.  </p></li>
-//     *
-//     *   <li><p> Invoke the {@link #findClass(String)} method to find the
-//     *   class in this class loader.  </p></li>
-//     *
-//     *   <li><p> Invoke the {@link #loadClass(String) <tt>loadClass</tt>}
method
-//     *   on the parent class loader.  If the parent is <tt>null</tt> the class
-//     *   loader built-in to the virtual machine is used, instead.  </p></li>
-//     *
-//     * </ol>
-//     *
-//     */
 //	protected synchronized Class loadClass(String name, boolean resolve) throws ClassNotFoundException
{
 //		// First, check if the class has already been loaded
 //		Class result = findLoadedClass(name);

Modified: harmony/enhanced/microemulator/microemu-javase/src/main/java/org/microemu/app/util/MIDletSystemProperties.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/microemulator/microemu-javase/src/main/java/org/microemu/app/util/MIDletSystemProperties.java?rev=660330&r1=660329&r2=660330&view=diff
==============================================================================
--- harmony/enhanced/microemulator/microemu-javase/src/main/java/org/microemu/app/util/MIDletSystemProperties.java
(original)
+++ harmony/enhanced/microemulator/microemu-javase/src/main/java/org/microemu/app/util/MIDletSystemProperties.java
Mon May 26 15:48:09 2008
@@ -84,14 +84,6 @@
 		acc = AccessController.getContext();
 	}
 
-	/**
-	 * Gets the system property indicated by the specified key. The only
-	 * function called by MIDlet
-	 * 
-	 * @param key
-	 *            the name of the system property
-	 * @return
-	 */
 	public static String getProperty(String key) {
 		initOnce();
 		if (props.containsKey(key)) {

Modified: harmony/enhanced/microemulator/microemu-javase/src/main/java/org/microemu/cldc/https/Connection.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/microemulator/microemu-javase/src/main/java/org/microemu/cldc/https/Connection.java?rev=660330&r1=660329&r2=660330&view=diff
==============================================================================
--- harmony/enhanced/microemulator/microemu-javase/src/main/java/org/microemu/cldc/https/Connection.java
(original)
+++ harmony/enhanced/microemulator/microemu-javase/src/main/java/org/microemu/cldc/https/Connection.java
Mon May 26 15:48:09 2008
@@ -77,12 +77,6 @@
 		return "https";
 	}
 
-
-    /**
-     * Returns the network port number of the URL for this HttpsConnection
-     *
-     * @return  the network port number of the URL for this HttpsConnection. The default
HTTPS port number (443) is returned if there was no port number in the string passed to Connector.open.
-     */
 	public int getPort() {
 		if (cn == null) {
 			return -1;

Modified: harmony/enhanced/microemulator/microemu-javase/src/main/java/org/microemu/util/ThreadUtils.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/microemulator/microemu-javase/src/main/java/org/microemu/util/ThreadUtils.java?rev=660330&r1=660329&r2=660330&view=diff
==============================================================================
--- harmony/enhanced/microemulator/microemu-javase/src/main/java/org/microemu/util/ThreadUtils.java
(original)
+++ harmony/enhanced/microemulator/microemu-javase/src/main/java/org/microemu/util/ThreadUtils.java
Mon May 26 15:48:09 2008
@@ -29,12 +29,6 @@
 	
 	private static boolean java14 = false;
 	
-	/**
-     * Creates a new timer whose associated thread has the specified name in Java 1.5.
-	 * 
-	 * @param name the name of the associated thread
-     *
-	 */
 	public static Timer createTimer(String name) {
 		try {
 			Constructor c = Timer.class.getConstructor(new Class[] { String.class });



Mime
View raw message