From a09ae80a678e2d5e9f0b4e231b8d246e04519841 Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Tue, 14 May 2019 09:52:43 +0200 Subject: [PATCH] #118 - Polishing. Fix message formatting. --- .../data/release/misc/ReleaseOperations.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/release-tools/src/main/java/org/springframework/data/release/misc/ReleaseOperations.java b/release-tools/src/main/java/org/springframework/data/release/misc/ReleaseOperations.java index 9603912..55b8f21 100644 --- a/release-tools/src/main/java/org/springframework/data/release/misc/ReleaseOperations.java +++ b/release-tools/src/main/java/org/springframework/data/release/misc/ReleaseOperations.java @@ -1,5 +1,5 @@ /* - * Copyright 2014 the original author or authors. + * Copyright 2014-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -38,6 +38,7 @@ import org.springframework.util.Assert; /** * @author Oliver Gierke + * @author Mark Paluch */ @Component @RequiredArgsConstructor @@ -61,7 +62,7 @@ public class ReleaseOperations { /** * Creates {@link Changelog} instances for all modules of the given {@link Train} and {@link Iteration}. - * + * * @param train must not be {@literal null}. * @param iteration must not be {@literal null}. * @throws Exception @@ -74,7 +75,7 @@ public class ReleaseOperations { Changelog changelog = trackers .getRequiredPluginFor(module.getProject(), - () -> String.format("No issue tracker found for project %!", module.getProject()))// + () -> String.format("No issue tracker found for project %s!", module.getProject()))// .getChangelogFor(module); for (String location : CHANGELOG_LOCATIONS) {