Skip to content

Commit a9d4f77

Browse files
committed
remove a couple warnings from compilation
1 parent 1f5606f commit a9d4f77

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

compiler/src/main/java/com/github/mustachejava/FallbackMustacheFactory.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public class FallbackMustacheFactory extends DefaultMustacheFactory {
2525
* @param fallbackRoot fallback alternative root
2626
*/
2727
public FallbackMustacheFactory(String resourceRoot, String fallbackRoot) {
28-
this(new String[]{resourceRoot, fallbackRoot});
28+
this(new Object[]{resourceRoot, fallbackRoot});
2929
}
3030

3131
/**
@@ -35,7 +35,7 @@ public FallbackMustacheFactory(String resourceRoot, String fallbackRoot) {
3535
* @param fallbackRoot fallback alternative root
3636
*/
3737
public FallbackMustacheFactory(File fileRoot, File fallbackRoot) {
38-
this(new File[]{fileRoot, fallbackRoot});
38+
this(new Object[]{fileRoot, fallbackRoot});
3939
}
4040

4141
/**

0 commit comments

Comments
 (0)