tomcat/src/main/java/org/apache/catalina/filters/ExpiresFilter.java
/**
     * Return <code>true</code> if the given <code>str</code> contains the given
     * <code>searchStr</code>.
     */
Return true if the given str contains the given
searchStr.
Return true if the given str contains the given searchStr .
protected static boolean contains(String str, String searchStr) {
        if (str == null || searchStr == null) {
            return false;
        }
        return str.indexOf(searchStr) >= 0;
    }
protected static boolean contains ( String str , String searchStr ) { if ( str == null || searchStr == null ) { return false ; } return str . indexOf ( searchStr ) >= 0 ; }
Return <code>true</code> if the given <code>str</code> contains the given
 <code>searchStr</code>.
Return <code > true< / code > if the given <code > str< / code > contains the given <code > searchStr< / code > .