Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
View | Details | Raw Unified | Return to bug 33095 | Differences between
and this patch

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
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo