You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ni...@apache.org on 2008/09/12 02:50:03 UTC
svn commit: r694569 - in
/activemq/camel/trunk/examples/camel-example-axis/src:
main/java/org/apache/camel/example/axis/
test/java/org/apache/camel/example/axis/
Author: ningjiang
Date: Thu Sep 11 17:50:03 2008
New Revision: 694569
URL: http://svn.apache.org/viewvc?rev=694569&view=rev
Log:
Fixed the CS error of camel-example-axis
Modified:
activemq/camel/trunk/examples/camel-example-axis/src/main/java/org/apache/camel/example/axis/AxisReportIncidentService.java
activemq/camel/trunk/examples/camel-example-axis/src/main/java/org/apache/camel/example/axis/ReportIncidentService.java
activemq/camel/trunk/examples/camel-example-axis/src/test/java/org/apache/camel/example/axis/AxisReportIncidentServiceTest.java
activemq/camel/trunk/examples/camel-example-axis/src/test/java/org/apache/camel/example/axis/ReportIncidentServiceTest.java
Modified: activemq/camel/trunk/examples/camel-example-axis/src/main/java/org/apache/camel/example/axis/AxisReportIncidentService.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/examples/camel-example-axis/src/main/java/org/apache/camel/example/axis/AxisReportIncidentService.java?rev=694569&r1=694568&r2=694569&view=diff
==============================================================================
--- activemq/camel/trunk/examples/camel-example-axis/src/main/java/org/apache/camel/example/axis/AxisReportIncidentService.java (original)
+++ activemq/camel/trunk/examples/camel-example-axis/src/main/java/org/apache/camel/example/axis/AxisReportIncidentService.java Thu Sep 11 17:50:03 2008
@@ -1,13 +1,30 @@
+/**
+ * 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.camel.example.axis;
+import java.rmi.RemoteException;
+
+import javax.xml.rpc.ServiceException;
+
import org.apache.camel.example.reportincident.InputReportIncident;
import org.apache.camel.example.reportincident.OutputReportIncident;
import org.apache.camel.example.reportincident.ReportIncidentService_PortType;
import org.springframework.remoting.jaxrpc.ServletEndpointSupport;
-import javax.xml.rpc.ServiceException;
-import java.rmi.RemoteException;
-
/**
* Axis webservice
*/
Modified: activemq/camel/trunk/examples/camel-example-axis/src/main/java/org/apache/camel/example/axis/ReportIncidentService.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/examples/camel-example-axis/src/main/java/org/apache/camel/example/axis/ReportIncidentService.java?rev=694569&r1=694568&r2=694569&view=diff
==============================================================================
--- activemq/camel/trunk/examples/camel-example-axis/src/main/java/org/apache/camel/example/axis/ReportIncidentService.java (original)
+++ activemq/camel/trunk/examples/camel-example-axis/src/main/java/org/apache/camel/example/axis/ReportIncidentService.java Thu Sep 11 17:50:03 2008
@@ -1,3 +1,19 @@
+/**
+ * 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.camel.example.axis;
import org.apache.camel.EndpointInject;
Modified: activemq/camel/trunk/examples/camel-example-axis/src/test/java/org/apache/camel/example/axis/AxisReportIncidentServiceTest.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/examples/camel-example-axis/src/test/java/org/apache/camel/example/axis/AxisReportIncidentServiceTest.java?rev=694569&r1=694568&r2=694569&view=diff
==============================================================================
--- activemq/camel/trunk/examples/camel-example-axis/src/test/java/org/apache/camel/example/axis/AxisReportIncidentServiceTest.java (original)
+++ activemq/camel/trunk/examples/camel-example-axis/src/test/java/org/apache/camel/example/axis/AxisReportIncidentServiceTest.java Thu Sep 11 17:50:03 2008
@@ -1,5 +1,24 @@
+/**
+ * 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.camel.example.axis;
+import java.io.File;
+import java.net.URL;
+
import junit.framework.TestCase;
import org.apache.camel.example.reportincident.InputReportIncident;
import org.apache.camel.example.reportincident.OutputReportIncident;
@@ -10,9 +29,6 @@
import org.mortbay.jetty.nio.SelectChannelConnector;
import org.mortbay.jetty.webapp.WebAppContext;
-import java.io.File;
-import java.net.URL;
-
/**
* Unit test with embedded Jetty to execute a webservice request using Axis
*/
Modified: activemq/camel/trunk/examples/camel-example-axis/src/test/java/org/apache/camel/example/axis/ReportIncidentServiceTest.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/examples/camel-example-axis/src/test/java/org/apache/camel/example/axis/ReportIncidentServiceTest.java?rev=694569&r1=694568&r2=694569&view=diff
==============================================================================
--- activemq/camel/trunk/examples/camel-example-axis/src/test/java/org/apache/camel/example/axis/ReportIncidentServiceTest.java (original)
+++ activemq/camel/trunk/examples/camel-example-axis/src/test/java/org/apache/camel/example/axis/ReportIncidentServiceTest.java Thu Sep 11 17:50:03 2008
@@ -1,12 +1,28 @@
+/**
+ * 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.camel.example.axis;
+import java.io.File;
+
import org.apache.camel.example.reportincident.InputReportIncident;
import org.apache.camel.example.reportincident.OutputReportIncident;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit38.AbstractJUnit38SpringContextTests;
-import java.io.File;
-
/**
* Unit test of service
*/
@@ -25,7 +41,7 @@
assertTrue("File should exists", file.exists());
}
- protected InputReportIncident createDummyIncident() {
+ protected InputReportIncident createDummyIncident() {
InputReportIncident input = new InputReportIncident();
input.setEmail("davsclaus@apache.org");
input.setIncidentId("12345678");