import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
-public class RestPerfClient {
+public final class RestPerfClient {
private static final Logger LOG = LoggerFactory.getLogger(RestPerfClient.class);
}
}
+ private RestPerfClient() {
+
+ }
+
public static void main(String[] args) throws IOException {
Parameters parameters = parseArgs(args, Parameters.getParser());
try {
editContentString = Files.toString(parameters.editContent, StandardCharsets.UTF_8);
} catch (final IOException e) {
- throw new IllegalArgumentException("Cannot read content of " + parameters.editContent);
+ throw new IllegalArgumentException("Cannot read content of " + parameters.editContent, e);
}
final int threadAmount = parameters.threadAmount;