Polishing.
Refine TrainIteration.toString representation, drop SR/M/RC suffix.
This commit is contained in:
@@ -105,7 +105,12 @@ public class TrainIteration implements Streamable<ModuleIteration>, Lifecycle {
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return String.format("%s %s", getName(), iteration.getName());
|
|
||||||
|
if (getTrain().usesCalver()) {
|
||||||
|
return getCalver().toMajorMinorBugfix();
|
||||||
|
}
|
||||||
|
|
||||||
|
return String.format("%s %s", getTrain().getName(), iteration.getName());
|
||||||
}
|
}
|
||||||
|
|
||||||
public Version getCalver() {
|
public Version getCalver() {
|
||||||
|
|||||||
Reference in New Issue
Block a user