Skip to content

Commit

Permalink
LDEV-5183 - add support for "gradle" style
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeloffner committed Dec 6, 2024
1 parent a6dadec commit 8ea3e18
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions core/src/main/java/lucee/runtime/mvn/MavenUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -244,19 +244,19 @@ public String toString() {

if (!StringUtil.isEmpty(g, true)) sb.append(g);
if (!StringUtil.isEmpty(a, true)) {
if (!sb.isEmpty()) sb.append(':');
if (sb.length() > 0) sb.append(':');
sb.append(a);
}
if (!StringUtil.isEmpty(v, true)) {
if (!sb.isEmpty()) sb.append(':');
if (sb.length() > 0) sb.append(':');
sb.append(v);
}
if (!StringUtil.isEmpty(s, true)) {
if (!sb.isEmpty()) sb.append(':');
if (sb.length() > 0) sb.append(':');
sb.append(s);
}
if (!StringUtil.isEmpty(o, true)) {
if (!sb.isEmpty()) sb.append(':');
if (sb.length() > 0) sb.append(':');
sb.append(o);
}
return sb.toString();
Expand Down

0 comments on commit 8ea3e18

Please sign in to comment.