minor improvements
This commit is contained in:
2
pom.xml
2
pom.xml
@@ -4,7 +4,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>de.srsoftware</groupId>
|
<groupId>de.srsoftware</groupId>
|
||||||
<artifactId>web4rail</artifactId>
|
<artifactId>web4rail</artifactId>
|
||||||
<version>1.3.27</version>
|
<version>1.3.28</version>
|
||||||
<name>Web4Rail</name>
|
<name>Web4Rail</name>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<description>Java Model Railway Control</description>
|
<description>Java Model Railway Control</description>
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ public interface Constants {
|
|||||||
|
|
||||||
public static final String ASSIGN = "assign";
|
public static final String ASSIGN = "assign";
|
||||||
public static final String BLOCK = "block";
|
public static final String BLOCK = "block";
|
||||||
public static final String COL = " ";
|
public static final String COL = ": ";
|
||||||
public static final String CONTACT = "contact";
|
public static final String CONTACT = "contact";
|
||||||
public static final String CONTEXT = "context";
|
public static final String CONTEXT = "context";
|
||||||
public static final String DEFAULT_SPEED_UNIT = "km/h";
|
public static final String DEFAULT_SPEED_UNIT = "km/h";
|
||||||
|
|||||||
@@ -900,7 +900,7 @@ public class Train extends BaseClass implements Comparable<Train> {
|
|||||||
remaining.add(car);
|
remaining.add(car);
|
||||||
if (isNull(remaining.name)) {
|
if (isNull(remaining.name)) {
|
||||||
remaining.name = car.name();
|
remaining.name = car.name();
|
||||||
} else if (remaining.name.length()+car.name().length()<20){
|
} else if (remaining.name.length()+car.name().length()<30){
|
||||||
remaining.name += ", "+car.name();
|
remaining.name += ", "+car.name();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user