aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/Geocache.java
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/cgeo/geocaching/Geocache.java')
-rw-r--r--main/src/cgeo/geocaching/Geocache.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/Geocache.java b/main/src/cgeo/geocaching/Geocache.java
index 9649f5f..9a7d013 100644
--- a/main/src/cgeo/geocaching/Geocache.java
+++ b/main/src/cgeo/geocaching/Geocache.java
@@ -1138,7 +1138,7 @@ public class Geocache implements ICache, IWaypoint {
}
public void setPersonalNote(String personalNote) {
- this.personalNote = personalNote;
+ this.personalNote = StringUtils.trimToNull(personalNote);
}
public void setDisabled(boolean disabled) {