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()

View File

@ -62,7 +62,7 @@ public class Profile implements Comparable<Profile>
public void setName(String name)
{
this.oldName = this.name;
this.name = name;
this.name = name.trim();
}
public String getName()

View File

@ -1430,7 +1430,7 @@ public class Trigger
public void setTriggerParameter2(String triggerParameter2)
{
this.triggerParameter2 = triggerParameter2;
this.triggerParameter2 = triggerParameter2.trim();
}
public TimeFrame getTimeFrame()