Apply code style fixes

This commit is contained in:
Gavin Tran 2024-04-21 15:39:48 -04:00
parent 72f761678a
commit c20b1eaf10
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ public class FunctionUtil {
functionMap.put(entry.getKey(), UserDefinedFunction.newInstance(entry.getValue())); functionMap.put(entry.getKey(), UserDefinedFunction.newInstance(entry.getValue()));
} }
samplers.forEach((id, sampler) -> { samplers.forEach((id, sampler) -> {
if (sampler.getDimensions() == 2) { if(sampler.getDimensions() == 2) {
functionMap.put(id, new NoiseFunction2(sampler.getSampler())); functionMap.put(id, new NoiseFunction2(sampler.getSampler()));
functionMap.put(id + "Salted", new SaltedNoiseFunction2(sampler.getSampler())); functionMap.put(id + "Salted", new SaltedNoiseFunction2(sampler.getSampler()));
} else { } else {