svn commit: r662327 - in /activemq/camel/trunk/components: camel-cxf/src/main/java/org/apache/camel/component/cxf/transport/ camel-cxf/src/main/java/org/apache/camel/component/cxf/util/ camel-jdbc/src/main/java/org/apache/camel/component/jdbc/ camel-jd...

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r662327 - in /activemq/camel/trunk/components: camel-cxf/src/main/java/org/apache/camel/component/cxf/transport/ camel-cxf/src/main/java/org/apache/camel/component/cxf/util/ camel-jdbc/src/main/java/org/apache/camel/component/jdbc/ camel-jd...

davsclaus-2
Author: davsclaus
Date: Sun Jun  1 22:26:45 2008
New Revision: 662327

URL: http://svn.apache.org/viewvc?rev=662327&view=rev
Log:
removed // TODO Auto-generated method stub

Modified:
    activemq/camel/trunk/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/transport/CamelConduit.java
    activemq/camel/trunk/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/util/NullConduit.java
    activemq/camel/trunk/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/util/NullDestination.java
    activemq/camel/trunk/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/JdbcComponent.java
    activemq/camel/trunk/components/camel-jdbc/src/test/java/org/apache/camel/component/jdbc/JdbcRouteTest.java
    activemq/camel/trunk/components/camel-jdbc/src/test/java/org/apache/camel/component/jdbc/TestDataSource.java
    activemq/camel/trunk/components/camel-jhc/src/main/java/org/apache/camel/component/jhc/JhcProducer.java

Modified: activemq/camel/trunk/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/transport/CamelConduit.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/transport/CamelConduit.java?rev=662327&r1=662326&r2=662327&view=diff
==============================================================================
--- activemq/camel/trunk/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/transport/CamelConduit.java (original)
+++ activemq/camel/trunk/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/transport/CamelConduit.java Sun Jun  1 22:26:45 2008
@@ -203,7 +203,6 @@
         }
 
         public void shutdown() {
-            // TODO Auto-generated method stub
         }
 
         public synchronized void setMessageObserver(MessageObserver observer) {

Modified: activemq/camel/trunk/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/util/NullConduit.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/util/NullConduit.java?rev=662327&r1=662326&r2=662327&view=diff
==============================================================================
--- activemq/camel/trunk/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/util/NullConduit.java (original)
+++ activemq/camel/trunk/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/util/NullConduit.java Sun Jun  1 22:26:45 2008
@@ -29,8 +29,6 @@
 public class NullConduit implements Conduit {
 
     public void close() {
-        // TODO Auto-generated method stub
-
     }
 
     public void close(Message message) throws IOException {
@@ -41,24 +39,19 @@
     }
 
     public Destination getBackChannel() {
-        // TODO Auto-generated method stub
         return null;
     }
 
     public EndpointReferenceType getTarget() {
-        // TODO Auto-generated method stub
         return null;
     }
 
     public void prepare(Message message) throws IOException {
         CachedOutputStream outputStream = new CachedOutputStream();
         message.setContent(OutputStream.class, outputStream);
-
     }
 
     public void setMessageObserver(MessageObserver observer) {
-        // TODO Auto-generated method stub
-
     }
 
 }

Modified: activemq/camel/trunk/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/util/NullDestination.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/util/NullDestination.java?rev=662327&r1=662326&r2=662327&view=diff
==============================================================================
--- activemq/camel/trunk/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/util/NullDestination.java (original)
+++ activemq/camel/trunk/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/util/NullDestination.java Sun Jun  1 22:26:45 2008
@@ -32,12 +32,10 @@
     }
 
     public EndpointReferenceType getAddress() {
-        // TODO Auto-generated method stub
         return null;
     }
 
     public Conduit getBackChannel(Message inMessage, Message partialResponse, EndpointReferenceType address) throws IOException {
-        // TODO Auto-generated method stub
         return null;
     }
 
@@ -47,12 +45,10 @@
 
     public void shutdown() {
         messageObserver = null;
-
     }
 
     public void setMessageObserver(MessageObserver observer) {
         messageObserver = observer;
-
     }
 
 }

Modified: activemq/camel/trunk/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/JdbcComponent.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/JdbcComponent.java?rev=662327&r1=662326&r2=662327&view=diff
==============================================================================
--- activemq/camel/trunk/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/JdbcComponent.java (original)
+++ activemq/camel/trunk/components/camel-jdbc/src/main/java/org/apache/camel/component/jdbc/JdbcComponent.java Sun Jun  1 22:26:45 2008
@@ -40,16 +40,4 @@
         return new JdbcEndpoint(uri, remaining, this);
     }
 
-    @Override
-    protected void doStart() throws Exception {
-        // TODO Auto-generated method stub
-        super.doStart();
-    }
-
-    @Override
-    protected void doStop() throws Exception {
-        // TODO Auto-generated method stub
-        super.doStop();
-    }
-
 }

