Author: davsclaus
Date: Fri Mar  2 17:17:26 2012
New Revision: 1296314

URL: http://svn.apache.org/viewvc?rev=1296314&view=rev
Log:
CAMEL-5057: Fixed CS

Added:
    
camel/trunk/camel-core/src/main/java/org/apache/camel/component/stub/package.html
      - copied, changed from r1296310, 
camel/trunk/camel-core/src/main/java/org/apache/camel/component/mock/package.html
Modified:
    
camel/trunk/camel-core/src/main/java/org/apache/camel/component/stub/StubComponent.java

Modified: 
camel/trunk/camel-core/src/main/java/org/apache/camel/component/stub/StubComponent.java
URL: 
http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/component/stub/StubComponent.java?rev=1296314&r1=1296313&r2=1296314&view=diff
==============================================================================
--- 
camel/trunk/camel-core/src/main/java/org/apache/camel/component/stub/StubComponent.java
 (original)
+++ 
camel/trunk/camel-core/src/main/java/org/apache/camel/component/stub/StubComponent.java
 Fri Mar  2 17:17:26 2012
@@ -20,27 +20,23 @@ import java.util.Map;
 
 import org.apache.camel.component.vm.VmComponent;
 
-/** 
- * Allows you to easily stub out a middleware transport by prefixing the URI 
with "stub:" which is 
+/**
+ * Allows you to easily stub out a middleware transport by prefixing the URI 
with "stub:" which is
  * handy for testing out routes, or isolating bits of middleware.
- *
  */
 public class StubComponent extends VmComponent {
 
-       public StubComponent() {
-       }
+    public StubComponent() {
+    }
 
-       @Override
-       protected void validateURI(String uri, String path,
-                       Map<String, Object> parameters) {
+    @Override
+    protected void validateURI(String uri, String path, Map<String, Object> 
parameters) {
         // Don't validate so we can stub any URI
-       }
+    }
 
-       @Override
-       protected void validateParameters(String uri,
-                       Map<String, Object> parameters, String optionPrefix) {
+    @Override
+    protected void validateParameters(String uri, Map<String, Object> 
parameters, String optionPrefix) {
         // Don't validate so we can stub any URI
-       }
-
+    }
 
 }

Copied: 
camel/trunk/camel-core/src/main/java/org/apache/camel/component/stub/package.html
 (from r1296310, 
camel/trunk/camel-core/src/main/java/org/apache/camel/component/mock/package.html)
URL: 
http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/component/stub/package.html?p2=camel/trunk/camel-core/src/main/java/org/apache/camel/component/stub/package.html&p1=camel/trunk/camel-core/src/main/java/org/apache/camel/component/mock/package.html&r1=1296310&r2=1296314&rev=1296314&view=diff
==============================================================================
--- 
camel/trunk/camel-core/src/main/java/org/apache/camel/component/mock/package.html
 (original)
+++ 
camel/trunk/camel-core/src/main/java/org/apache/camel/component/stub/package.html
 Fri Mar  2 17:17:26 2012
@@ -19,7 +19,7 @@
 </head>
 <body>
 
-The <a href="http://camel.apache.org/mock.html";>Mock Component</a> which is 
used for testing of routing and mediation rules.
+The <a href="http://camel.apache.org/stub.html";>Stub Component</a> which is 
used for stubbing endpoints.
 
 </body>
 </html>


Reply via email to