trim()s inserted

This commit is contained in:
Jens
2023-01-01 23:51:51 +01:00
parent 58f24953f3
commit ad0d9962b5
7 changed files with 8 additions and 6 deletions

View File

@ -64,7 +64,7 @@ public class PointOfInterest implements Comparable<PointOfInterest>
public void setName(String desiredName)
{
this.oldName = this.name;
this.name = desiredName;
this.name = desiredName.trim();
}
public Location getLocation()