[Minor] Automated Code cleanup

This commit is contained in:
Robert von Burg 2023-04-04 15:48:04 +02:00
parent 69f7be4a96
commit b20119a2ba
Signed by: eitch
GPG Key ID: 75DB9C85C74331F7
1 changed files with 5 additions and 5 deletions

View File

@ -26,8 +26,8 @@ public class XmlExportModelArgument extends ServiceArgument {
public boolean overwrite;
public boolean multiFile;
public boolean doOrders = true;
public final boolean doResources = true;
public final boolean doActivities = true;
public boolean doResources = true;
public boolean doActivities = true;
public final Set<String> orderTypes = new HashSet<>();
public final Set<String> resourceTypes = new HashSet<>();
public final Set<String> activityTypes = new HashSet<>();
@ -55,21 +55,21 @@ public class XmlExportModelArgument extends ServiceArgument {
if (this.doActivities)
builder.append(", activities");
if (this.resourceTypes != null && !this.resourceTypes.isEmpty()) {
if (!this.resourceTypes.isEmpty()) {
builder.append(", resourceTypes=");
builder.append(this.resourceTypes);
} else {
builder.append(", resourceTypes=*");
}
if (this.orderTypes != null && !this.orderTypes.isEmpty()) {
if (!this.orderTypes.isEmpty()) {
builder.append(", orderTypes=");
builder.append(this.orderTypes);
} else {
builder.append(", orderTypes=*");
}
if (this.activityTypes != null && !this.activityTypes.isEmpty()) {
if (!this.activityTypes.isEmpty()) {
builder.append(", activityTypes=");
builder.append(this.activityTypes);
} else {