private static Map<String, String> mapCustomInfo(CustomInfoType ciType){
        Map<String, String> customInfo = new HashMap<String, String>();
        if (ciType != null){
            for (CustomInfoType.Item item : ciType.getItem()) {
                customInfo.put(item.getKey(), item.getValue());
            }
        }
        return customInfo;
    }
private static Map < String , String > mapCustomInfo ( CustomInfoType ciType ) { Map < String , String > customInfo = new HashMap < String , String > ( ) ; if ( ciType != null ) { for ( CustomInfoType . Item item : ciType . getItem ( ) ) { customInfo . put ( item . getKey ( ) , item . getValue ( ) ) ; } } return customInfo ; }
Map custom info.

@param ciType the custom info type
@return the map