You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2020/07/20 08:23:00 UTC

[jira] [Commented] (CAMEL-15314) camel-endpointdsl - StaticEndpointBuilders - may loose public

    [ https://issues.apache.org/jira/browse/CAMEL-15314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17161015#comment-17161015 ] 

Claus Ibsen commented on CAMEL-15314:
-------------------------------------

Those methods should be public static

> camel-endpointdsl - StaticEndpointBuilders - may loose public 
> --------------------------------------------------------------
>
>                 Key: CAMEL-15314
>                 URL: https://issues.apache.org/jira/browse/CAMEL-15314
>             Project: Camel
>          Issue Type: Task
>          Components: build system
>            Reporter: Claus Ibsen
>            Priority: Major
>             Fix For: 3.5.0
>
>
> When rebuilding the project we may have public static not in the dsl
> {code}
> diff --git a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
> index 6a984b15cd3..b9421b525bd 100644
> --- a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
> +++ b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
> @@ -1127,7 +1127,7 @@ public class StaticEndpointBuilders {
>       *
>       * @param path label
>       */
> -    static org.apache.camel.builder.endpoint.dsl.IAM2EndpointBuilderFactory.IAM2EndpointBuilder aws2Iam(
> +    public static org.apache.camel.builder.endpoint.dsl.IAM2EndpointBuilderFactory.IAM2EndpointBuilder aws2Iam(
>              String path) {
>          return org.apache.camel.builder.endpoint.dsl.IAM2EndpointBuilderFactory.endpointBuilder("aws2-iam", path);
>      }
> @@ -1148,7 +1148,7 @@ public class StaticEndpointBuilders {
>       * instead of the default name
>       * @param path label
>       */
> -    static org.apache.camel.builder.endpoint.dsl.IAM2EndpointBuilderFactory.IAM2EndpointBuilder aws2Iam(
> +    public static org.apache.camel.builder.endpoint.dsl.IAM2EndpointBuilderFactory.IAM2EndpointBuilder aws2Iam(
>              String componentName,
>              String path) {
>          return org.apache.camel.builder.endpoint.dsl.IAM2EndpointBuilderFactory.endpointBuilder(componentName, path);
> @@ -15471,7 +15471,7 @@ public class StaticEndpointBuilders {
>       *
>       * @param path serverUrls/path
>       */
> -    public static org.apache.camel.builder.endpoint.dsl.ZooKeeperEndpointBuilderFactory.ZooKeeperEndpointBuilder zookeeper(
> +    static org.apache.camel.builder.endpoint.dsl.ZooKeeperEndpointBuilderFactory.ZooKeeperEndpointBuilder zookeeper(
>              String path) {
>          return org.apache.camel.builder.endpoint.dsl.ZooKeeperEndpointBuilderFactory.endpointBuilder("zookeeper", path);
>      }
> @@ -15495,7 +15495,7 @@ public class StaticEndpointBuilders {
>       * instead of the default name
>       * @param path serverUrls/path
>       */
> -    public static org.apache.camel.builder.endpoint.dsl.ZooKeeperEndpointBuilderFactory.ZooKeeperEndpointBuilder zookeeper(
> +    static org.apache.camel.builder.endpoint.dsl.ZooKeeperEndpointBuilderFactory.ZooKeeperEndpointBuilder zookeeper(
>              String componentName,
>              String path) {
>          return org.apache.camel.builder.endpoint.dsl.ZooKeeperEndpointBuilderFactory.endpointBuilder(componentName, path);
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)