You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by ng...@apache.org on 2008/08/15 22:42:53 UTC

svn commit: r686361 - in /mina/ftpserver/trunk/ftplet-api/src/test/java/org/apache/ftpserver/ftplet: ExampleFtplet.java Foo.java

Author: ngn
Date: Fri Aug 15 13:42:53 2008
New Revision: 686361

URL: http://svn.apache.org/viewvc?rev=686361&view=rev
Log:
Renamed example ftplet, purpose of this class is just to make sure some basic usage of ftplets are supported

Added:
    mina/ftpserver/trunk/ftplet-api/src/test/java/org/apache/ftpserver/ftplet/ExampleFtplet.java   (contents, props changed)
      - copied, changed from r686360, mina/ftpserver/trunk/ftplet-api/src/test/java/org/apache/ftpserver/ftplet/Foo.java
Removed:
    mina/ftpserver/trunk/ftplet-api/src/test/java/org/apache/ftpserver/ftplet/Foo.java

Copied: mina/ftpserver/trunk/ftplet-api/src/test/java/org/apache/ftpserver/ftplet/ExampleFtplet.java (from r686360, mina/ftpserver/trunk/ftplet-api/src/test/java/org/apache/ftpserver/ftplet/Foo.java)
URL: http://svn.apache.org/viewvc/mina/ftpserver/trunk/ftplet-api/src/test/java/org/apache/ftpserver/ftplet/ExampleFtplet.java?p2=mina/ftpserver/trunk/ftplet-api/src/test/java/org/apache/ftpserver/ftplet/ExampleFtplet.java&p1=mina/ftpserver/trunk/ftplet-api/src/test/java/org/apache/ftpserver/ftplet/Foo.java&r1=686360&r2=686361&rev=686361&view=diff
==============================================================================
--- mina/ftpserver/trunk/ftplet-api/src/test/java/org/apache/ftpserver/ftplet/Foo.java (original)
+++ mina/ftpserver/trunk/ftplet-api/src/test/java/org/apache/ftpserver/ftplet/ExampleFtplet.java Fri Aug 15 13:42:53 2008
@@ -1,3 +1,23 @@
+/*
+ * 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;
 
 import java.io.IOException;
@@ -9,7 +29,7 @@
 import org.apache.ftpserver.ftplet.FtpSession;
 import org.apache.ftpserver.ftplet.FtpletEnum;
 
-public class Foo extends DefaultFtplet{
+public class ExampleFtplet extends DefaultFtplet{
 
     @Override
     public FtpletEnum onMkdirEnd(FtpSession session, FtpRequest request) throws FtpException, IOException {

Propchange: mina/ftpserver/trunk/ftplet-api/src/test/java/org/apache/ftpserver/ftplet/ExampleFtplet.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain