On 13.02.2017 11:55, Enrico Weigelt, metux IT consult wrote:
> + public static <T> T first(List<T> l) {
> + return (l == null || list.isEmpty()) ? null : l.get(0);
ups, there's a typo in here ... will repost fixed patched.
--mtx
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Freecol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freecol-developers