This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 232200
Collapse All | Expand All

(-)a/options.api/src/org/netbeans/modules/options/export/OptionsExportModel.java (-1 / +1 lines)
Lines 847-853 Link Here
847
            OutputStream out = null;
847
            OutputStream out = null;
848
            File targetFile = new File(targetUserdir, relativePath);
848
            File targetFile = new File(targetUserdir, relativePath);
849
            LOGGER.log(Level.FINE, "Path: {0}", relativePath);  //NOI18N
849
            LOGGER.log(Level.FINE, "Path: {0}", relativePath);  //NOI18N
850
            ensureParent(targetFile);
851
            if (includeKeys.isEmpty() && excludeKeys.isEmpty()) {
850
            if (includeKeys.isEmpty() && excludeKeys.isEmpty()) {
852
                // copy entire file
851
                // copy entire file
853
                try {
852
                try {
Lines 1095-1100 Link Here
1095
		}
1094
		}
1096
            }
1095
            }
1097
        }
1096
        }
1097
        ensureParent(file);
1098
        return new FileOutputStream(file);
1098
        return new FileOutputStream(file);
1099
    }
1099
    }
1100
    private static boolean containsConfig(File file) {
1100
    private static boolean containsConfig(File file) {

Return to bug 232200