Skip to content

Commit

Permalink
# This is a combination of 2 commits.
Browse files Browse the repository at this point in the history
# This is the 1st commit message:

Changes to make clone methods final for security

This reverts commit 92699d2.

#Changes to make clone methods final for security

Revert "Merge branch 'static_cve_fix_clone_final' of github.com:bibith4/presto into static_cve_fix_clone_final"

This reverts commit c9b3b7d, reversing
changes made to 87ce038.

# This is the commit message #2:

Changes to make clone methods final for security
  • Loading branch information
bibith4 committed Oct 30, 2024
1 parent d3051d6 commit 2603304
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 @@ -121,7 +121,7 @@ public int getTotalPopulationCount()
}

@Override
public UnweightedDoubleReservoirSample clone()
public final UnweightedDoubleReservoirSample clone()
{
return new UnweightedDoubleReservoirSample(this);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public void mergeWith(WeightedDoubleReservoirSample other)
}

@Override
public WeightedDoubleReservoirSample clone()
public final WeightedDoubleReservoirSample clone()
{
return new WeightedDoubleReservoirSample(this);
}
Expand Down

0 comments on commit 2603304

Please sign in to comment.