Skip to content

Commit

Permalink
Made period register variable final
Browse files Browse the repository at this point in the history
  • Loading branch information
ewferg committed Jun 1, 2023
1 parent 60db96f commit 9921c3a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
public class SampledResource<T> implements DiscreteResource<T> {
private final Register<T> result;
private final Supplier<T> sampler;
private Register<Double> period = Register.forImmutable(1.0);
private final Register<Double> period = Register.forImmutable(1.0);

/**
* Constructor that does not require caller to specify a period and therefore assumes a sample
Expand Down

0 comments on commit 9921c3a

Please sign in to comment.