Github user vdiravka commented on a diff in the pull request:
https://github.com/apache/drill/pull/1177#discussion_r176165870
--- Diff:
common/src/main/java/org/apache/drill/common/scanner/BuildTimeScan.java ---
@@ -118,10 +118,10 @@ private static void save(ScanResult scanResult, File
file) {
*/
public static void main(String[] args) throws Exception {
if (args.length != 1) {
- throw new IllegalArgumentException("Usage: java {cp} " +
ClassPathScanner.class.getName() + " path/to/scan");
+ throw new IllegalArgumentException("Usage: java {cp} " +
BuildTimeScan.class.getName() + " path/to/scan");
--- End diff --
Consider String.format
---