Skip to content

Commit af952bc

Browse files
Fixed java compiler varargs warning
1 parent 65a8e1e commit af952bc

File tree

1 file changed

+1
-1
lines changed
  • typescript-generator-core/src/main/java/cz/habarta/typescript/generator

1 file changed

+1
-1
lines changed

typescript-generator-core/src/main/java/cz/habarta/typescript/generator/Input.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public ScanResult scanClasspath() {
7777
System.out.println("Scanning classpath");
7878
final Date scanStart = new Date();
7979
final ScanResult result = new FastClasspathScanner()
80-
.overrideClasspath(classLoader.getURLs())
80+
.overrideClasspath((Object[])classLoader.getURLs())
8181
.verbose(verbose)
8282
.scan();
8383
final int count = result.getNamesOfAllClasses().size();

0 commit comments

Comments
 (0)