src/main/java/org/edgegallery/appstore/domain/model/releases/PackageChecker.java
private boolean isDir(ZipEntry entry, File f) {
        if (entry.isDirectory()) {
            boolean isSuccess = f.mkdirs();
            if (isSuccess) {
                return true;
            } else {
                return f.exists();
            }
        }
        return false;
    }
/**
     * check if entry is directory, if then create dir.
     *
     * @param entry entry of next element.
     * @param f File
     */
check if entry is directory, if then create dir.
@param entry entry of next element.
@param f File
check if entry is directory if then create dir . @param entry entry of next element . @param f File
private boolean isDir(ZipEntry entry, File f) {
        if (entry.isDirectory()) {
            boolean isSuccess = f.mkdirs();
            if (isSuccess) {
                return true;
            } else {
                return f.exists();
            }
        }
        return false;
    }
private boolean isDir ( ZipEntry entry , File f ) { if ( entry . isDirectory ( ) ) { boolean isSuccess = f . mkdirs ( ) ; if ( isSuccess ) { return true ; } else { return f . exists ( ) ; } } return false ; }
check if entry is directory, if then create dir.
check if entry is directory if then create dir .