src/main/java/edu/ucla/library/bucketeer/Job.java
int findHeader(final String aHeader) {
        Objects.requireNonNull(myMetadataHeader);
        Objects.requireNonNull(aHeader);

        for (int index = 0; index < myMetadataHeader.length; index++) {
            if (aHeader.equals(myMetadataHeader[index])) {
                LOGGER.debug(MessageCodes.BUCKETEER_153, aHeader, index);
                return index;
            }
        }

        return -1;
    }
/**
     * Finds the index of the header in the header row.
     *
     * @param aHeader The header to find
     * @return The index of the header if it exists, otherwise -1
     */
Finds the index of the header in the header row.
@param aHeader The header to find
@return The index of the header if it exists, otherwise -1
Finds the index of the header in the header row . @param aHeader The header to find @return The index of the header if it exists otherwise - 1
int findHeader(final String aHeader) {
        Objects.requireNonNull(myMetadataHeader);
        Objects.requireNonNull(aHeader);
        for (int index = 0; index < myMetadataHeader.length; index++) {
            if (aHeader.equals(myMetadataHeader[index])) {
                LOGGER.debug(MessageCodes.BUCKETEER_153, aHeader, index);
                return index;
            }
        }
        return -1;
    }
int findHeader ( final String aHeader ) { Objects . requireNonNull ( myMetadataHeader ) ; Objects . requireNonNull ( aHeader ) ; for ( int index = 0 ; index < myMetadataHeader . length ; index ++ ) { if ( aHeader . equals ( myMetadataHeader [ index ] ) ) { LOGGER . debug ( MessageCodes . BUCKETEER_153 , aHeader , index ) ; return index ; } } return - 1 ; }
Finds the index of the header in the header row.
Finds the index of the header in the header row .