trunk/adhoc-internal/src/main/java/org/jfree/chart/axis/DateTickUnit.java
/**
     * A utility method to put a default in place if a null formatter is
     * supplied.
     *
     * @param formatter  the formatter (<code>null</code> permitted).
     *
     * @return The formatter if it is not null, otherwise a default.
     */
A utility method to put a default in place if a null formatter is
supplied.

@param formatter  the formatter (null permitted).

@return The formatter if it is not null, otherwise a default.
A utility method to put a default in place if a null formatter is supplied . @param formatter the formatter ( null permitted ) . @return The formatter if it is not null otherwise a default .
private static DateFormat notNull(DateFormat formatter) {
        if (formatter == null) {
            return DateFormat.getDateInstance(DateFormat.SHORT);
        }
        else {
            return formatter;
        }
    }
private static DateFormat notNull ( DateFormat formatter ) { if ( formatter == null ) { return DateFormat . getDateInstance ( DateFormat . SHORT ) ; } else { return formatter ; } }
A utility method to put a default in place if a null formatter is
 supplied.
A utility method to put a default in place if a null formatter is supplied .