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

(-)a/java.source/src/org/netbeans/modules/java/source/parsing/FileObjects.java (+1 lines)
Lines 547-552 Link Here
547
    }
547
    }
548
    
548
    
549
    public static String getRelativePath (final String packageName, final String relativeName) {
549
    public static String getRelativePath (final String packageName, final String relativeName) {
550
        if (packageName.isEmpty()) return relativeName;
550
        StringBuilder relativePath = new StringBuilder ();
551
        StringBuilder relativePath = new StringBuilder ();
551
        relativePath.append(packageName.replace('.','/'));
552
        relativePath.append(packageName.replace('.','/'));
552
        relativePath.append('/');
553
        relativePath.append('/');

Return to bug 197104