diff options
| author | Florian Moesch <florian@moesch.org> | 2011-08-11 16:23:33 +0200 |
|---|---|---|
| committer | Florian Moesch <florian@moesch.org> | 2011-08-11 16:23:33 +0200 |
| commit | b4a8f742dae6d801be2993f404721cdf74be2493 (patch) | |
| tree | 3a258fefe27e48f725088922cbe060a31875f892 /src/cgeo/geocaching/cgSearchThread.java | |
| parent | a2753235e840ac601416b06339fa39c87938cef4 (diff) | |
| download | cgeo-b4a8f742dae6d801be2993f404721cdf74be2493.zip cgeo-b4a8f742dae6d801be2993f404721cdf74be2493.tar.gz cgeo-b4a8f742dae6d801be2993f404721cdf74be2493.tar.bz2 | |
`recaptchaText` was synchronized thread save in `setText()` but not in `getText()`
Diffstat (limited to 'src/cgeo/geocaching/cgSearchThread.java')
| -rw-r--r-- | src/cgeo/geocaching/cgSearchThread.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cgeo/geocaching/cgSearchThread.java b/src/cgeo/geocaching/cgSearchThread.java index 0cd99ce..b3c21ed 100644 --- a/src/cgeo/geocaching/cgSearchThread.java +++ b/src/cgeo/geocaching/cgSearchThread.java @@ -40,7 +40,7 @@ public class cgSearchThread extends Thread { notify(); } - public String getText() { + public synchronized String getText() { return recaptchaText; } } |
