You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by se...@apache.org on 2011/05/31 19:43:33 UTC

svn commit: r1129825 - in /mina/ftpserver/trunk/ftplet-api/src: main/java/org/apache/ftpserver/ftplet/ test/java/org/apache/ftpserver/ftplet/

Author: sebb
Date: Tue May 31 17:43:32 2011
New Revision: 1129825

URL: http://svn.apache.org/viewvc?rev=1129825&view=rev
Log:
Fix eol-style

Modified:
    mina/ftpserver/trunk/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/DataTransferFtpReply.java   (contents, props changed)
    mina/ftpserver/trunk/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/DefaultFtpReply.java   (props changed)
    mina/ftpserver/trunk/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/FileActionFtpReply.java   (contents, props changed)
    mina/ftpserver/trunk/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/RenameFtpReply.java   (contents, props changed)
    mina/ftpserver/trunk/ftplet-api/src/test/java/org/apache/ftpserver/ftplet/ExampleFtplet.java   (props changed)

Modified: mina/ftpserver/trunk/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/DataTransferFtpReply.java
URL: http://svn.apache.org/viewvc/mina/ftpserver/trunk/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/DataTransferFtpReply.java?rev=1129825&r1=1129824&r2=1129825&view=diff
==============================================================================
--- mina/ftpserver/trunk/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/DataTransferFtpReply.java (original)
+++ mina/ftpserver/trunk/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/DataTransferFtpReply.java Tue May 31 17:43:32 2011
@@ -1,40 +1,40 @@
-/*
- * 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.
- */
-
-package org.apache.ftpserver.ftplet;
-
-/**
- * A more specific type of FTP reply that is sent by the commands that transfer
- * data over the data connection. These commands include LIST, RETR, STOR, STOU
- * etc.
- * 
- * @author <a href="http://mina.apache.org">Apache MINA Project</a>
- * 
- */
-
-public interface DataTransferFtpReply extends FileActionFtpReply {
-
-	/**
-	 * Returns the number of bytes transferred.
-	 * 
-	 * @return the number of bytes transferred.
-	 */
-	long getBytesTransferred();
-
-}
+/*
+ * 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.
+ */
+
+package org.apache.ftpserver.ftplet;
+
+/**
+ * A more specific type of FTP reply that is sent by the commands that transfer
+ * data over the data connection. These commands include LIST, RETR, STOR, STOU
+ * etc.
+ * 
+ * @author <a href="http://mina.apache.org">Apache MINA Project</a>
+ * 
+ */
+
+public interface DataTransferFtpReply extends FileActionFtpReply {
+
+	/**
+	 * Returns the number of bytes transferred.
+	 * 
+	 * @return the number of bytes transferred.
+	 */
+	long getBytesTransferred();
+
+}

Propchange: mina/ftpserver/trunk/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/DataTransferFtpReply.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: mina/ftpserver/trunk/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/DefaultFtpReply.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: mina/ftpserver/trunk/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/FileActionFtpReply.java
URL: http://svn.apache.org/viewvc/mina/ftpserver/trunk/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/FileActionFtpReply.java?rev=1129825&r1=1129824&r2=1129825&view=diff
==============================================================================
--- mina/ftpserver/trunk/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/FileActionFtpReply.java (original)
+++ mina/ftpserver/trunk/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/FileActionFtpReply.java Tue May 31 17:43:32 2011
@@ -1,40 +1,40 @@
-/*
- * 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.
- */
-
-package org.apache.ftpserver.ftplet;
-
-/**
- * A more specific type of FtpReply that is sent for commands that act on a
- * single file or directory such as MKD, DELE, RMD etc.
- * 
- * @author <a href="http://mina.apache.org">Apache MINA Project</a>
- * 
- */
-
-public interface FileActionFtpReply extends FtpReply {
-
-	/**
-	 * Returns the file (or directory) on which the action was taken 
-	 * (e.g. uploaded, created, listed)
-	 * 
-	 * @return the file on which the action was taken. May return
-	 *         <code>null</code>, if the file information is not available.
-	 */
-	public FtpFile getFile();
-}
+/*
+ * 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.
+ */
+
+package org.apache.ftpserver.ftplet;
+
+/**
+ * A more specific type of FtpReply that is sent for commands that act on a
+ * single file or directory such as MKD, DELE, RMD etc.
+ * 
+ * @author <a href="http://mina.apache.org">Apache MINA Project</a>
+ * 
+ */
+
+public interface FileActionFtpReply extends FtpReply {
+
+	/**
+	 * Returns the file (or directory) on which the action was taken 
+	 * (e.g. uploaded, created, listed)
+	 * 
+	 * @return the file on which the action was taken. May return
+	 *         <code>null</code>, if the file information is not available.
+	 */
+	public FtpFile getFile();
+}

Propchange: mina/ftpserver/trunk/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/FileActionFtpReply.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: mina/ftpserver/trunk/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/RenameFtpReply.java
URL: http://svn.apache.org/viewvc/mina/ftpserver/trunk/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/RenameFtpReply.java?rev=1129825&r1=1129824&r2=1129825&view=diff
==============================================================================
--- mina/ftpserver/trunk/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/RenameFtpReply.java (original)
+++ mina/ftpserver/trunk/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/RenameFtpReply.java Tue May 31 17:43:32 2011
@@ -1,48 +1,48 @@
-/*
- * 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.
- */
-
-package org.apache.ftpserver.ftplet;
-
-/**
- * A more specific type of reply that is sent when a file is attempted to
- * rename. This reply is sent by the RNTO command.
- * 
- * @author <a href="http://mina.apache.org">Apache MINA Project</a>
- * 
- */
-
-public interface RenameFtpReply extends FtpReply {
-
-	/**
-	 * Returns the file before the rename.
-	 * 
-	 * @return the file before the rename. May return <code>null</code>, if
-	 *         the file information is not available.
-	 */
-	public FtpFile getFrom();
-
-	/**
-	 * Returns the file after the rename.
-	 * 
-	 * @return the file after the rename. May return <code>null</code>, if
-	 *         the file information is not available.
-	 */
-	public FtpFile getTo();
-
-}
+/*
+ * 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.
+ */
+
+package org.apache.ftpserver.ftplet;
+
+/**
+ * A more specific type of reply that is sent when a file is attempted to
+ * rename. This reply is sent by the RNTO command.
+ * 
+ * @author <a href="http://mina.apache.org">Apache MINA Project</a>
+ * 
+ */
+
+public interface RenameFtpReply extends FtpReply {
+
+	/**
+	 * Returns the file before the rename.
+	 * 
+	 * @return the file before the rename. May return <code>null</code>, if
+	 *         the file information is not available.
+	 */
+	public FtpFile getFrom();
+
+	/**
+	 * Returns the file after the rename.
+	 * 
+	 * @return the file after the rename. May return <code>null</code>, if
+	 *         the file information is not available.
+	 */
+	public FtpFile getTo();
+
+}

Propchange: mina/ftpserver/trunk/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/RenameFtpReply.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: mina/ftpserver/trunk/ftplet-api/src/test/java/org/apache/ftpserver/ftplet/ExampleFtplet.java
------------------------------------------------------------------------------
    svn:eol-style = native