Skip to content
Permalink
Browse files
Fixed generics inference compilation problem on Travis, and some clea…
…nup.
  • Loading branch information
ddekany committed Feb 8, 2021
1 parent 0678d71 commit a2fea2275b1943dbfb51fcee69452b36985ac5a3
Showing 2 changed files with 2 additions and 2 deletions.
@@ -338,7 +338,7 @@ private void insertOutput(InsertDirectiveArgs args) throws TemplateException, IO
if (wdSubst == null) {
return cmdArg;
}
return cmdArg.replace(DOCGEN_WD_TAG, wdSubst.toAbsolutePath().normalize().toString());
return cmdArg.replace(DOCGEN_WD_TAG, wdSubst.toString());
})
.collect(Collectors.toList());

@@ -675,7 +675,7 @@ Map.class, new MapEntryType(String.class, String.class)
SETTING_INSERTABLE_OUTPUT_COMMANDS_DOCGEN_WD_REPLACED_WITH_KEY), DefaultValue.NULL,
String.class
)
).map(Paths::get).orElse(null)
).map((String it) -> Paths.get(it).toAbsolutePath().normalize()).orElse(null)
);
insertableOutputCommands.put(commandKey, commandProps);
}

0 comments on commit a2fea22

Please sign in to comment.