Re: Why are UnsafeUriCharactersEncoder duplicated?

2016-02-25 Thread Tadayoshi Sato
Understood. Thank you for your clarification, Claus!

Best regards,
Tadayoshi

On Fri, Feb 26, 2016 at 3:11 PM, Claus Ibsen  wrote:

> camel-catalog is 100% standalone and has no dependency on camel-core.
> Its intended to be a small library for tooling and independent from
> the camel-core.
>
>
>
> On Fri, Feb 26, 2016 at 4:09 AM, Tadayoshi Sato
>  wrote:
> > Hello Camel experts,
> >
> > I found that there are two UnsafeUriCharactersEncoder classes in the
> Camel
> > codebase, one is in camel-core and another is in camel-catalog, and they
> > are almost identical.
> >
> > Is there any reason these classes need to be duplicated?  I like DRY :-)
> >  Is it possible to remove the camel-catalog version (or perhaps annotate
> it
> > @Deprecated) and solely use the camel-core version in the codebase?
> >
> > I appreciate your advices. Thanks!
> >
> > Tadayoshi
>
>
>
> --
> Claus Ibsen
> -
> http://davsclaus.com @davsclaus
> Camel in Action 2: https://www.manning.com/ibsen2
>


Re: Why are UnsafeUriCharactersEncoder duplicated?

2016-02-25 Thread Claus Ibsen
camel-catalog is 100% standalone and has no dependency on camel-core.
Its intended to be a small library for tooling and independent from
the camel-core.



On Fri, Feb 26, 2016 at 4:09 AM, Tadayoshi Sato
 wrote:
> Hello Camel experts,
>
> I found that there are two UnsafeUriCharactersEncoder classes in the Camel
> codebase, one is in camel-core and another is in camel-catalog, and they
> are almost identical.
>
> Is there any reason these classes need to be duplicated?  I like DRY :-)
>  Is it possible to remove the camel-catalog version (or perhaps annotate it
> @Deprecated) and solely use the camel-core version in the codebase?
>
> I appreciate your advices. Thanks!
>
> Tadayoshi



-- 
Claus Ibsen
-
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2


Why are UnsafeUriCharactersEncoder duplicated?

2016-02-25 Thread Tadayoshi Sato
Hello Camel experts,

I found that there are two UnsafeUriCharactersEncoder classes in the Camel
codebase, one is in camel-core and another is in camel-catalog, and they
are almost identical.

Is there any reason these classes need to be duplicated?  I like DRY :-)
 Is it possible to remove the camel-catalog version (or perhaps annotate it
@Deprecated) and solely use the camel-core version in the codebase?

I appreciate your advices. Thanks!

Tadayoshi