src/main/java/application/rest/v1/configmaps/ConfigMapProcessor.java
/**
     * Return printable version of ownerRef array in this format: 
     * 
     * Return string "null" if input array is null 
     * Return string "empty" if input array is empty 
     * Otherwise return array as string "[ element1 ][elemnt 2] ..."
     * */
Return printable version of ownerRef array in this format.


Return printable version of ownerRef array in this format .
protected static String ownerRefArrayToString(OwnerRef[] array) { 
        String string= null;
        if ( array == null ) { 
            string= "null";
        }
        else if ( array.length == 0 ) { 
            string= "empty";
        }
        else { 
            for (int i=0; i < array.length; i++) { 
                string= (string == null) ? "[" + array[i] + "]" : string + "[" + array[i] + "]"; 
            } 
        }
        return string; 
    }
protected static String ownerRefArrayToString ( OwnerRef [ ] array ) { String string = null ; if ( array == null ) { string = "null" ; } else if ( array . length == 0 ) { string = "empty" ; } else { for ( int i = 0 ; i < array . length ; i ++ ) { string = ( string == null ) ? "[" + array [ i ] + "]" : string + "[" + array [ i ] + "]" ; } } return string ; }
Return printable version of ownerRef array in this format:
Return printable version of ownerRef array in this format :