diff options
| author | rsudev <rasch@munin-soft.de> | 2012-10-29 08:20:49 +0100 |
|---|---|---|
| committer | rsudev <rasch@munin-soft.de> | 2012-11-03 23:24:18 +0100 |
| commit | 1b7141301c350e1e328978bb4a1496cb4889dd3b (patch) | |
| tree | 095808253cfa4d7845fcbea3d17be3d489121148 /main/src/cgeo/geocaching/files/FileList.java | |
| parent | f5343eac8a433b198d47057a112e4c92486906b3 (diff) | |
| download | cgeo-1b7141301c350e1e328978bb4a1496cb4889dd3b.zip cgeo-1b7141301c350e1e328978bb4a1496cb4889dd3b.tar.gz cgeo-1b7141301c350e1e328978bb4a1496cb4889dd3b.tar.bz2 | |
Correction of coding issues
Diffstat (limited to 'main/src/cgeo/geocaching/files/FileList.java')
| -rw-r--r-- | main/src/cgeo/geocaching/files/FileList.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/main/src/cgeo/geocaching/files/FileList.java b/main/src/cgeo/geocaching/files/FileList.java index e7bd807..1eaefbb 100644 --- a/main/src/cgeo/geocaching/files/FileList.java +++ b/main/src/cgeo/geocaching/files/FileList.java @@ -293,7 +293,7 @@ public abstract class FileList<T extends ArrayAdapter<File>> extends AbstractLis private class FileListSelector extends FileUtils.FileSelector { - boolean _shouldEnd = false; + boolean shouldEnd = false; @Override public boolean isSelected(File file) { @@ -301,12 +301,12 @@ public abstract class FileList<T extends ArrayAdapter<File>> extends AbstractLis } @Override - public boolean shouldEnd() { - return _shouldEnd; + public synchronized boolean shouldEnd() { + return shouldEnd; } - public void setShouldEnd(boolean shouldEnd) { - _shouldEnd = shouldEnd; + public synchronized void setShouldEnd(boolean shouldEnd) { + this.shouldEnd = shouldEnd; } } } |
