Hello

I found strange code. Is it needed or may be deleted?

org.netbeans.upgrade.AutoUpgrade

// the order of VERSION_TO_CHECK here defines the precedence of imports
// the first one will be choosen for import
private static final List<String> VERSION_TO_CHECK =
        Arrays.asList ( ".netbeans/7.1.2",  ".netbeans/7.1.1",
".netbeans/7.1", ".netbeans/7.0", ".netbeans/6.9" );//NOI18N

// userdir on OS specific root of userdir (see issue 196075)
static final List<String> PRE_APACHE_NEWER_VERSION_TO_CHECK =
        Arrays.asList ("8.2", "8.1", "8.0.2", "8.0.1", "8.0", "7.4",
"7.3.1", "7.3", "7.2.1", "7.2"); //NOI18N
 // XXX: copy to autoupgrade.pluginimporter


and

org.netbeans.modules.autoupdate.pluginimporter.Installer
similar versions variables

private static final List<String> VERSION_TO_CHECK =
        Arrays.asList (".netbeans/7.1.2", ".netbeans/7.1.1",
".netbeans/7.1", ".netbeans/7.0", ".netbeans/6.9"); //NOI18N
private static final List<String> PRE_APACHE_NEWER_VERSION_TO_CHECK =
        Arrays.asList ("8.2", "8.1", "8.0.2", "8.0.1", "8.0", "7.4",
"7.3.1", "7.3", "7.2.1", "7.2"); //NOI18N

Reply via email to