pojo/src/main/java/org/jboss/as/pojo/service/Configurator.java
protected static boolean simpleCheck(String[] typeNames, Class<?>[] typeInfos) {
        return typeNames != null && typeInfos != null && typeNames.length == typeInfos.length;
    }
protected static boolean simpleCheck(String[] typeNames, Class<?>[] typeInfos) {
        return typeNames != null && typeInfos != null && typeNames.length == typeInfos.length;
    }
A simple null and length check.

@param typeNames the type names
@param typeInfos the type infos
@return false if either argument is null or lengths differ, else true