camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r807952 - in /camel/trunk/components: camel-irc/src/main/java/org/apache/camel/component/irc/ camel-irc/src/test/java/org/apache/camel/component/irc/ camel-osgi/src/main/java/org/apache/camel/osgi/ camel-xmpp/src/main/java/org/apache/camel/...
Date Wed, 26 Aug 2009 10:20:46 GMT
Author: ningjiang
Date: Wed Aug 26 10:20:46 2009
New Revision: 807952

URL: http://svn.apache.org/viewvc?rev=807952&view=rev
Log:
Fixed the CS errors of camel component

Modified:
    camel/trunk/components/camel-irc/src/main/java/org/apache/camel/component/irc/IrcConfiguration.java
    camel/trunk/components/camel-irc/src/test/java/org/apache/camel/component/irc/CodehausIrcChat.java
    camel/trunk/components/camel-irc/src/test/java/org/apache/camel/component/irc/IrcPrivmsgTest.java
    camel/trunk/components/camel-osgi/src/main/java/org/apache/camel/osgi/OsgiPackageScanClassResolver.java
    camel/trunk/components/camel-xmpp/src/main/java/org/apache/camel/component/xmpp/XmppBinding.java

Modified: camel/trunk/components/camel-irc/src/main/java/org/apache/camel/component/irc/IrcConfiguration.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-irc/src/main/java/org/apache/camel/component/irc/IrcConfiguration.java?rev=807952&r1=807951&r2=807952&view=diff
==============================================================================
--- camel/trunk/components/camel-irc/src/main/java/org/apache/camel/component/irc/IrcConfiguration.java
(original)
+++ camel/trunk/components/camel-irc/src/main/java/org/apache/camel/component/irc/IrcConfiguration.java
Wed Aug 26 10:20:46 2009
@@ -18,9 +18,9 @@
 
 import java.net.URI;
 import java.net.URISyntaxException;
-import java.util.List;
 import java.util.ArrayList;
 import java.util.Arrays;
+import java.util.List;
 
 import org.apache.camel.RuntimeCamelException;
 import org.apache.camel.util.ObjectHelper;
@@ -83,7 +83,7 @@
 
     public String getListOfChannels() {
         String retval = "";
-        for ( String channel : channels ) {
+        for (String channel : channels) {
             retval += channel + " ";
         }
         return retval.trim();
@@ -120,7 +120,7 @@
     public void addChannel(String channel) {
         boolean alreadyHave = false;
         for (String aChannel : channels) {
-            if ( channel.contentEquals(aChannel)) {
+            if (channel.contentEquals(aChannel)) {
                 alreadyHave = true;
             }
         }

Modified: camel/trunk/components/camel-irc/src/test/java/org/apache/camel/component/irc/CodehausIrcChat.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-irc/src/test/java/org/apache/camel/component/irc/CodehausIrcChat.java?rev=807952&r1=807951&r2=807952&view=diff
==============================================================================
--- camel/trunk/components/camel-irc/src/test/java/org/apache/camel/component/irc/CodehausIrcChat.java
(original)
+++ camel/trunk/components/camel-irc/src/test/java/org/apache/camel/component/irc/CodehausIrcChat.java
Wed Aug 26 10:20:46 2009
@@ -17,8 +17,8 @@
 package org.apache.camel.component.irc;
 
 import java.io.IOException;
-import java.util.List;
 import java.util.ArrayList;
+import java.util.List;
 
 import org.schwering.irc.lib.IRCConnection;
 import org.schwering.irc.lib.IRCEventAdapter;

Modified: camel/trunk/components/camel-irc/src/test/java/org/apache/camel/component/irc/IrcPrivmsgTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-irc/src/test/java/org/apache/camel/component/irc/IrcPrivmsgTest.java?rev=807952&r1=807951&r2=807952&view=diff
==============================================================================
--- camel/trunk/components/camel-irc/src/test/java/org/apache/camel/component/irc/IrcPrivmsgTest.java
(original)
+++ camel/trunk/components/camel-irc/src/test/java/org/apache/camel/component/irc/IrcPrivmsgTest.java
Wed Aug 26 10:20:46 2009
@@ -62,10 +62,10 @@
 
                 from("seda:consumerJoined")
                     .process(new Processor() {
-                    public void process(Exchange exchange) throws Exception {
-                        sendMessages();
-                    }
-                });
+                        public void process(Exchange exchange) throws Exception {
+                            sendMessages();
+                        }
+                    });
             }
         };
     }

Modified: camel/trunk/components/camel-osgi/src/main/java/org/apache/camel/osgi/OsgiPackageScanClassResolver.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-osgi/src/main/java/org/apache/camel/osgi/OsgiPackageScanClassResolver.java?rev=807952&r1=807951&r2=807952&view=diff
==============================================================================
--- camel/trunk/components/camel-osgi/src/main/java/org/apache/camel/osgi/OsgiPackageScanClassResolver.java
(original)
+++ camel/trunk/components/camel-osgi/src/main/java/org/apache/camel/osgi/OsgiPackageScanClassResolver.java
Wed Aug 26 10:20:46 2009
@@ -141,7 +141,7 @@
                 if (bundleContext == null) {
                     // Bundle is not in STARTING|ACTIVE|STOPPING state
                     // (See OSGi 4.1 spec, section 4.3.17)
-                    bundles = new org.osgi.framework.Bundle[] { bundle };
+                    bundles = new org.osgi.framework.Bundle[] {bundle};
                 } else {
                     bundles = bundleContext.getBundles();
                 }

Modified: camel/trunk/components/camel-xmpp/src/main/java/org/apache/camel/component/xmpp/XmppBinding.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-xmpp/src/main/java/org/apache/camel/component/xmpp/XmppBinding.java?rev=807952&r1=807951&r2=807952&view=diff
==============================================================================
--- camel/trunk/components/camel-xmpp/src/main/java/org/apache/camel/component/xmpp/XmppBinding.java
(original)
+++ camel/trunk/components/camel-xmpp/src/main/java/org/apache/camel/component/xmpp/XmppBinding.java
Wed Aug 26 10:20:46 2009
@@ -74,7 +74,7 @@
                     try {
                         message.setProperty(name, value);
                         LOG.debug("Added property name: " + name + " value: " + value.toString());
-                    } catch ( IllegalArgumentException iae ) {
+                    } catch (IllegalArgumentException iae) {
                         LOG.debug("Not adding property " + name + " to XMPP message due to
" + iae);
                     }
                 }



Mime
View raw message