On Tuesday, 3 November 2015, Remko Popma <[email protected]> wrote:

> Okay. Can you leave the existing method in place and add a new one with
> the desired signature?
>

Also, are you planning to use the existing Protocol enum?

>
>
> Sent from my iPhone
>


>
> On 2015/11/03, at 9:57, Gary Gregory <[email protected]
> <javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote:
>
> On Mon, Nov 2, 2015 at 3:53 PM, Remko Popma <[email protected]
> <javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote:
>
>> What would be the advantage of doing this? What problem are you trying to
>> solve by replacing the string arg with an enumeration arg?
>
>
> Is that a trick question? ;-) Type safety from my call site, of course!
>
> Gary
>
>
>>
>> On Monday, November 2, 2015, Gary Gregory <[email protected]
>> <javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote:
>>
>>> Hi All:
>>>
>>> Right now, SocketAppender.createAppender() takes protocol String. Can we
>>> change that to a Protocol Enum safely, without breaking existing configs?
>>> That would break BC unless we add another method.
>>>
>>> Thoughts?
>>>
>>> Gary
>>>
>>> --
>>> E-Mail: [email protected] | [email protected]
>>> Java Persistence with Hibernate, Second Edition
>>> <http://www.manning.com/bauer3/>
>>> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
>>> Spring Batch in Action <http://www.manning.com/templier/>
>>> Blog: http://garygregory.wordpress.com
>>> Home: http://garygregory.com/
>>> Tweet! http://twitter.com/GaryGregory
>>>
>>
>
>
> --
> E-Mail: [email protected]
> <javascript:_e(%7B%7D,'cvml','[email protected]');> | [email protected]
> <javascript:_e(%7B%7D,'cvml','[email protected]');>
> Java Persistence with Hibernate, Second Edition
> <http://www.manning.com/bauer3/>
> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
> Spring Batch in Action <http://www.manning.com/templier/>
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory
>
>

Reply via email to