Skip to content

Commit

Permalink
Resolves mojohaus#850: Protecting the display-plugin-updates mojo aga…
Browse files Browse the repository at this point in the history
…inst a NPE in case the effective version of a plugin is not specified
  • Loading branch information
jarmoniuk committed Dec 18, 2022
1 parent a487771 commit 91f1e15
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -620,7 +620,7 @@ private static String pad(String start, int len, String... ends) {
buf.append(start);
int padding = len;
for (String end : ends) {
padding -= end.length();
padding -= String.valueOf(end).length();
}
buf.append(' ');
while (buf.length() < padding) {
Expand Down

0 comments on commit 91f1e15

Please sign in to comment.