[
https://issues.apache.org/jira/browse/CAMEL-7774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14117296#comment-14117296
]
Claus Ibsen commented on CAMEL-7774:
------------------------------------
Marked the typo method as deprecated, and keep a resolveParameter method around
as it can be useable in some situations.
> Removed mistyped method - resloveStringParameter in EndpointHelper
> ------------------------------------------------------------------
>
> Key: CAMEL-7774
> URL: https://issues.apache.org/jira/browse/CAMEL-7774
> Project: Camel
> Issue Type: Task
> Components: camel-core, camel-quartz, camel-quartz2
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Fix For: 2.14.0
>
>
> 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.
> {code}
> 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
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)