Reworking command line select. Starting on others.

This commit is contained in:
Jonathan Bernard
2016-02-22 22:14:49 -06:00
parent 5245291aff
commit 5f5bdab238
2 changed files with 111 additions and 78 deletions

View File

@ -210,6 +210,6 @@ public class MediaLibrary {
public static Integer safeToInteger(def val) {
if (val == null) return null
try { return val as Integer }
try { return val.trim() as Integer }
catch (NumberFormatException nfe) { return null } }
}