commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1088138 - /commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/names/ResourceNameDiscoverImpl.java
Date Sat, 02 Apr 2011 21:38:09 GMT
Author: simonetripodi
Date: Sat Apr  2 21:38:09 2011
New Revision: 1088138

URL: http://svn.apache.org/viewvc?rev=1088138&view=rev
Log:
removed trailing spaces

Modified:
    commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/names/ResourceNameDiscoverImpl.java

Modified: commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/names/ResourceNameDiscoverImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/names/ResourceNameDiscoverImpl.java?rev=1088138&r1=1088137&r2=1088138&view=diff
==============================================================================
--- commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/names/ResourceNameDiscoverImpl.java
(original)
+++ commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/names/ResourceNameDiscoverImpl.java
Sat Apr  2 21:38:09 2011
@@ -22,47 +22,47 @@ import org.apache.commons.discovery.Reso
 
 /**
  * Helper class for methods implementing the ResourceNameDiscover interface.
- * 
+ *
  * @author Richard A. Sitze
  */
 public abstract class ResourceNameDiscoverImpl implements ResourceNameDiscover
 {
     /**
      * Locate names of resources that are bound to <code>resourceName</code>.
-     * 
+     *
      * @return ResourceNameIterator
      */
     public abstract ResourceNameIterator findResourceNames(String resourceName);
 
     /**
      * Locate names of resources that are bound to <code>resourceName</code>.
-     * 
+     *
      * @return ResourceNameIterator
      */
     public ResourceNameIterator findResourceNames(final ResourceNameIterator inputNames)
{
         return new ResourceNameIterator() {
             private ResourceNameIterator resourceNames = null;
             private String resourceName = null;
-            
+
             public boolean hasNext() {
                 if (resourceName == null) {
                     resourceName = getNextResourceName();
                 }
                 return resourceName != null;
             }
-            
+
             public String nextResourceName() {
                 String name = resourceName;
                 resourceName = null;
                 return name;
             }
-            
+
             private String getNextResourceName() {
                 while (inputNames.hasNext() && (resourceNames == null  ||  !resourceNames.hasNext()))
{
                     resourceNames =
                         findResourceNames(inputNames.nextResourceName());
                 }
-    
+
                 return (resourceNames != null  &&  resourceNames.hasNext())
                        ? resourceNames.nextResourceName()
                        : null;



Mime
View raw message