private boolean shouldGenerateChecksum(File jarFile) {
        boolean result = true;

        if (ignoreBinFiles) {
            // if we are ignoring the bin files get the path to this file and the path to the install root.
            String path = jarFile.getAbsolutePath();
            String otherPath = installRoot.getAbsolutePath();
            // So first of all check to see if the file is in the install/bin dir and also not in the tools dir.
            if (path.startsWith(otherPath + File.separator + "bin") && !!!"tools".equals(jarFile.getParentFile().getName())) {
                result = false;
            }
        }
        return result;
    }
private boolean shouldGenerateChecksum ( File jarFile ) { boolean result = true ; if ( ignoreBinFiles ) { String path = jarFile . getAbsolutePath ( ) ; String otherPath = installRoot . getAbsolutePath ( ) ; if ( path . startsWith ( otherPath + File . separator + "bin" ) && ! ! ! "tools" . equals ( jarFile . getParentFile ( ) . getName ( ) ) ) { result = false ; } } return result ; }
@param jarFile
@return