Modified: activemq/camel/trunk/components/camel-jdbc/src/test/java/org/apache/camel/component/jdbc/JdbcRouteTest.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-jdbc/src/test/java/org/apache/camel/component/jdbc/JdbcRouteTest.java?rev=662327&r1=662326&r2=662327&view=diff
==============================================================================
--- activemq/camel/trunk/components/camel-jdbc/src/test/java/org/apache/camel/component/jdbc/JdbcRouteTest.java (original)
+++ activemq/camel/trunk/components/camel-jdbc/src/test/java/org/apache/camel/component/jdbc/JdbcRouteTest.java Sun Jun  1 22:26:45 2008
@@ -40,15 +40,11 @@
     protected String url = "jdbc:hsqldb:mem:camel_jdbc";
     protected String user = "sa";
     protected String password = "";
-/*
-    protected String driverClass = "org.apache.derby.jdbc.EmbeddedDriver";
-    protected String url = "jdbc:derby:target/testdb;create=true";
-*/
     protected Connection connection;
 
     public void testPojoRoutes() throws Exception {
-        DataSource ds = new TestDataSource(url, user, password);
         // START SNIPPET: register
+        DataSource ds = new TestDataSource(url, user, password);
         JndiContext context = new JndiContext();
         context.bind("testdb", ds);
 
@@ -88,7 +84,6 @@
     protected void setUp() throws Exception {
         super.setUp();
         Class.forName(driverClass);
-        // sysinfo.main(new String[] { "JdbcRouteTest.setUp()" });
         connection = DriverManager.getConnection(url, user, password);
         connection.createStatement().execute("create table customer (id varchar(15), name varchar(10))");
         connection.createStatement().executeUpdate("insert into customer values('cust1','jstrachan')");
@@ -100,6 +95,5 @@
             connection.createStatement().execute("drop table customer");
             connection.close();
         }
-        // DriverManager.getConnection("jdbc:derby;shutdown=true").close();
     }
 }

Modified: activemq/camel/trunk/components/camel-jdbc/src/test/java/org/apache/camel/component/jdbc/TestDataSource.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-jdbc/src/test/java/org/apache/camel/component/jdbc/TestDataSource.java?rev=662327&r1=662326&r2=662327&view=diff
==============================================================================
--- activemq/camel/trunk/components/camel-jdbc/src/test/java/org/apache/camel/component/jdbc/TestDataSource.java (original)
+++ activemq/camel/trunk/components/camel-jdbc/src/test/java/org/apache/camel/component/jdbc/TestDataSource.java Sun Jun  1 22:26:45 2008
@@ -33,6 +33,7 @@
     private final String url;
     private final String username;
     private final String password;
+
     public TestDataSource(String url, String user, String password) {
         this.url = url;
         this.username = user;
@@ -64,7 +65,6 @@
     }
 
     public boolean isWrapperFor(Class<?> iface) throws SQLException {
-        // TODO Auto-generated method stub
         return false;
     }
 

Modified: activemq/camel/trunk/components/camel-jhc/src/main/java/org/apache/camel/component/jhc/JhcProducer.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-jhc/src/main/java/org/apache/camel/component/jhc/JhcProducer.java?rev=662327&r1=662326&r2=662327&view=diff
==============================================================================
--- activemq/camel/trunk/components/camel-jhc/src/main/java/org/apache/camel/component/jhc/JhcProducer.java (original)
+++ activemq/camel/trunk/components/camel-jhc/src/main/java/org/apache/camel/component/jhc/JhcProducer.java Sun Jun  1 22:26:45 2008
@@ -63,22 +63,13 @@
 import org.apache.http.protocol.RequestUserAgent;
 import org.apache.http.util.concurrent.ThreadFactory;
 
-/**
- * Created by IntelliJ IDEA.
- * User: gnodet
- * Date: Sep 7, 2007
- * Time: 8:15:14 PM
- * To change this template use File | Settings | File Templates.
- */
 public class JhcProducer extends DefaultProducer<JhcExchange> implements AsyncProcessor {
     public static final String HTTP_RESPONSE_CODE = "http.responseCode";
     // This should be a set of lower-case strings
     public static final Set<String> HEADERS_TO_SKIP = new HashSet<String>(Arrays.asList(
             "content-length", "content-type", HTTP_RESPONSE_CODE.toLowerCase()));
 
-    private static final Log LOG = LogFactory.getLog(JhcProducer.class);
-
-
+    private static final transient Log LOG = LogFactory.getLog(JhcProducer.class);
 
     private int nbThreads = 2;
     private ConnectingIOReactor ioReactor;
@@ -279,9 +270,7 @@
             callback.done(false);
         }
 
-        public void finalizeContext(HttpContext arg0) {
-            // TODO Auto-generated method stub
-
+        public void finalizeContext(HttpContext httpContext) {
         }
     }