From 591813402dfbe9fce99866f1a486c5902e15f30b Mon Sep 17 00:00:00 2001 From: Riccardo Azzolini Date: Sun, 27 Jan 2019 19:56:18 +0100 Subject: [PATCH] Prevent instantiation of PatternUtils --- .../java/it/cavallium/warppi/math/rules/dsl/PatternUtils.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/src/main/java/it/cavallium/warppi/math/rules/dsl/PatternUtils.java b/core/src/main/java/it/cavallium/warppi/math/rules/dsl/PatternUtils.java index a7303e04..dc2a9b11 100644 --- a/core/src/main/java/it/cavallium/warppi/math/rules/dsl/PatternUtils.java +++ b/core/src/main/java/it/cavallium/warppi/math/rules/dsl/PatternUtils.java @@ -12,6 +12,8 @@ import java.util.Optional; * Contains helper methods which are useful for writing patterns. */ public class PatternUtils { + private PatternUtils() {} + /** * Gathers captured sub-functions from two matches, checking for equality * of ones with the same name.