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

(-)src/org/netbeans/modules/autoupdate/L10NUpdate.java (-1 / +7 lines)
Lines 72-78 Link Here
72
            langcode = getAttribute( n, "langcode" ); // NOI18N
72
            langcode = getAttribute( n, "langcode" ); // NOI18N
73
            brandingcode = getAttribute( n, "brandingcode" ); // NOI18N
73
            brandingcode = getAttribute( n, "brandingcode" ); // NOI18N
74
            specversion = new SpecificationVersion ( getAttribute( n, "module_spec_version" ) ); // NOI18N
74
            specversion = new SpecificationVersion ( getAttribute( n, "module_spec_version" ) ); // NOI18N
75
            majorversion = Integer.parseInt( getAttribute( n, "module_major_version" ) ); // NOI18N
75
            String mvAttr = getAttribute( n, "module_major_version" ); // NOI18N
76
            if ( mvAttr != null ) {
77
                majorversion = Integer.parseInt( mvAttr );
78
            }
79
            else {
80
                majorversion = -1;
81
            }
76
            l10nname = getAttribute( n, "OpenIDE-Module-Name" ); // NOI18N
82
            l10nname = getAttribute( n, "OpenIDE-Module-Name" ); // NOI18N
77
            l10ndesc = getAttribute( n, ATTR_LONG_DESC );
83
            l10ndesc = getAttribute( n, ATTR_LONG_DESC );
78
            if ( getDescription() == null || getDescription().equals ("") )   // NOI18N
84
            if ( getDescription() == null || getDescription().equals ("") )   // NOI18N

Return to bug 33095