Skip to content

Commit

Permalink
Resolves #96
Browse files Browse the repository at this point in the history
  • Loading branch information
varontron committed Oct 28, 2018
1 parent 7b8eedf commit 9834a6d
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2839,10 +2839,13 @@ public Map<String,List<String>> getPluginConfig() {
// popped off the stack so to speak, but also to retain original order.
Map<String,List<String>> pluginMap = new LinkedHashMap<>();
int i = 0;
for(String plugin : this.plugin)
if(null != this.plugin && this.plugin.length > 0)
{
List<String> args = getPluginArgs() != null ? getPluginArgs().get(i++) : null;
pluginMap.put(plugin, args);
for(String plugin : this.plugin)
{
List<String> args = getPluginArgs() != null ? getPluginArgs().get(i++) : null;
pluginMap.put(plugin, args);
}
}
return pluginMap;
}
Expand Down

0 comments on commit 9834a6d

Please sign in to comment.