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

(-)a/java.source.base/src/org/netbeans/modules/java/source/pretty/WidthEstimator.java (-1 / +5 lines)
Lines 114-120 Link Here
114
        if (t == null) {
114
        if (t == null) {
115
            return;
115
            return;
116
        }
116
        }
117
	if (t.owner != null && t.owner != symbols.rootPackage && t.owner != t.packge().modle.unnamedPackage
117
        boolean notOwnedByUnnamedPackage = true;
118
        if (t.packge() != null && t.packge().modle != null) {
119
            notOwnedByUnnamedPackage = t.owner != t.packge().modle.unnamedPackage;
120
        }
121
	if (t.owner != null && t.owner != symbols.rootPackage && notOwnedByUnnamedPackage
118
	        && !(t.type instanceof Type.TypeVar)
122
	        && !(t.type instanceof Type.TypeVar)
119
		&& !(t.owner instanceof MethodSymbol)) {
123
		&& !(t.owner instanceof MethodSymbol)) {
120
	    width++;
124
	    width++;

Return to bug 268848