[messages] [Module Design] Custom Java class maintainers

Michael Kiefte mkiefte at dal.ca
Tue Mar 22 06:47:46 MST 2011


That will likely have consequences for the ADC2 import code.  Have you done
a search for this in the branch?

And why do we need to change this?

- M.

On 20 March 2011 16:57, bobd <bob__davison at hotmail.com> wrote:

> Calling all Vassal module maintainers who have custom Java classes in
> their modules, there is a bug fix in the next Vassal release that could
> affect your custom Java code.
>
>
> The behaviour of
>
> Code:
> new SequenceEncoder(null, delimiter);
>
>
> has changed.  If you use this constructor with an explicit null it
> should be changed to
>
> Code:
> new SequenceEncoder(delimiter);
>
>
> You can make this change now as the two calls behave identically in the
> current Vassal release.
> If you have code that relies on
>
> Code:
> new SequenceEncoder(var, delimiter);
>
>
> to create an empty sequence when var is null then you will have to
> modify your code as this will no longer hold true in future Vassal
> releases (a sequence with one token of "" will be created).
> Thanks,
> Bob
>
> _______________________________________________
> Read this topic online here:
> http://www.vassalengine.org/forum/viewtopic.php?p=22307#p22307
> _______________________________________________
> messages mailing list
> messages at vassalengine.org
> http://www.vassalengine.org/mailman/listinfo/messages
>
>


-- 
Michael Kiefte, Ph.D.
Associate Professor
School of Human Communication Disorders
Dalhousie University
Halifax, Nova Scotia, Canada
tel: +1 902 494 5150
fax: +1 902 494 5151
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vassalengine.org/pipermail/messages/attachments/20110322/203325d8/attachment.html>


More information about the messages mailing list