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 126038
Collapse All | Expand All

(-)1809aaaa3cb5 (-3 / +1 lines)
Lines 942-950 public class FacesModelSet extends Model Link Here
942
        URI resolvedUri = resolveToUri(targetUri);
942
        URI resolvedUri = resolveToUri(targetUri);
943
        File targetFile = new File(resolvedUri);
943
        File targetFile = new File(resolvedUri);
944
        File parentFile = targetFile.getParentFile();
944
        File parentFile = targetFile.getParentFile();
945
        if (! parentFile.exists())
945
        FileObject parentFileObject = FileUtil.createFolder(parentFile);
946
            parentFile.mkdirs();
947
        FileObject parentFileObject = FileUtil.toFileObject(parentFile);
948
        if (parentFileObject == null)
946
        if (parentFileObject == null)
949
            return null;
947
            return null;
950
        // Extract the extension part to fit the NB API below
948
        // Extract the extension part to fit the NB API below

Return to bug 126038