Skip to content

Commit

Permalink
Change public constructors to private
Browse files Browse the repository at this point in the history
  • Loading branch information
aherbert committed Jul 8, 2024
1 parent 8212fca commit 0490a44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ public DiscreteUniformSampler(UniformRandomProvider rng,
*
* @param delegate Delegate.
*/
public DiscreteUniformSampler(SharedStateDiscreteSampler delegate) {
private DiscreteUniformSampler(SharedStateDiscreteSampler delegate) {
super(null);
this.delegate = delegate;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ public RejectionInversionZipfSampler(UniformRandomProvider rng,
*
* @param delegate Delegate.
*/
public RejectionInversionZipfSampler(SharedStateDiscreteSampler delegate) {
private RejectionInversionZipfSampler(SharedStateDiscreteSampler delegate) {
super(null);
this.delegate = delegate;
}
Expand Down

0 comments on commit 0490a44

Please sign in to comment.