Polishing.

Refine TrainIteration.toString representation, drop SR/M/RC suffix.
This commit is contained in:
Mark Paluch
2024-11-15 14:13:42 +01:00
parent f576536ba0
commit 4bb4393597

View File

@@ -105,7 +105,12 @@ public class TrainIteration implements Streamable<ModuleIteration>, Lifecycle {
*/
@Override
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() {