Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-7774

Removed mistyped method - resloveStringParameter in EndpointHelper

    XMLWordPrintableJSON

Details

    • Unknown

    Description

      This method has a typo, and it was only used in camel-quartz components. Which was a mistake to add the method but that happens when people contribute PRs.

      We should remove the method, and use the existing API in the quartz components.

      davsclaus:~/workspace/camel (master)/$ git grep "resloveStringParameter"
      camel-core/src/main/java/org/apache/camel/util/EndpointHelper.java:    public static <T> T resloveStringParameter(CamelContext context, Stri
      components/camel-quartz/src/main/java/org/apache/camel/component/quartz/QuartzComponent.java:                    long interval = EndpointHel
      components/camel-quartz/src/main/java/org/apache/camel/component/quartz/QuartzComponent.java:            String timeZone = EndpointHelper.re
      components/camel-quartz/src/main/java/org/apache/camel/component/quartz/QuartzComponent.java:            Long interval = EndpointHelper.resl
      components/camel-quartz/src/main/java/org/apache/camel/component/quartz/QuartzComponent.java:            Integer counter = EndpointHelper.re
      components/camel-quartz2/src/main/java/org/apache/camel/component/quartz2/QuartzEndpoint.java:                repeat = EndpointHelper.reslov
      components/camel-quartz2/src/main/java/org/apache/camel/component/quartz2/QuartzEndpoint.java:                interval = EndpointHelper.resl
      

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: