From 094ccc20631125ccdd929b36fa0845dbf82dd9b5 Mon Sep 17 00:00:00 2001 From: Paul Butcher Date: Thu, 2 Jan 2025 12:45:44 +0000 Subject: [PATCH] improve access control --- .../batcher/src/main/scala/weco/pipeline/batcher/Selector.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipeline/relation_embedder/batcher/src/main/scala/weco/pipeline/batcher/Selector.scala b/pipeline/relation_embedder/batcher/src/main/scala/weco/pipeline/batcher/Selector.scala index 9148ccdfec..7a87c83ce3 100644 --- a/pipeline/relation_embedder/batcher/src/main/scala/weco/pipeline/batcher/Selector.scala +++ b/pipeline/relation_embedder/batcher/src/main/scala/weco/pipeline/batcher/Selector.scala @@ -34,7 +34,7 @@ sealed trait Selector { } } - def shouldSuppress(otherSelectors: Set[Selector]): Boolean = + protected def shouldSuppress(otherSelectors: Set[Selector]): Boolean = superSelectors.exists(otherSelectors.contains) }