Skip to content
This repository was archived by the owner on May 30, 2024. It is now read-only.

Commit 154a07e

Browse files
committed
Provide a no-args ctor for TargetRules. May fix an exception thrown during GSON serialization
1 parent b2bfa6c commit 154a07e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/java/com/launchdarkly/client/Variation.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,10 @@ static class TargetRule {
119119

120120
private final Logger logger = LoggerFactory.getLogger(TargetRule.class);
121121

122+
public TargetRule() {
123+
124+
}
125+
122126
TargetRule(String attribute, String operator, List<Object> values) {
123127
this.attribute = attribute;
124128
this.operator = operator;

0 commit comments

Comments
 (0)