forked from jens/Automation
trim()s inserted
This commit is contained in:
parent
58f24953f3
commit
ad0d9962b5
@ -107,7 +107,7 @@ public class Rule implements Comparable<Rule>
|
|||||||
}
|
}
|
||||||
public void setName(String name)
|
public void setName(String name)
|
||||||
{
|
{
|
||||||
this.name = name;
|
this.name = name.trim();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void readFromFile()
|
public static void readFromFile()
|
||||||
|
@ -104,7 +104,7 @@ public class Rule implements Comparable<Rule>
|
|||||||
}
|
}
|
||||||
public void setName(String name)
|
public void setName(String name)
|
||||||
{
|
{
|
||||||
this.name = name;
|
this.name = name.trim();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void readFromFile()
|
public static void readFromFile()
|
||||||
|
@ -107,7 +107,7 @@ public class Rule implements Comparable<Rule>
|
|||||||
}
|
}
|
||||||
public void setName(String name)
|
public void setName(String name)
|
||||||
{
|
{
|
||||||
this.name = name;
|
this.name = name.trim();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void readFromFile()
|
public static void readFromFile()
|
||||||
|
@ -64,7 +64,7 @@ public class PointOfInterest implements Comparable<PointOfInterest>
|
|||||||
public void setName(String desiredName)
|
public void setName(String desiredName)
|
||||||
{
|
{
|
||||||
this.oldName = this.name;
|
this.oldName = this.name;
|
||||||
this.name = desiredName;
|
this.name = desiredName.trim();
|
||||||
}
|
}
|
||||||
|
|
||||||
public Location getLocation()
|
public Location getLocation()
|
||||||
|
@ -62,7 +62,7 @@ public class Profile implements Comparable<Profile>
|
|||||||
public void setName(String name)
|
public void setName(String name)
|
||||||
{
|
{
|
||||||
this.oldName = this.name;
|
this.oldName = this.name;
|
||||||
this.name = name;
|
this.name = name.trim();
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getName()
|
public String getName()
|
||||||
|
@ -1430,7 +1430,7 @@ public class Trigger
|
|||||||
|
|
||||||
public void setTriggerParameter2(String triggerParameter2)
|
public void setTriggerParameter2(String triggerParameter2)
|
||||||
{
|
{
|
||||||
this.triggerParameter2 = triggerParameter2;
|
this.triggerParameter2 = triggerParameter2.trim();
|
||||||
}
|
}
|
||||||
|
|
||||||
public TimeFrame getTimeFrame()
|
public TimeFrame getTimeFrame()
|
||||||
|
@ -42,11 +42,13 @@
|
|||||||
</EditText>
|
</EditText>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
android:visibility="gone"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/messageType" />
|
android:text="@string/messageType" />
|
||||||
|
|
||||||
<RadioGroup
|
<RadioGroup
|
||||||
|
android:visibility="gone"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content" >
|
android:layout_height="wrap_content" >
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user