Repository: camel
Updated Branches:
  refs/heads/master 9f1a4524e -> b877b4584


Fixed CS


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/b877b458
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/b877b458
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/b877b458

Branch: refs/heads/master
Commit: b877b45840b3166f0c9213337595fbc506075197
Parents: 9f1a452
Author: Claus Ibsen <davscl...@apache.org>
Authored: Tue Mar 7 17:23:23 2017 +0100
Committer: Claus Ibsen <davscl...@apache.org>
Committed: Tue Mar 7 17:23:23 2017 +0100

----------------------------------------------------------------------
 .../src/main/java/sample/camel/PetController.java            | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/b877b458/examples/camel-example-rest-producer/src/main/java/sample/camel/PetController.java
----------------------------------------------------------------------
diff --git 
a/examples/camel-example-rest-producer/src/main/java/sample/camel/PetController.java
 
b/examples/camel-example-rest-producer/src/main/java/sample/camel/PetController.java
index c1234a6..d9bb346 100644
--- 
a/examples/camel-example-rest-producer/src/main/java/sample/camel/PetController.java
+++ 
b/examples/camel-example-rest-producer/src/main/java/sample/camel/PetController.java
@@ -5,9 +5,9 @@
  * 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
- * <p>
- * http://www.apache.org/licenses/LICENSE-2.0
- * <p>
+ *
+ *      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.
@@ -26,7 +26,7 @@ import org.springframework.web.bind.annotation.RestController;
 @RestController
 public class PetController {
 
-    private static String[] PETS = new String[]{"Snoopy", "Fido", "Tony the 
Tiger"};
+    private static final String[] PETS = new String[]{"Snoopy", "Fido", "Tony 
the Tiger"};
 
     @RequestMapping(value = "/petById/{id}", produces = "application/json")
     public String petById(@PathVariable("id") Integer id) {

Reply via email to