Skip to content

Commit

Permalink
Specify key type in attribute trait
Browse files Browse the repository at this point in the history
  • Loading branch information
fullwall committed Jun 8, 2024
1 parent 8f3a396 commit 6bb52c0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

@TraitName("attributetrait")
public class AttributeTrait extends Trait {
@Persist
@Persist(keyType = Attribute.class)
private final Map<Attribute, Double> attributes = Maps.newEnumMap(Attribute.class);

public AttributeTrait() {
Expand Down

0 comments on commit 6bb52c0

Please sign in to comment.