directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blorit...@apache.org
Subject svn commit: r111394 - in incubator/directory/seda/branches/berin_api_proposal/src: java/org/apache/directory/seda java/org/apache/directory/seda/output test/org/apache/directory/seda/output/test
Date Thu, 09 Dec 2004 15:38:28 GMT
Author: bloritsch
Date: Thu Dec  9 07:38:27 2004
New Revision: 111394

URL: http://svn.apache.org/viewcvs?view=rev&rev=111394
Log:
Change WriterStage to just plain Writer
Added:
   incubator/directory/seda/branches/berin_api_proposal/src/java/org/apache/directory/seda/output/Writer.java
      - copied, changed from r111393, incubator/directory/seda/branches/berin_api_proposal/src/java/org/apache/directory/seda/output/WriterStage.java
   incubator/directory/seda/branches/berin_api_proposal/src/test/org/apache/directory/seda/output/test/TestWriter.java
      - copied, changed from r111393, incubator/directory/seda/branches/berin_api_proposal/src/test/org/apache/directory/seda/output/test/TestWriterStage.java
Removed:
   incubator/directory/seda/branches/berin_api_proposal/src/java/org/apache/directory/seda/output/WriterStage.java
   incubator/directory/seda/branches/berin_api_proposal/src/test/org/apache/directory/seda/output/test/TestWriterStage.java
Modified:
   incubator/directory/seda/branches/berin_api_proposal/src/java/org/apache/directory/seda/SEDAServer.java

Modified: incubator/directory/seda/branches/berin_api_proposal/src/java/org/apache/directory/seda/SEDAServer.java
Url: http://svn.apache.org/viewcvs/incubator/directory/seda/branches/berin_api_proposal/src/java/org/apache/directory/seda/SEDAServer.java?view=diff&rev=111394&p1=incubator/directory/seda/branches/berin_api_proposal/src/java/org/apache/directory/seda/SEDAServer.java&r1=111393&p2=incubator/directory/seda/branches/berin_api_proposal/src/java/org/apache/directory/seda/SEDAServer.java&r2=111394
==============================================================================
--- incubator/directory/seda/branches/berin_api_proposal/src/java/org/apache/directory/seda/SEDAServer.java
(original)
+++ incubator/directory/seda/branches/berin_api_proposal/src/java/org/apache/directory/seda/SEDAServer.java
Thu Dec  9 07:38:27 2004
@@ -18,7 +18,7 @@
 
 import org.apache.directory.seda.input.Firewall;
 import org.apache.directory.seda.input.ReaderSource;
-import org.apache.directory.seda.output.WriterStage;
+import org.apache.directory.seda.output.Writer;
 
 import java.nio.channels.SocketChannel;
 import java.io.IOException;
@@ -33,13 +33,13 @@
     private static SEDAServer m_server;
     private final Firewall m_firewall;
     private final ReaderSource m_reader;
-    private final WriterStage m_writer;
+    private final Writer m_writer;
 
     private SEDAServer() throws IOException
     {
         m_firewall = new Firewall();
         m_reader = new ReaderSource();
-        m_writer = new WriterStage();
+        m_writer = new Writer();
     }
 
     public static SEDAServer getServer() throws IOException

Copied: incubator/directory/seda/branches/berin_api_proposal/src/java/org/apache/directory/seda/output/Writer.java
(from r111393, incubator/directory/seda/branches/berin_api_proposal/src/java/org/apache/directory/seda/output/WriterStage.java)
Url: http://svn.apache.org/viewcvs/incubator/directory/seda/branches/berin_api_proposal/src/java/org/apache/directory/seda/output/Writer.java?view=diff&rev=111394&p1=incubator/directory/seda/branches/berin_api_proposal/src/java/org/apache/directory/seda/output/WriterStage.java&r1=111393&p2=incubator/directory/seda/branches/berin_api_proposal/src/java/org/apache/directory/seda/output/Writer.java&r2=111394
==============================================================================
--- incubator/directory/seda/branches/berin_api_proposal/src/java/org/apache/directory/seda/output/WriterStage.java
(original)
+++ incubator/directory/seda/branches/berin_api_proposal/src/java/org/apache/directory/seda/output/Writer.java
Thu Dec  9 07:38:27 2004
@@ -33,11 +33,11 @@
  * Created by IntelliJ IDEA. User: berin Date: Dec 8, 2004 Time: 8:29:38
  * AM To change this template use File | Settings | File Templates.
  */
-public class WriterStage extends Stage
+public class Writer extends Stage
 {
     private Selector m_selector;
 
-    public WriterStage() throws IOException
+    public Writer() throws IOException
     {
         m_selector = Selector.open();
     }

Deleted: /incubator/directory/seda/branches/berin_api_proposal/src/java/org/apache/directory/seda/output/WriterStage.java
Url: http://svn.apache.org/viewcvs/incubator/directory/seda/branches/berin_api_proposal/src/java/org/apache/directory/seda/output/WriterStage.java?view=auto&rev=111393
==============================================================================

Copied: incubator/directory/seda/branches/berin_api_proposal/src/test/org/apache/directory/seda/output/test/TestWriter.java
(from r111393, incubator/directory/seda/branches/berin_api_proposal/src/test/org/apache/directory/seda/output/test/TestWriterStage.java)
Url: http://svn.apache.org/viewcvs/incubator/directory/seda/branches/berin_api_proposal/src/test/org/apache/directory/seda/output/test/TestWriter.java?view=diff&rev=111394&p1=incubator/directory/seda/branches/berin_api_proposal/src/test/org/apache/directory/seda/output/test/TestWriterStage.java&r1=111393&p2=incubator/directory/seda/branches/berin_api_proposal/src/test/org/apache/directory/seda/output/test/TestWriter.java&r2=111394
==============================================================================
--- incubator/directory/seda/branches/berin_api_proposal/src/test/org/apache/directory/seda/output/test/TestWriterStage.java
(original)
+++ incubator/directory/seda/branches/berin_api_proposal/src/test/org/apache/directory/seda/output/test/TestWriter.java
Thu Dec  9 07:38:27 2004
@@ -16,11 +16,27 @@
  */
 package org.apache.directory.seda.output.test;
 
+import junit.framework.TestCase;
+import org.apache.directory.seda.output.Writer;
+
+import java.io.IOException;
+
 /**
  * Created by IntelliJ IDEA. User: berin Date: Dec 9, 2004 Time:
  * 10:33:51 AM To change this template use File | Settings | File
  * Templates.
  */
-public class TestWriterStage
+public class TestWriter extends TestCase
 {
+    public TestWriter(final String name)
+    {
+        super(name);
+    }
+
+    public void testCreate() throws IOException
+    {
+        final Writer writer = new Writer();
+
+        assertNotNull(writer);
+    }
 }

Deleted: /incubator/directory/seda/branches/berin_api_proposal/src/test/org/apache/directory/seda/output/test/TestWriterStage.java
Url: http://svn.apache.org/viewcvs/incubator/directory/seda/branches/berin_api_proposal/src/test/org/apache/directory/seda/output/test/TestWriterStage.java?view=auto&rev=111393
==============================================================================

Mime
View raw message