eclipse plugin: Make the fields in WesnothInstall private...
...and clean some code
This commit is contained in:
parent
58c6a73643
commit
c9c7cd882a
2 changed files with 2 additions and 10 deletions
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue