Reworking command line select. Starting on others.
This commit is contained in:
@ -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 } }
|
||||
}
|
||||
|
Reference in New Issue
Block a user