commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgo...@apache.org
Subject svn commit: r763740 - in /commons/proper/vfs/trunk: ./ core/src/main/java/org/apache/commons/vfs/
Date Thu, 09 Apr 2009 17:22:32 GMT
Author: rgoers
Date: Thu Apr  9 17:22:31 2009
New Revision: 763740

URL: http://svn.apache.org/viewvc?rev=763740&view=rev
Log:
Some code style changes

Added:
    commons/proper/vfs/trunk/checkstyle-header.txt
Modified:
    commons/proper/vfs/trunk/checkstyle.xml
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/AllFileSelector.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/CacheStrategy.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/Capability.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileChangeEvent.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileContent.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileContentInfo.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileContentInfoFactory.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileDepthSelector.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileFilter.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileFilterSelector.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileListener.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileMonitor.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileName.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileNotFolderException.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileNotFoundException.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileObject.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileSystemException.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileSystemManager.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileType.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileTypeSelector.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileUtil.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FilesCache.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/NameScope.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/Selectors.java
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/package.html
    commons/proper/vfs/trunk/pom.xml

Added: commons/proper/vfs/trunk/checkstyle-header.txt
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/checkstyle-header.txt?rev=763740&view=auto
==============================================================================
--- commons/proper/vfs/trunk/checkstyle-header.txt (added)
+++ commons/proper/vfs/trunk/checkstyle-header.txt Thu Apr  9 17:22:31 2009
@@ -0,0 +1,16 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
\ No newline at end of file

Modified: commons/proper/vfs/trunk/checkstyle.xml
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/checkstyle.xml?rev=763740&r1=763739&r2=763740&view=diff
==============================================================================
--- commons/proper/vfs/trunk/checkstyle.xml (original)
+++ commons/proper/vfs/trunk/checkstyle.xml Thu Apr  9 17:22:31 2009
@@ -58,8 +58,8 @@
         <!-- Checks for Headers                              -->
         <!-- See http://checkstyle.sf.net/config_header.html -->
         <module name="Header">
