Fix eol-style git-svn-id: https://svn.apache.org/repos/asf/mina/ftpserver/trunk@1129825 13f79535-47bb-0310-9956-ffa450edef68
Project: http://git-wip-us.apache.org/repos/asf/mina-ftpserver/repo Commit: http://git-wip-us.apache.org/repos/asf/mina-ftpserver/commit/61e2d0f1 Tree: http://git-wip-us.apache.org/repos/asf/mina-ftpserver/tree/61e2d0f1 Diff: http://git-wip-us.apache.org/repos/asf/mina-ftpserver/diff/61e2d0f1 Branch: refs/heads/trunk Commit: 61e2d0f12c80ca19072ed1c007a37c5b872ab6b8 Parents: d040ac3 Author: Sebastian Bazley <[email protected]> Authored: Tue May 31 17:43:32 2011 +0000 Committer: Sebastian Bazley <[email protected]> Committed: Tue May 31 17:43:32 2011 +0000 ---------------------------------------------------------------------- .../ftpserver/ftplet/DataTransferFtpReply.java | 80 ++++++++-------- .../ftpserver/ftplet/FileActionFtpReply.java | 80 ++++++++-------- .../apache/ftpserver/ftplet/RenameFtpReply.java | 96 ++++++++++---------- 3 files changed, 128 insertions(+), 128 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mina-ftpserver/blob/61e2d0f1/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/DataTransferFtpReply.java ---------------------------------------------------------------------- diff --git a/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/DataTransferFtpReply.java b/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/DataTransferFtpReply.java index d2b062c..2eaff15 100644 --- a/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/DataTransferFtpReply.java +++ b/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/DataTransferFtpReply.java @@ -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(); + +} http://git-wip-us.apache.org/repos/asf/mina-ftpserver/blob/61e2d0f1/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/FileActionFtpReply.java ---------------------------------------------------------------------- diff --git a/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/FileActionFtpReply.java b/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/FileActionFtpReply.java index 2eb3895..7130e8f 100644 --- a/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/FileActionFtpReply.java +++ b/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/FileActionFtpReply.java @@ -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(); +} http://git-wip-us.apache.org/repos/asf/mina-ftpserver/blob/61e2d0f1/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/RenameFtpReply.java ---------------------------------------------------------------------- diff --git a/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/RenameFtpReply.java b/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/RenameFtpReply.java index 109ee32..9d88af3 100644 --- a/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/RenameFtpReply.java +++ b/ftplet-api/src/main/java/org/apache/ftpserver/ftplet/RenameFtpReply.java @@ -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(); + +}
