This is an automated email from the ASF dual-hosted git repository.
chesnay pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/master by this push:
new d0741d2 [hotfix][rest][tests] Fix Preconditions placeholder
d0741d2 is described below
commit d0741d2f3ad636ed69259cc689f40c2e9d357056
Author: Chesnay Schepler <[email protected]>
AuthorDate: Wed Apr 24 17:26:25 2019 +0200
[hotfix][rest][tests] Fix Preconditions placeholder
---
.../apache/flink/runtime/rest/compatibility/CompatibilityRoutine.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/flink-runtime/src/test/java/org/apache/flink/runtime/rest/compatibility/CompatibilityRoutine.java
b/flink-runtime/src/test/java/org/apache/flink/runtime/rest/compatibility/CompatibilityRoutine.java
index d98b4ff..a13b069 100644
---
a/flink-runtime/src/test/java/org/apache/flink/runtime/rest/compatibility/CompatibilityRoutine.java
+++
b/flink-runtime/src/test/java/org/apache/flink/runtime/rest/compatibility/CompatibilityRoutine.java
@@ -71,7 +71,7 @@ final class CompatibilityRoutine<C> {
CompatibilityCheckResult checkCompatibility(final Optional<C> old,
final Optional<C> cur) {
Preconditions.checkArgument(
old.isPresent() || cur.isPresent(),
- "Implementation error: Compatibility check container
for routine {} for both old and new version is null.", key);
+ "Implementation error: Compatibility check container
for routine %s for both old and new version is null.", key);
if (!old.isPresent()) {
// allow addition of new compatibility routines