Skip to content

Commit

Permalink
Update SymbolicAdsTag.java (#1633)
Browse files Browse the repository at this point in the history
Initializing arrayInfo variable with immutable empty list in static of method.
  • Loading branch information
mrwhy-orig committed Jun 14, 2024
1 parent 61c40aa commit 05a3ca2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import org.apache.plc4x.java.spi.generation.WriteBuffer;

import java.nio.charset.StandardCharsets;
import java.util.Collections;
import java.util.List;
import java.util.Objects;
import java.util.regex.Matcher;
Expand Down Expand Up @@ -58,7 +59,7 @@ public static SymbolicAdsTag of(String address) {
}
String symbolicAddress = matcher.group("symbolicAddress");

return new SymbolicAdsTag(symbolicAddress, null, null);
return new SymbolicAdsTag(symbolicAddress, null, Collections.emptyList());
}

public static boolean matches(String address) {
Expand Down

0 comments on commit 05a3ca2

Please sign in to comment.