-            <property name="headerFile" value="${licensedir}/LICENSE.txt"/>
-            <property name="ignoreLines" value="2"/>
+            <property name="headerFile" value="${licensedir}"/>
+            <!--<property name="ignoreLines" value="2"/> -->
         </module>
 
         <!-- Following interprets the header file as regular expressions. -->

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/AllFileSelector.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/AllFileSelector.java?rev=763740&r1=763739&r2=763740&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/AllFileSelector.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/AllFileSelector.java Thu Apr  9 17:22:31 2009
@@ -5,9 +5,9 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -27,6 +27,8 @@
 {
     /**
      * Determines if a file or folder should be selected.
+     * @param fileInfo The file selection information.
+     * @return true if the file should be selected, false otherwise.
      */
     public boolean includeFile(final FileSelectInfo fileInfo)
     {
@@ -35,6 +37,8 @@
 
     /**
      * Determines whether a folder should be traversed.
+     * @param fileInfo The file selection information.
+     * @return true if descendents should be traversed, fase otherwise.
      */
     public boolean traverseDescendents(final FileSelectInfo fileInfo)
     {

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/CacheStrategy.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/CacheStrategy.java?rev=763740&r1=763739&r2=763740&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/CacheStrategy.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/CacheStrategy.java Thu Apr  9 17:22:31 2009
@@ -5,9 +5,9 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -36,10 +36,14 @@
 
     /**
      * Refresh the data every time you call a method on the fileObject.
-     * You'll use this only if you really need the latest info as this setting is a major performance loss.  
+     * You'll use this only if you really need the latest info as this setting is a major performance
+     * loss.
      */
     public static final CacheStrategy ON_CALL = new CacheStrategy("oncall");
 
+    /**
+     * Cache strategy name
+     */
     private final String name;
 
     private CacheStrategy(final String name)
@@ -49,6 +53,7 @@
 
     /**
      * Returns the name of the scope.
+     * @return the name of the scope.
      */
     public String toString()
     {
@@ -57,6 +62,7 @@
 
     /**
      * Returns the name of the scope.
+     * @return the name of the scope.
      */
     public String getName()
     {

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/Capability.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/Capability.java?rev=763740&r1=763739&r2=763740&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/Capability.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/Capability.java Thu Apr  9 17:22:31 2009
@@ -5,9 +5,9 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -145,10 +145,14 @@
     public static final Capability VIRTUAL = new Capability("VIRTUAL");
 
     /**
-     * Provides directories which allows you to read its content through {@link org.apache.commons.vfs.FileContent#getInputStream()} 
+     * Provides directories which allows you to read its content through
+     * {@link org.apache.commons.vfs.FileContent#getInputStream()}
      */
     public static final Capability DIRECTORY_READ_CONTENT = new Capability("DIRECTORY_READ_CONTENT");
 
+    /**
+     * The Capability name
+     */
     private final String name;
 
     private Capability(final String name)

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileChangeEvent.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileChangeEvent.java?rev=763740&r1=763739&r2=763740&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileChangeEvent.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileChangeEvent.java Thu Apr  9 17:22:31 2009
@@ -5,9 +5,9 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -24,6 +24,9 @@
  */
 public class FileChangeEvent
 {
+    /**
+     * The file object
+     */
     private final FileObject file;
 
     public FileChangeEvent(final FileObject file)
@@ -33,6 +36,7 @@
 
     /**
      * Returns the file that changed.
+     * @return The FileObject that was changed.
      */
     public FileObject getFile()
     {

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileContent.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileContent.java?rev=763740&r1=763739&r2=763740&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileContent.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileContent.java Thu Apr  9 17:22:31 2009
@@ -5,9 +5,9 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -44,6 +44,7 @@
 {
     /**
      * Returns the file which this is the content of.
+     * @return The FileObject this is the content of.
      */
     FileObject getFile();
 
@@ -79,6 +80,7 @@
      * Checks if an attribute of the file's content exists.
      *
      * @param attrName The name of the attribute.
+     * @return true if the attribute exists, false otherwise.
      * @throws FileSystemException If the file does not exist, or does not support
      *                             attributes.
      */
@@ -87,7 +89,7 @@
 
     /**
      * Returns a read-only map of this file's attributes.
-     *
+     * @return The attribute Map.
      * @throws FileSystemException If the file does not exist, or does not support attributes.
      */
     Map getAttributes() throws FileSystemException;
@@ -184,6 +186,8 @@
      * <p>There may only be a single input or output stream open for the
      * file at any time.
      *
+     * @param mode The mode to use to access the file.
+     * @return the stream for reading and writing the file's content.
      * @throws FileSystemException If the file is read-only, or is being read, or is being written,
      *                             or on error opening the stream.
      */
@@ -215,16 +219,20 @@
      * <p>This method is a hint to the implementation that it can release
      * resources.  This object can continue to be used after calling this
      * method.
+     * @throws FileSystemException if an error occurs closing the file.
      */
     void close() throws FileSystemException;
 
     /**
      * get the content info. e.g. type, encoding, ...
+     * @return the FileContentInfo
+     * @throws FileSystemException if an error occurs.
      */
     public FileContentInfo getContentInfo() throws FileSystemException;
 
     /**
      * check if this file has open streams
+     * @return true if the file is open, false otherwise.
      */
     public boolean isOpen();
 }

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileContentInfo.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileContentInfo.java?rev=763740&r1=763739&r2=763740&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileContentInfo.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileContentInfo.java Thu Apr  9 17:22:31 2009
@@ -26,11 +26,13 @@
 {
     /**
      * the content type
+     * @return The file content type.
      */
-    public String getContentType();
+    String getContentType();
 
     /**
      * the content encoding
+     * @return The file content encoding.
      */
-    public String getContentEncoding();
+    String getContentEncoding();
 }

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileContentInfoFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileContentInfoFactory.java?rev=763740&r1=763739&r2=763740&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileContentInfoFactory.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileContentInfoFactory.java Thu Apr  9 17:22:31 2009
@@ -18,7 +18,7 @@
 
 /**
  * Create a class which is able to determine the content-info for the given content
- * 
+ *
  * @author <a href="mailto:imario@apache.org">Mario Ivankovits</a>
  * @version $Revision$ $Date$
  */

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileDepthSelector.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileDepthSelector.java?rev=763740&r1=763739&r2=763740&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileDepthSelector.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileDepthSelector.java Thu Apr  9 17:22:31 2009
@@ -5,9 +5,9 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -25,7 +25,14 @@
 public class FileDepthSelector
     implements FileSelector
 {
+    /**
+     * The minimum depth
+     */
     private final int minDepth;
+
+    /**
+     * The maximum depth
+     */
     private final int maxDepth;
 
     public FileDepthSelector(int minDepth, int maxDepth)
@@ -36,18 +43,22 @@
 
     /**
      * Determines if a file or folder should be selected.
+     * @param fileInfo The file selection information
+     * @return true if the file or folder should be included, false otherwise.
      */
     public boolean includeFile(final FileSelectInfo fileInfo)
     {
         final int depth = fileInfo.getDepth();
-        return (minDepth <= depth && depth <= maxDepth);
+        return minDepth <= depth && depth <= maxDepth;
     }
 
     /**
      * Determines whether a folder should be traversed.
+     * @param fileInfo The file selection information
+     * @return true if the file or folder should be traversed, false otherwise.
      */
     public boolean traverseDescendents(final FileSelectInfo fileInfo)
     {
-        return (fileInfo.getDepth() < maxDepth);
+        return fileInfo.getDepth() < maxDepth;
     }
 }

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileFilter.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileFilter.java?rev=763740&r1=763739&r2=763740&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileFilter.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileFilter.java Thu Apr  9 17:22:31 2009
@@ -29,5 +29,5 @@
      * @param fileInfo the file or folder to select.
      * @return true if the file should be selected.
      */
-    public abstract boolean accept(final FileSelectInfo fileInfo);
+    boolean accept(final FileSelectInfo fileInfo);
 }

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileFilterSelector.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileFilterSelector.java?rev=763740&r1=763739&r2=763740&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileFilterSelector.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileFilterSelector.java Thu Apr  9 17:22:31 2009
@@ -26,6 +26,9 @@
  */
 public class FileFilterSelector extends FileDepthSelector
 {
+    /**
+     * The FileFilter.
+     */
     private FileFilter fileFilter;
 
     public FileFilterSelector()
@@ -41,6 +44,8 @@
 
     /**
      * Determines if a file or folder should be selected.
+     * @param fileInfo The file selection information.
+     * @return true if the file or folder should be included, false otherwise.
      */
     public boolean includeFile(final FileSelectInfo fileInfo)
     {
@@ -52,6 +57,11 @@
         return accept(fileInfo);
     }
 
+    /**
+     * Determines whether the file should be selected.
+     * @param fileInfo The file selection information.
+     * @return true if the file should be selected, false otherwise.
+     */
     public boolean accept(final FileSelectInfo fileInfo)
     {
         if (fileFilter != null)

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileListener.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileListener.java?rev=763740&r1=763739&r2=763740&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileListener.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileListener.java Thu Apr  9 17:22:31 2009
@@ -5,9 +5,9 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -26,17 +26,23 @@
 {
     /**
      * Called when a file is created.
+     * @param event The FileChangeEvent.
+     * @throws Exception if an error occurs.
      */
     void fileCreated(FileChangeEvent event) throws Exception;
 
     /**
      * Called when a file is deleted.
+     * @param event The FileChangeEvent.
+     * @throws Exception if an error occurs.
      */
     void fileDeleted(FileChangeEvent event) throws Exception;
 
     /**
      * Called when a file is changed.<br />
      * This will only happen if you monitor the file using {@link FileMonitor}.
+     * @param event The FileChangeEvent.
+     * @throws Exception if an error occurs.
      */
     void fileChanged(FileChangeEvent event) throws Exception;
 }

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileMonitor.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileMonitor.java?rev=763740&r1=763739&r2=763740&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileMonitor.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileMonitor.java Thu Apr  9 17:22:31 2009
@@ -26,11 +26,13 @@
 {
     /**
      * Adds a file to be monitored.
+     * @param file The FileObject to monitor.
      */
-    public void addFile(final FileObject file);
+    void addFile(final FileObject file);
 
     /**
      * Removes a file from being monitored.
+     * @param file The FileObject to stop monitoring.
      */
-    public void removeFile(final FileObject file);
+    void removeFile(final FileObject file);
 }

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileName.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileName.java?rev=763740&r1=763739&r2=763740&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileName.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileName.java Thu Apr  9 17:22:31 2009
@@ -5,9 +5,9 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -29,17 +29,17 @@
     /**
      * The separator character used in file paths.
      */
-    public final char SEPARATOR_CHAR = '/';
+    char SEPARATOR_CHAR = '/';
 
     /**
      * The separator used in file paths.
      */
-    public final String SEPARATOR = "/";
+    String SEPARATOR = "/";
 
     /**
      * The absolute path of the root of a file system.
      */
-    public final String ROOT_PATH = "/";
+    String ROOT_PATH = "/";
 
     /**
      * Returns the base name of this file.  The base name is the last element
@@ -50,7 +50,7 @@
      *
      * @return The base name.  Never returns null.
      */
-    public String getBaseName();
+    String getBaseName();
 
     /**
      * Returns the absolute path of this file, within its file system.  This
@@ -62,7 +62,7 @@
      *
      * @return The path.  Never returns null.
      */
-    public String getPath();
+    String getPath();
 
     /**
      * Returns the absolute path of this file, within its file system.  This
@@ -78,7 +78,7 @@
      * @return The path.  Never returns null.
      * @throws FileSystemException if the path is not correctly encoded
      */
-    public String getPathDecoded() throws FileSystemException;
+    String getPathDecoded() throws FileSystemException;
 
     /**
      * Returns the extension of this file name.
@@ -92,28 +92,33 @@
      * Returns the depth of this file name, within its file system.  The depth
      * of the root of a file system is 0.  The depth of any other file is
      * 1 + the depth of its parent.
+     * @return The depth of this file name.
      */
-    public int getDepth();
+    int getDepth();
 
     /**
      * Returns the URI scheme of this file.
+     * @return The URI scheme of this file.
      */
-    public String getScheme();
+    String getScheme();
 
     /**
      * Returns the absolute URI of this file.
+     * @return the absolute URI of this file.
      */
-    public String getURI();
+    String getURI();
 
     /**
      * Returns the root URI of the file system this file belongs to.
+     * @return the root URI.
      */
-    public String getRootURI();
+    String getRootURI();
 
     /**
      * find the root of the filesystem
+     * @return the file system root.
      */
-    public FileName getRoot();
+    FileName getRoot();
 
     /**
      * Returns the file name of the parent of this file.  The root of a
@@ -122,7 +127,7 @@
      * @return A {@link FileName} object representing the parent name.  Returns
      *         null for the root of a file system.
      */
-    public FileName getParent();
+    FileName getParent();
 
     /**
      * Resolves a name, relative to this file name.  Equivalent to calling
@@ -153,22 +158,29 @@
      * @return The relative name.
      * @throws FileSystemException On error.
      */
-    public String getRelativeName(FileName name) throws FileSystemException;
+    String getRelativeName(FileName name) throws FileSystemException;
 
     /**
      * Determines if another file name is an ancestor of this file name.
+     * @param ancestor The FileName to check.
+     * @return true if another file name is an ancestor of this file name.
      */
-    public boolean isAncestor(FileName ancestor);
+    boolean isAncestor(FileName ancestor);
 
     /**
      * Determines if another file name is a descendent of this file name.
+     * @param descendent the FileName to check.
+     * @return true if the other FileName is a descendent of this file name.
      */
-    public boolean isDescendent(FileName descendent);
+    boolean isDescendent(FileName descendent);
 
     /**
      * Determines if another file name is a descendent of this file name.
+     * @param descendent the FileName to check.
+     * @param nameScope the NameScope of the FileName.
+     * @return true if the other FileName is a descendent of this file name.
      */
-    public boolean isDescendent(FileName descendent, NameScope nameScope);
+    boolean isDescendent(FileName descendent, NameScope nameScope);
 
     /**
      * Returns the requested or current type of this name. <br />
@@ -183,11 +195,12 @@
      *
      * @return {@link FileType#FOLDER} or {@link FileType#FILE}
      */
-    public FileType getType();
+    FileType getType();
 
     /**
      * returns a "friendly path", this is a path without a password.<br />
      * This path can not be used to resolve the path again
+     * @return the friendly URI as a String.
      */
-    public String getFriendlyURI();
+    String getFriendlyURI();
 }

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileNotFolderException.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileNotFolderException.java?rev=763740&r1=763739&r2=763740&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileNotFolderException.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileNotFolderException.java Thu Apr  9 17:22:31 2009
@@ -18,6 +18,7 @@
 
 /**
  * delivers a file-not-folder exception which happens when trying to issue {@link FileObject#getChildren()} on a file.
+ * @author <a href="http://commons.apache.org/vfs/team-list.html">Commons VFS team</a>
  */
 public class FileNotFolderException extends FileSystemException
 {

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileNotFoundException.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileNotFoundException.java?rev=763740&r1=763739&r2=763740&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileNotFoundException.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileNotFoundException.java Thu Apr  9 17:22:31 2009
@@ -18,6 +18,7 @@
 
 /**
  * delivers a file-not-found exception
+ * @author <a href="http://commons.apache.org/vfs/team-list.html">Commons VFS team</a>
  */
 public class FileNotFoundException extends FileSystemException
 {
@@ -30,4 +31,4 @@
     {
         super("vfs.provider/read-not-file.error", info0, throwable);
     }
-}
\ No newline at end of file
+}

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileObject.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileObject.java?rev=763740&r1=763739&r2=763740&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileObject.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileObject.java Thu Apr  9 17:22:31 2009
@@ -74,13 +74,16 @@
 {
     /**
      * Returns the name of this file.
+     * @return the FileName.
      */
-    public FileName getName();
+    FileName getName();
 
     /**
      * Returns a URL representing this file.
+     * @return the URL for the file.
+     * @throws FileSystemException if an error occurs.
      */
-    public URL getURL() throws FileSystemException;
+    URL getURL() throws FileSystemException;
 
     /**
      * Determines if this file exists.
@@ -88,7 +91,7 @@
      * @return <code>true</code> if this file exists, <code>false</code> if not.
      * @throws FileSystemException On error determining if this file exists.
      */
-    public boolean exists() throws FileSystemException;
+    boolean exists() throws FileSystemException;
 
     /**
      * Determines if this file is hidden.
@@ -96,7 +99,7 @@
      * @return <code>true</code> if this file is hidden, <code>false</code> if not.
      * @throws FileSystemException On error determining if this file exists.
      */
-    public boolean isHidden() throws FileSystemException;
+    boolean isHidden() throws FileSystemException;
 
     /**
      * Determines if this file can be read.
@@ -104,7 +107,7 @@
      * @return <code>true</code> if this file is readable, <code>false</code> if not.
      * @throws FileSystemException On error determining if this file exists.
      */
-    public boolean isReadable() throws FileSystemException;
+    boolean isReadable() throws FileSystemException;
 
     /**
      * Determines if this file can be written to.
@@ -112,7 +115,7 @@
      * @return <code>true</code> if this file is writeable, <code>false</code> if not.
      * @throws FileSystemException On error determining if this file exists.
      */
-    public boolean isWriteable() throws FileSystemException;
+    boolean isWriteable() throws FileSystemException;
 
     /**
      * Returns this file's type.
@@ -120,7 +123,7 @@
      * @return One of the {@link FileType} constants.  Never returns null.
      * @throws FileSystemException On error determining the file's type.
      */
-    public FileType getType() throws FileSystemException;
+    FileType getType() throws FileSystemException;
 
     /**
      * Returns the folder that contains this file.
@@ -136,7 +139,7 @@
      *
      * @return The file system.
      */
-    public FileSystem getFileSystem();
+    FileSystem getFileSystem();
 
     /**
      * Lists the children of this file.
@@ -147,7 +150,7 @@
      * @throws FileSystemException If this file does not exist, or is not a folder, or on error
      *                             listing this file's children.
      */
-    public FileObject[] getChildren() throws FileSystemException;
+    FileObject[] getChildren() throws FileSystemException;
 
     /**
      * Returns a child of this file.  Note that this method returns <code>null</code>
@@ -159,17 +162,18 @@
      * @throws FileSystemException If this file does not exist, or is not a folder, or on error
      *                             determining this file's children.
      */
-    public FileObject getChild(String name) throws FileSystemException;
+    FileObject getChild(String name) throws FileSystemException;
 
     /**
      * Finds a file, relative to this file.  Refer to {@link NameScope}
      * for a description of how names are resolved in the different scopes.
      *
      * @param name The name to resolve.
+     * @param scope the NameScope for the file.
      * @return The file.
      * @throws FileSystemException On error parsing the path, or on error finding the file.
      */
-    public FileObject resolveFile(String name, NameScope scope)
+    FileObject resolveFile(String name, NameScope scope)
         throws FileSystemException;
 
     /**
@@ -181,7 +185,7 @@
      * @return The file.
      * @throws FileSystemException On error parsing the path, or on error finding the file.
      */
-    public FileObject resolveFile(String path) throws FileSystemException;
+    FileObject resolveFile(String path) throws FileSystemException;
 
     /**
      * Finds the set of matching descendents of this file, in depthwise order.
@@ -189,8 +193,9 @@
      * @param selector The selector to use to select matching files.
      * @return The matching files.  The files are returned in depthwise order
      *         (that is, a child appears in the list before its parent).
+     * @throws FileSystemException if an error occurs.
      */
-    public FileObject[] findFiles(FileSelector selector) throws FileSystemException;
+    FileObject[] findFiles(FileSelector selector) throws FileSystemException;
 
     /**
          * Finds the set of matching descendents of this file.
@@ -198,11 +203,9 @@
          * @param selector  the selector used to determine if the file should be selected
          * @param depthwise controls the ordering in the list. e.g. deepest first
          * @param selected  container for selected files. list needs not to be empty.
-         * @throws FileSystemException
+         * @throws FileSystemException if an error occurs.
          */
-    public void findFiles(FileSelector selector,
-                   boolean depthwise,
-                   List selected) throws FileSystemException;
+    void findFiles(FileSelector selector, boolean depthwise, List selected) throws FileSystemException;
 
     /**
      * Deletes this file.  Does nothing if this file does not exist of if it is a
@@ -213,7 +216,7 @@
      * @throws FileSystemException If this file is a non-empty folder, or if this file is read-only,
      *                             or on error deleteing this file.
      */
-    public boolean delete() throws FileSystemException;
+    boolean delete() throws FileSystemException;
 
     /**
      * Deletes all descendents of this file that match a selector.  Does
@@ -227,7 +230,7 @@
      * @throws FileSystemException If this file or one of its descendents is read-only, or on error
      *                             deleting this file or one of its descendents.
      */
-    public int delete(FileSelector selector) throws FileSystemException;
+    int delete(FileSelector selector) throws FileSystemException;
 
     /**
      * Creates this folder, if it does not exist.  Also creates any ancestor
@@ -238,7 +241,7 @@
      *                             folder is read-only, or on error creating this folder or one of
      *                             its ancestors.
      */
-    public void createFolder() throws FileSystemException;
+    void createFolder() throws FileSystemException;
 
     /**
      * Creates this file, if it does not exist.  Also creates any ancestor
@@ -249,7 +252,7 @@
      *                             folder is read-only, or on error creating this file or one of
      *                             its ancestors.
      */
-    public void createFile() throws FileSystemException;
+    void createFile() throws FileSystemException;
 
     /**
      * Copies another file, and all its descendents, to this file.
@@ -265,18 +268,18 @@
      * @throws FileSystemException If this file is read-only, or if the source file does not exist,
      *                             or on error copying the file.
      */
-    public void copyFrom(FileObject srcFile, FileSelector selector)
+    void copyFrom(FileObject srcFile, FileSelector selector)
         throws FileSystemException;
 
     /**
      * Move this file.
-     * <p>If the destFile exists, it is deleted first</b> 
+     * <p>If the destFile exists, it is deleted first</b>
      *
      * @param destFile the New filename.
      * @throws FileSystemException If this file is read-only, or if the source file does not exist,
      *                             or on error copying the file.
      */
-    public void moveTo(FileObject destFile)
+    void moveTo(FileObject destFile)
         throws FileSystemException;
 
     /**
@@ -285,7 +288,7 @@
      * @param newfile the new file(-name)
      * @return true it this is the case
      */
-    public boolean canRenameTo(FileObject newfile);
+    boolean canRenameTo(FileObject newfile);
 
     /**
      * Returns this file's content.  The {@link FileContent} returned by this
@@ -298,7 +301,7 @@
      * @return This file's content.
      * @throws FileSystemException On error getting this file's content.
      */
-    public FileContent getContent() throws FileSystemException;
+    FileContent getContent() throws FileSystemException;
 
     /**
      * Closes this file, and its content.  This method is a hint to the
@@ -310,28 +313,31 @@
      * @throws FileSystemException On error closing the file.
      * @see FileContent#close
      */
-    public void close() throws FileSystemException;
+    void close() throws FileSystemException;
 
     /**
-     * This will prepare the fileObject to get resynchronized with the underlaying filesystem if required 
+     * This will prepare the fileObject to get resynchronized with the underlaying filesystem if required
+     * @throws FileSystemException if an error occurs.
      */
-    public void refresh() throws FileSystemException;
+    void refresh() throws FileSystemException;
 
     /**
      * check if the fileObject is attaced
+     * @return true if the FileObject is attached.
      */
-	public boolean isAttached();
+    boolean isAttached();
 
-	/**
-	 * check if someone reads/write to this file
-	 */
-	public boolean isContentOpen();
-
-	
-	// --- OPERATIONS --
-	/**
-	 * @return FileOperations interface that provides access to the operations API.
-	 * @throws FileSystemException
-	 */
-	FileOperations getFileOperations() throws FileSystemException;
+    /**
+     * check if someone reads/write to this file
+     * @return true if the file content is open.
+     */
+    boolean isContentOpen();
+
+
+    // --- OPERATIONS --
+    /**
+     * @return FileOperations interface that provides access to the operations API.
+     * @throws FileSystemException if an error occurs.
+     */
+    FileOperations getFileOperations() throws FileSystemException;
 }

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileSystemException.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileSystemException.java?rev=763740&r1=763739&r2=763740&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileSystemException.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileSystemException.java Thu Apr  9 17:22:31 2009
@@ -5,9 +5,9 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -105,7 +105,7 @@
     {
         this(code, null, throwable);
     }
-    
+
     /**
      * Constructs exception with the specified detail message.
      *
@@ -143,14 +143,6 @@
     }
 
     /**
-     * retrieve message from bundle
-     */
-    public String getMessage()
-	{
-    	return Messages.getString(super.getMessage(), getInfo());
-	}
-
-	/**
      * Constructs wrapper exception.
      *
      * @param throwable the root cause to wrap.
@@ -161,6 +153,15 @@
     }
 
     /**
+     * retrieve message from bundle
+     * @return The exception message.
+     */
+    public String getMessage()
+    {
+        return Messages.getString(super.getMessage(), getInfo());
+    }
+
+    /**
      * Retrieve root cause of the exception.
      *
      * @return the root cause

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileSystemManager.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileSystemManager.java?rev=763740&r1=763739&r2=763740&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileSystemManager.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileSystemManager.java Thu Apr  9 17:22:31 2009
@@ -247,7 +247,7 @@
      * We cache it here for performance reasons.
      */
     public Constructor getFileObjectDecoratorConst();
-    
+
     /**
      * The class to use to determine the content-type (mime-type)
      */

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileType.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileType.java?rev=763740&r1=763739&r2=763740&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileType.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileType.java Thu Apr  9 17:22:31 2009
@@ -5,9 +5,9 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileTypeSelector.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileTypeSelector.java?rev=763740&r1=763739&r2=763740&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileTypeSelector.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileTypeSelector.java Thu Apr  9 17:22:31 2009
@@ -5,9 +5,9 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileUtil.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileUtil.java?rev=763740&r1=763739&r2=763740&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileUtil.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FileUtil.java Thu Apr  9 17:22:31 2009
@@ -5,9 +5,9 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FilesCache.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FilesCache.java?rev=763740&r1=763739&r2=763740&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FilesCache.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/FilesCache.java Thu Apr  9 17:22:31 2009
@@ -30,25 +30,27 @@
      *
      * @param file the file
      */
-    public void putFile(final FileObject file);
+    void putFile(final FileObject file);
 
     /**
      * retrieve a file from the cache by its name
      *
+     * @param filesystem The FileSystem.
      * @param name the name
      * @return the fileobject or null if file is not cached
      */
-    public FileObject getFile(final FileSystem filesystem, final FileName name);
+    FileObject getFile(final FileSystem filesystem, final FileName name);
 
     /**
      * purge the entries corresponding to the filesystem
+     * @param filesystem The FileSystem.
      */
-    public void clear(final FileSystem filesystem);
+    void clear(final FileSystem filesystem);
 
     /**
      * purge the whole cache
      */
-    public void close();
+    void close();
 
     /**
      * removes a file from cache
@@ -56,7 +58,7 @@
      * @param filesystem filesystem
      * @param name       filename
      */
-    public void removeFile(final FileSystem filesystem, final FileName name);
+    void removeFile(final FileSystem filesystem, final FileName name);
 
     /**
      * if the cache uses timestamps it could use this method to handle

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/NameScope.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/NameScope.java?rev=763740&r1=763739&r2=763740&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/NameScope.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/NameScope.java Thu Apr  9 17:22:31 2009
@@ -5,9 +5,9 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/Selectors.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/Selectors.java?rev=763740&r1=763739&r2=763740&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/Selectors.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/Selectors.java Thu Apr  9 17:22:31 2009
@@ -5,9 +5,9 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/package.html
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/package.html?rev=763740&r1=763739&r2=763740&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/package.html (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs/package.html Thu Apr  9 17:22:31 2009
@@ -5,9 +5,9 @@
     The ASF licenses this file to You under the Apache License, Version 2.0
     (the "License"); you may not use this file except in compliance with
     the License.  You may obtain a copy of the License at
-   
+
          http://www.apache.org/licenses/LICENSE-2.0
-   
+
     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

Modified: commons/proper/vfs/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/pom.xml?rev=763740&r1=763739&r2=763740&view=diff
==============================================================================
--- commons/proper/vfs/trunk/pom.xml (original)
+++ commons/proper/vfs/trunk/pom.xml Thu Apr  9 17:22:31 2009
@@ -24,6 +24,7 @@
     <groupId>org.apache.commons</groupId>
     <artifactId>commons-parent</artifactId>
     <version>11</version>
+    <!-- The relative path is set to the current directory so the checkstyle plugin will work -->
     <relativePath>.</relativePath>
   </parent>
 
@@ -158,6 +159,19 @@
           <tarLongFileMode>gnu</tarLongFileMode>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-source-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>attach-sources</id>
+            <phase>install</phase>
+            <goals>
+              <goal>jar</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>     
     </plugins>
   </build>
 
@@ -208,7 +222,7 @@
           <suppressionsLocation>${project.parent.relativePath}/checkstyle-suppressions.xml</suppressionsLocation>
           <enableRulesSummary>false</enableRulesSummary>
           <propertyExpansion>basedir=${basedir}</propertyExpansion>
-          <propertyExpansion>licensedir=${basedir}/${project.parent.relativePath}</propertyExpansion>
+          <propertyExpansion>licensedir=${basedir}/${project.parent.relativePath}/checkstyle-header.txt</propertyExpansion>
         </configuration>
       </plugin>
       <plugin>
@@ -232,6 +246,14 @@
 
   <repositories>
     <repository>
+      <id>apache.snapshots.https</id>
+      <name>Apache Snapshot Repository</name>
+      <url>https://repository.apache.org/content/repositories/snapshots</url>
+      <releases>
+        <enabled>false</enabled>
+      </releases>
+    </repository>
+    <repository>
       <id>apache.snapshots</id>
       <name>Apache Snapshot Repository</name>
       <url>http://people.apache.org/repo/m2-snapshot-repository/</url>
@@ -249,14 +271,14 @@
 
   <distributionManagement>
     <repository>
-      <id>apache.releases</id>
+      <id>apache.releases.https</id>
       <name>Apache Release Distribution Repository</name>
-      <url>scp://people.apache.org/www/www.apache.org/dist/maven-repository</url>
+      <url>https://repository.apache.org/service/local/staging/deploy/maven2</url>
     </repository>
     <snapshotRepository>
-      <id>apache.snapshots</id>
+      <id>apache.snapshots.https</id>
       <name>Apache Development Snapshot Repository</name>
-      <url>scp://people.apache.org/www/cvs.apache.org/maven-snapshot-repository</url>
+      <url>https://repository.apache.org/content/repositories/snapshots</url>
     </snapshotRepository>
     <site>
       <id>apache.website</id>



Mime
View raw message