Skip to content

Commit

Permalink
Make field mutabilityType final
Browse files Browse the repository at this point in the history
Signed-off-by: Edoardo Vacchi <[email protected]>
  • Loading branch information
evacchi committed Aug 27, 2024
1 parent 1a1a381 commit 1322e79
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
public class GlobalInstance {
private Value value;
private Instance instance;
private MutabilityType mutabilityType;
private final MutabilityType mutabilityType;

public GlobalInstance(Value value, MutabilityType mutabilityType) {
this.value = value;
Expand Down Expand Up @@ -37,8 +37,4 @@ public void setInstance(Instance instance) {
public MutabilityType getMutabilityType() {
return mutabilityType;
}

public void setMutabilityType(MutabilityType mutabilityType) {
this.mutabilityType = mutabilityType;
}
}

0 comments on commit 1322e79

Please sign in to comment.