camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [1/3] camel git commit: Fixed CS
Date Thu, 20 Nov 2014 14:39:17 GMT
Repository: camel
Updated Branches:
  refs/heads/camel-2.14.x ffb4fb800 -> cb590189a
  refs/heads/master b81b2245e -> 38cf62984


Fixed CS


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

Branch: refs/heads/master
Commit: 2cff0d6db4a1661f78e4a2b120ac54e016532304
Parents: b81b224
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Thu Nov 20 15:37:17 2014 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Thu Nov 20 15:37:17 2014 +0100

----------------------------------------------------------------------
 .../camel/tools/apt/EndpointAnnotationProcessor.java    | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/2cff0d6d/tooling/apt/src/main/java/org/apache/camel/tools/apt/EndpointAnnotationProcessor.java
----------------------------------------------------------------------
diff --git a/tooling/apt/src/main/java/org/apache/camel/tools/apt/EndpointAnnotationProcessor.java
b/tooling/apt/src/main/java/org/apache/camel/tools/apt/EndpointAnnotationProcessor.java
index dca6431..1aced82 100644
--- a/tooling/apt/src/main/java/org/apache/camel/tools/apt/EndpointAnnotationProcessor.java
+++ b/tooling/apt/src/main/java/org/apache/camel/tools/apt/EndpointAnnotationProcessor.java
@@ -170,8 +170,8 @@ public class EndpointAnnotationProcessor extends AbstractProcessor {
         ComponentModel componentModel = findComponentProperties(roundEnv, scheme, label);
 
         // get endpoint information which is divided into paths and options (though there
should really only be one path)
-        Set<EndpointPath> endpointPaths = new LinkedHashSet<>();
-        Set<EndpointOption> endpointOptions = new LinkedHashSet<>();
+        Set<EndpointPath> endpointPaths = new LinkedHashSet<EndpointPath>();
+        Set<EndpointOption> endpointOptions = new LinkedHashSet<EndpointOption>();
         findClassProperties(writer, roundEnv, endpointPaths, endpointOptions, classElement,
"");
 
         String json = createParameterJsonSchema(componentModel, endpointPaths, endpointOptions);
@@ -236,8 +236,8 @@ public class EndpointAnnotationProcessor extends AbstractProcessor {
             writer.println("<p>" + classDoc + "</p>");
         }
 
-        Set<EndpointPath> endpointPaths = new LinkedHashSet<>();
-        Set<EndpointOption> endpointOptions = new LinkedHashSet<>();
+        Set<EndpointPath> endpointPaths = new LinkedHashSet<EndpointPath>();
+        Set<EndpointOption> endpointOptions = new LinkedHashSet<EndpointOption>();
         findClassProperties(writer, roundEnv, endpointPaths, endpointOptions, classElement,
prefix);
 
         if (!endpointOptions.isEmpty() || !endpointPaths.isEmpty()) {
@@ -375,7 +375,7 @@ public class EndpointAnnotationProcessor extends AbstractProcessor {
                     }
 
                     // gather enums
-                    Set<String> enums = new LinkedHashSet<>();
+                    Set<String> enums = new LinkedHashSet<String>();
                     boolean isEnum = fieldTypeElement != null && fieldTypeElement.getKind()
== ElementKind.ENUM;
                     if (isEnum) {
                         TypeElement enumClass = findTypeElement(roundEnv, fieldTypeElement.asType().toString());
@@ -445,7 +445,7 @@ public class EndpointAnnotationProcessor extends AbstractProcessor {
                         }
 
                         // gather enums
-                        Set<String> enums = new LinkedHashSet<>();
+                        Set<String> enums = new LinkedHashSet<String>();
                         boolean isEnum = fieldTypeElement != null && fieldTypeElement.getKind()
== ElementKind.ENUM;
                         if (isEnum) {
                             TypeElement enumClass = findTypeElement(roundEnv, fieldTypeElement.asType().toString());


Mime
View raw message