Remove hardcoded version in Banner

pull/10/head
Dave Syer 11 years ago
parent 34500632d4
commit 22b1f25642

@ -53,7 +53,6 @@ abstract class Banner {
} }
String version = Banner.class.getPackage().getImplementationVersion(); String version = Banner.class.getPackage().getImplementationVersion();
version = (version == null ? "" : " (v" + version + ")"); version = (version == null ? "" : " (v" + version + ")");
version = " v0.5.0.BUILD.SNAPSHOT";
String padding = ""; String padding = "";
while (padding.length() < STRAP_LINE_SIZE while (padding.length() < STRAP_LINE_SIZE
- (version.length() + SPRING_BOOT.length())) { - (version.length() + SPRING_BOOT.length())) {

Loading…
Cancel
Save