Skip to content

Commit

Permalink
[#703][#704] make AbstractConfigGeneratorProcessor more flexible
Browse files Browse the repository at this point in the history
  • Loading branch information
remkop committed May 23, 2019
1 parent 690abbc commit 2d3228f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ protected boolean handleCommands(Map<Element, CommandSpec> commands,
}

try {
String path = createRelativeName(processingEnv.getOptions(), fileName());
String path = createRelativePath(processingEnv.getOptions(), fileName());
ProcessorUtil.generate(path, generateConfig(), processingEnv, commands.keySet().toArray(new Element[0]));
} catch (Exception e) {
// We don't allow exceptions of any kind to propagate to the compiler
Expand All @@ -33,7 +33,7 @@ protected boolean handleCommands(Map<Element, CommandSpec> commands,
return false;
}

static String createRelativeName(Map<String, String> options, String fileName) {
protected String createRelativePath(Map<String, String> options, String fileName) {
String groupId = options.get("groupId");
String artifactId = options.get("artifactId");

Expand Down

0 comments on commit 2d3228f

Please sign in to comment.