hide generic constructor from the Injector, so that random order of reflection won't pick the wrong constructor sometimes

This commit is contained in:
Anton Keks 2022-01-22 14:33:39 +02:00
parent 16eefec473
commit 70fdfd4e0d

View File

@ -16,7 +16,7 @@ public class ARPPinger implements Pinger {
this(macFetcher, macFetcher.getClass().getSimpleName().startsWith("Win") ? null : (Pinger) trigger);
}
public ARPPinger(MACFetcher macFetcher, Pinger trigger) {
ARPPinger(MACFetcher macFetcher, Pinger trigger) {
this.macFetcher = macFetcher;
this.trigger = trigger;
}