eclipse plugin: Make the fields in WesnothInstall private...

...and clean some code
This commit is contained in:
Timotei Dolean 2011-06-29 18:48:21 +00:00
parent 58c6a73643
commit c9c7cd882a
2 changed files with 2 additions and 10 deletions

View file

@ -10,8 +10,8 @@ package org.wesnoth.installs;
public class WesnothInstall
{
public String name_;
public String version_;
private String name_;
private String version_;
public WesnothInstall(String name, String version)
{

View file

@ -10,9 +10,7 @@ package org.wesnoth.installs;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.resources.ResourcesPlugin;
@ -26,12 +24,6 @@ import org.wesnoth.utils.WorkspaceUtils;
public class WesnothInstallsUtils
{
/**
* A map which stores the installs settings
*/
private static Map< String, WesnothInstall > installs_ =
new HashMap< String, WesnothInstall >();
/**
* Returns a list of the current wesnoth installations available
* in the preferences store