Revision: 5702
          http://jnode.svn.sourceforge.net/jnode/?rev=5702&view=rev
Author:   fduminy
Date:     2009-12-30 20:38:31 +0000 (Wed, 30 Dec 2009)

Log Message:
-----------
fixed javadoc

Modified Paths:
--------------
    trunk/core/src/driver/org/jnode/driver/AbstractDeviceManager.java
    trunk/core/src/driver/org/jnode/driver/DeviceToDriverMapper.java

Modified: trunk/core/src/driver/org/jnode/driver/AbstractDeviceManager.java
===================================================================
--- trunk/core/src/driver/org/jnode/driver/AbstractDeviceManager.java   
2009-12-28 21:36:03 UTC (rev 5701)
+++ trunk/core/src/driver/org/jnode/driver/AbstractDeviceManager.java   
2009-12-30 20:38:31 UTC (rev 5702)
@@ -43,37 +43,37 @@
 public abstract class AbstractDeviceManager implements DeviceManager {
 
     /**
-     * All registered devices
+     * All registered devices.
      */
     private final Map<String, Device> devices = new HashMap<String, Device>();
 
     /**
-     * All registered device to driver mappers
+     * All registered device to driver mappers.
      */
     private final List<DeviceToDriverMapper> mappers = new 
ArrayList<DeviceToDriverMapper>();
 
     /**
-     * All registered device finders
+     * All registered device finders.
      */
     private final List<DeviceFinder> finders = new ArrayList<DeviceFinder>();
 
     /**
-     * All listeners to my events
+     * All listeners to my events.
      */
     private final List<DeviceManagerListener> listeners = new 
LinkedList<DeviceManagerListener>();
 
     /**
-     * All listeners to device events
+     * All listeners to device events.
      */
     private final List<DeviceListener> deviceListeners = new 
LinkedList<DeviceListener>();
 
     /**
-     * The system bus
+     * The system bus.
      */
     private final Bus systemBus;
 
     /**
-     * The JNode command line
+     * The JNode command line.
      */
     private final String cmdLine;
 
@@ -84,7 +84,7 @@
     private long fastStartTimeout = 1000;
 
     /**
-     * Create a new instance
+     * Create a new instance.
      */
     public AbstractDeviceManager() {
         this((String) AccessController.doPrivileged(new GetPropertyAction(
@@ -92,7 +92,7 @@
     }
 
     /**
-     * Create a new instance
+     * Create a new instance.
      * @param commandLine command line or an empty string
      */
     protected AbstractDeviceManager(String commandLine) {
@@ -151,7 +151,7 @@
      * startup is delayed.
      * <li>Connect the driver to the device, if a driver is found
      * <li>Attempt to start the device. If this fails an exception is printed
-     * in the log. You can test if the device was started successfully, by read
+     * in the log. You can test if the device was started successfully, by 
reading 
      * the <code>isStarted</code> status.
      * </ul>
      * Note that if the device already has a driver connected to it, the first
@@ -308,7 +308,7 @@
     }
 
     /**
-     * Rename a device, optionally using an autonumber postfix
+     * Rename a device, optionally using an autonumber postfix.
      *
      * @param device
      * @param name
@@ -346,7 +346,7 @@
     }
 
     /**
-     * Add a listener
+     * Add a listener.
      *
      * @param listener
      */
@@ -357,7 +357,7 @@
     }
 
     /**
-     * Add a listener
+     * Add a listener.
      *
      * @param listener
      */
@@ -368,7 +368,7 @@
     }
 
     /**
-     * Add a device listener
+     * Add a device listener.
      *
      * @param listener
      */
@@ -379,7 +379,7 @@
     }
 
     /**
-     * Add a device listener
+     * Add a device listener.
      *
      * @param listener
      */
@@ -390,7 +390,7 @@
     }
 
     /**
-     * Stop all devices
+     * Stop all devices.
      */
     public final void stopDevices() {
         while (!devices.isEmpty()) {
@@ -407,7 +407,7 @@
 
     /**
      * Gets the system bus. The system bus is the root of all hardware busses
-     * and devices connected to these busses.
+     * and devices connected to these buses.
      *
      * @return The system bus
      */
@@ -488,7 +488,7 @@
     }
 
     /**
-     * Start this manager
+     * Start this manager.
      *
      * @throws PluginException
      */
@@ -509,7 +509,7 @@
     }
 
     /**
-     * Stop this manager
+     * Stop this manager.
      *
      * @throws PluginException
      */
@@ -540,7 +540,7 @@
     }
 
     /**
-     * Fire a deviceUnregister event to all my listeners
+     * Fire a deviceUnregister event to all my listeners.
      *
      * @param device
      */
@@ -626,7 +626,7 @@
     }
 
     /**
-     * Comparator used to sort DeviceToDriverMapper's.
+     * Comparator used to sort {...@link org.jnode.driver.DeviceToDriverMapper 
DeviceToDriverMapper}s.
      *
      * @author Ewout Prangsma (e...@users.sourceforge.net)
      */

Modified: trunk/core/src/driver/org/jnode/driver/DeviceToDriverMapper.java
===================================================================
--- trunk/core/src/driver/org/jnode/driver/DeviceToDriverMapper.java    
2009-12-28 21:36:03 UTC (rev 5701)
+++ trunk/core/src/driver/org/jnode/driver/DeviceToDriverMapper.java    
2009-12-30 20:38:31 UTC (rev 5702)
@@ -24,7 +24,7 @@
  * Interface used to search for a suitable driver for a given device.
  * <p/>
  * Each DeviceToDriverMapper must be registered in the DeviceManager
- * and is called in order of registration to search for a suitable driver.
+ * in order to be used while searching for a suitable driver.
  *
  * @author Ewout Prangsma (e...@users.sourceforge.net)
  */
@@ -51,11 +51,10 @@
     public static final int MATCH_DEVCLASS = 2;
 
     /**
-     * Return a suitable driver for the given device, or if no suitable
-     * driver is found, return <code>null</code>.
+     * Return a suitable driver for the given device or <code>null</code>.
      *
      * @param device
-     * @return A suitable driver of <code>null</code> if no suitable driver is 
found.
+     * @return A suitable driver or <code>null</code> if no suitable driver is 
found.
      */
     public Driver findDriver(Device device);
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Jnode-svn-commits mailing list
Jnode-svn-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jnode-svn-commits

Reply via email to