Skip to content

Commit

Permalink
ffc-java-commons: code improvements in generic type
Browse files Browse the repository at this point in the history
  • Loading branch information
dsun0720 committed May 3, 2022
1 parent c861d7c commit 9ff4e65
Show file tree
Hide file tree
Showing 14 changed files with 12 additions and 12 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
577dd33f970902aa2c0d4e3dfc005aa1
3d1341dbf16bd56a2b266b1d4940031e
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4d154fef5ec2d672248cba21d76f9dcff9e3f52e
4f27c153a8419fec6708301be36b294f6a7f6e16
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2ef0a3d8862ec420292671a1646ce1c4
5d4bd4b5e3d36cfde44eb20b5b2bb66d
Original file line number Diff line number Diff line change
@@ -1 +1 @@
b45bdc7d058b3d808a8dfcfbfa2ca9239b28c32d
cb0e0bb62e3447e034c06e5c934799f9a10e52a1
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6d5b2b097f84f28d1f0687112ab80c18
18d45a68ce3eab363d9d0e4c6b2e1734
Original file line number Diff line number Diff line change
@@ -1 +1 @@
9dac5f881e70090f063225975880abe7ca146027
339dc63b427d5f84b6bf26042f9378230be031af
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
<version>1.0</version>
<version>1.1</version>
</versions>
<lastUpdated>20220427012327</lastUpdated>
<lastUpdated>20220503062952</lastUpdated>
</versioning>
</metadata>
Original file line number Diff line number Diff line change
@@ -1 +1 @@
40eae44b6abec34b3ea578aa802d4d32
38892be71a520f95ee6e2f03567a1e34
Original file line number Diff line number Diff line change
@@ -1 +1 @@
376da8d2524458ab60986b03709fa19cfc4a48b6
35f3724f55c39bb28bcb1487e1bf8e1e63ee0ce1
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>co.featureflags</groupId>
<artifactId>ffc-java-sdk-commons</artifactId>
<version>1.1</version>
<version>1.1.1</version>

<licenses>
<license>
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/co/featureflags/commons/model/EvalDetail.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public static <T> EvalDetail<T> of(T variation,
String reason,
String keyName,
String name) {
return new EvalDetail(variation, id, reason, keyName, name);
return new EvalDetail<>(variation, id, reason, keyName, name);
}

/**
Expand Down Expand Up @@ -163,7 +163,7 @@ public String toString() {
.toString();
}

public FlagState toFlagState() {
public FlagState<T> toFlagState() {
return FlagState.of(this);
}

Expand Down

0 comments on commit 9ff4e65

Please sign in to comment.