This is an automated email from the ASF dual-hosted git repository. fschumacher pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/jmeter.git
commit 8b53d21007d5fb253ddee0b3cd6f1b17d0c8533e Author: Felix Schumacher <[email protected]> AuthorDate: Tue Aug 20 21:09:28 2019 +0200 Hide the constructor as this is a singleton --- .../src/main/java/org/apache/jmeter/samplers/SampleSenderFactory.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/core/src/main/java/org/apache/jmeter/samplers/SampleSenderFactory.java b/src/core/src/main/java/org/apache/jmeter/samplers/SampleSenderFactory.java index 5a59b32..3a0f726 100644 --- a/src/core/src/main/java/org/apache/jmeter/samplers/SampleSenderFactory.java +++ b/src/core/src/main/java/org/apache/jmeter/samplers/SampleSenderFactory.java @@ -38,6 +38,10 @@ public class SampleSenderFactory { private static final String MODE_DISKSTORE = "DiskStore"; // $NON-NLS-1$ private static final String MODE_STRIPPED_DISKSTORE = "StrippedDiskStore"; // $NON-NLS-1$ + private SampleSenderFactory() { + // this is a singleton, so don't let anyone instantiate us + } + /** * Checks for the JMeter property mode and returns the required class. *
