Checkstyle fixes

git-svn-id: https://svn.apache.org/repos/asf/camel/trunk@1225028 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/examples/camel-example-cxf-proxy/src/test/java/org/apache/camel/example/reportincident/ReportIncidentRoutesTest.java b/examples/camel-example-cxf-proxy/src/test/java/org/apache/camel/example/reportincident/ReportIncidentRoutesTest.java
index 362f3b3..cd9783f 100755
--- a/examples/camel-example-cxf-proxy/src/test/java/org/apache/camel/example/reportincident/ReportIncidentRoutesTest.java
+++ b/examples/camel-example-cxf-proxy/src/test/java/org/apache/camel/example/reportincident/ReportIncidentRoutesTest.java
@@ -19,13 +19,14 @@
 import java.io.File;
 import java.io.FileOutputStream;
 
+import junit.framework.Assert;
+
 import org.apache.camel.spring.Main;
 import org.apache.camel.test.AvailablePortFinder;
 import org.apache.cxf.jaxws.JaxWsProxyFactoryBean;
 import org.junit.BeforeClass;
 import org.junit.Test;
 
-import static junit.framework.Assert.assertEquals;
 
 /**
  * Unit test of our routes
@@ -33,7 +34,7 @@
 public class ReportIncidentRoutesTest {
 
     // should be the same address as we have in our route
-    private static String URL;
+    private static String url;
 
     protected Main main;
 
@@ -53,7 +54,7 @@
         fos.write(s2.getBytes());
         fos.close();
 
-        URL = "http://localhost:" + port + "/camel-example-cxf-proxy/webservices/incident";
+        url = "http://localhost:" + port + "/camel-example-cxf-proxy/webservices/incident";
     }
 
     protected void startCamel() throws Exception {
@@ -76,7 +77,7 @@
         // we use CXF to create a client for us as its easier than JAXWS and works
         JaxWsProxyFactoryBean factory = new JaxWsProxyFactoryBean();
         factory.setServiceClass(ReportIncidentEndpoint.class);
-        factory.setAddress(URL);
+        factory.setAddress(url);
         return (ReportIncidentEndpoint) factory.create();
     }
 
@@ -110,6 +111,6 @@
         OutputReportIncident out = client.reportIncident(input);
 
         // assert we got a OK back
-        assertEquals("OK;456", out.getCode());
+        Assert.assertEquals("OK;456", out.getCode());
     }
 }
diff --git a/examples/camel-example-osgi-rmi/src/test/java/org/apache/camel/example/osgi/RmiTest.java b/examples/camel-example-osgi-rmi/src/test/java/org/apache/camel/example/osgi/RmiTest.java
index dabf53f..137b012 100644
--- a/examples/camel-example-osgi-rmi/src/test/java/org/apache/camel/example/osgi/RmiTest.java
+++ b/examples/camel-example-osgi-rmi/src/test/java/org/apache/camel/example/osgi/RmiTest.java
@@ -36,14 +36,14 @@
  */
 public class RmiTest extends CamelSpringTestSupport {
     
-    private static int PORT;
+    private static int port;
 
     @BeforeClass
     public static void setupFreePort() throws Exception {
         // find a free port number from 9100 onwards, and write that in the custom.properties file
         // which we will use for the unit tests, to avoid port number in use problems
-        PORT = AvailablePortFinder.getNextAvailable(9100);
-        String s = "port=" + PORT;
+        port = AvailablePortFinder.getNextAvailable(9100);
+        String s = "port=" + port;
 
         File custom = new File("target/custom.properties");
         FileOutputStream fos = new FileOutputStream(custom);
@@ -63,8 +63,8 @@
         ProducerTemplate myTemplate = myContext.createProducerTemplate();
         myTemplate.start();
         try {
-            System.out.println("Calling on port " + PORT);
-            String out = myTemplate.requestBody("rmi://localhost:" + PORT + "/helloServiceBean", "Camel", String.class);
+            System.out.println("Calling on port " + port);
+            String out = myTemplate.requestBody("rmi://localhost:" + port + "/helloServiceBean", "Camel", String.class);
             assertEquals("Hello Camel", out);
         } finally {
             myTemplate.stop();