Consistent usage of String.format().
diff --git a/org.jacoco.core/src/org/jacoco/core/data/ExecutionDataReader.java b/org.jacoco.core/src/org/jacoco/core/data/ExecutionDataReader.java
index b1bf9d2..33bd001 100644
--- a/org.jacoco.core/src/org/jacoco/core/data/ExecutionDataReader.java
+++ b/org.jacoco.core/src/org/jacoco/core/data/ExecutionDataReader.java
@@ -84,9 +84,8 @@
}
final char version = in.readChar();
if (version != ExecutionDataWriter.FORMAT_VERSION) {
- throw new IOException(String
- .format("Incompatible format version %x.", Integer
- .valueOf(version)));
+ throw new IOException(format("Incompatible format version %x.",
+ Integer.valueOf(version)));
}
}