CVS: plexus-container-new/src/java/org/apache/plexus/util DirectoryScanner.java,1.1,1.2

[email protected]
Newsgroups gmane.comp.java.plexus.devel
Message-ID <[email protected]>
Update of /cvsroot/plexus/plexus-container-new/src/java/org/apache/plexus/util
In directory eng.werken.com:/tmp/cvs-serv25512/src/java/org/apache/plexus/util

Modified Files:
	DirectoryScanner.java 
Log Message:
o Removed all weird Plexus manglings of Avalon's interfaces. Now Plexus can
  handle many container APIs and many lifecycles so we won't tamper with
  Avalon. Where Avalon applies we will adhere to whatever they decide.
  If users need something different then they can extend the lifecycle as
  they see fit and create different or extended container APIs.



Index: DirectoryScanner.java
===================================================================
RCS file: /cvsroot/plexus/plexus-container-new/src/java/org/apache/plexus/util/DirectoryScanner.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- DirectoryScanner.java	12 Apr 2003 18:01:44 -0000	1.1
+++ DirectoryScanner.java	23 Apr 2003 03:57:13 -0000	1.2
@@ -1037,11 +1037,12 @@
      *
      * @since Ant 1.5
      */
-    public boolean isSymbolicLink(File parent, String name)
-        throws IOException {
-        File resolvedParent = new File(parent.getCanonicalPath());
-        File toTest = new File(resolvedParent, name);
-        return !toTest.getAbsolutePath().equals(toTest.getCanonicalPath());
+    public boolean isSymbolicLink( File parent, String name )
+        throws IOException
+    {
+        File resolvedParent = new File( parent.getCanonicalPath() );
+        File toTest = new File( resolvedParent, name );
+        return !toTest.getAbsolutePath().equals( toTest.getCanonicalPath() );
     }
 
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.