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

(-)Module.java (+13 lines)
Lines 121-126 Link Here
121
        return mgr;
121
        return mgr;
122
    }
122
    }
123
    
123
    
124
    protected String calculateCodeNameBase(Manifest m) {
125
        Attributes attr = m.getMainAttributes();
126
        // Code name
127
        String codeName = attr.getValue("OpenIDE-Module"); // NOI18N
128
        if (codeName == null || codeName.indexOf(',') != -1) {
129
            return null;
130
        }
131
       
132
        Dependency.create(Dependency.TYPE_MODULE, codeName);
133
        Object[] cnParse = Util.parseCodeName(codeName);
134
        return (String)cnParse[0];
135
    }
136
        
124
    public boolean isEnabled() {
137
    public boolean isEnabled() {
125
        return enabled;
138
        return enabled;
126
    }
139
    }

Return to bug 77717