mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2024-11-27 06:10:28 +01:00
Make class fields in EditPGN private
This commit is contained in:
parent
bdd577bb93
commit
408cb78272
|
@ -56,24 +56,24 @@ import java.util.ArrayList;
|
||||||
import java.util.Locale;
|
import java.util.Locale;
|
||||||
|
|
||||||
public abstract class EditPGN extends ListActivity {
|
public abstract class EditPGN extends ListActivity {
|
||||||
static ArrayList<GameInfo> gamesInFile = new ArrayList<>();
|
private static ArrayList<GameInfo> gamesInFile = new ArrayList<>();
|
||||||
static boolean cacheValid = false;
|
private static boolean cacheValid = false;
|
||||||
PGNFile pgnFile;
|
private PGNFile pgnFile;
|
||||||
ProgressDialog progress;
|
private ProgressDialog progress;
|
||||||
private GameInfo selectedGi = null;
|
private GameInfo selectedGi = null;
|
||||||
ArrayAdapter<GameInfo> aa = null;
|
private ArrayAdapter<GameInfo> aa = null;
|
||||||
|
|
||||||
SharedPreferences settings;
|
private SharedPreferences settings;
|
||||||
int defaultItem = 0;
|
private int defaultItem = 0;
|
||||||
String lastSearchString = "";
|
private String lastSearchString = "";
|
||||||
String lastFileName = "";
|
private String lastFileName = "";
|
||||||
long lastModTime = -1;
|
private long lastModTime = -1;
|
||||||
|
|
||||||
Thread workThread = null;
|
private Thread workThread = null;
|
||||||
boolean canceled = false;
|
private boolean canceled = false;
|
||||||
|
|
||||||
boolean loadGame; // True when loading game, false when saving
|
private boolean loadGame; // True when loading game, false when saving
|
||||||
String pgnToSave;
|
private String pgnToSave;
|
||||||
|
|
||||||
private SelectGameBinding binding;
|
private SelectGameBinding binding;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user