mirror of
https://github.com/ethauvin/bld.git
synced 2025-04-25 08:17:11 -07:00
Replaced more append("x") with append('x') where applicable
This commit is contained in:
parent
7009e54c71
commit
f6cb944565
2 changed files with 3 additions and 3 deletions
|
@ -134,13 +134,13 @@ public record Dependency(String groupId, String artifactId, VersionNumber versio
|
|||
if (!classifier().isEmpty()) {
|
||||
result.append('-').append(classifier());
|
||||
}
|
||||
result.append(".").append(type());
|
||||
result.append('.').append(type());
|
||||
return result.toString();
|
||||
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
var result = new StringBuilder(groupId).append(":").append(artifactId);
|
||||
var result = new StringBuilder(groupId).append(':').append(artifactId);
|
||||
if (!version.equals(VersionNumber.UNKNOWN)) {
|
||||
result.append(':').append(version);
|
||||
}
|
||||
|
|
|
@ -219,7 +219,7 @@ public record VersionNumber(Integer major, Integer minor, Integer revision, Stri
|
|||
var version = new StringBuilder();
|
||||
version.append(majorInt());
|
||||
if (minor != null || revision != null) {
|
||||
version.append(".");
|
||||
version.append('.');
|
||||
version.append(minorInt());
|
||||
}
|
||||
if (revision != null) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue