From 8f466cfc3e4c74cf005b9d89381725a65f46736e Mon Sep 17 00:00:00 2001 From: Lars Briem Date: Sun, 24 Nov 2019 17:26:50 +0100 Subject: [PATCH] #389 Support More Complex CSS Selectors Reduce visibility of classes. --- src/main/java/de/retest/web/selenium/css/EmptySelector.java | 4 ++-- src/main/java/de/retest/web/selenium/css/RegexSelector.java | 4 ++-- src/main/java/de/retest/web/selenium/css/Transformer.java | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/de/retest/web/selenium/css/EmptySelector.java b/src/main/java/de/retest/web/selenium/css/EmptySelector.java index 4c278136f..06bb09ec0 100644 --- a/src/main/java/de/retest/web/selenium/css/EmptySelector.java +++ b/src/main/java/de/retest/web/selenium/css/EmptySelector.java @@ -4,11 +4,11 @@ import de.retest.recheck.ui.descriptors.Element; -public class EmptySelector implements Selector { +class EmptySelector implements Selector { private final String selector; - public EmptySelector( final String selector ) { + EmptySelector( final String selector ) { this.selector = selector; } diff --git a/src/main/java/de/retest/web/selenium/css/RegexSelector.java b/src/main/java/de/retest/web/selenium/css/RegexSelector.java index ac069d6fd..98f0612b7 100644 --- a/src/main/java/de/retest/web/selenium/css/RegexSelector.java +++ b/src/main/java/de/retest/web/selenium/css/RegexSelector.java @@ -6,12 +6,12 @@ import de.retest.recheck.ui.descriptors.Element; -public class RegexSelector implements Selector { +class RegexSelector implements Selector { private final Matcher classMatcher; private final Function> factory; - public RegexSelector( final Matcher classMatcher, final Function> factory ) { + RegexSelector( final Matcher classMatcher, final Function> factory ) { this.classMatcher = classMatcher; this.factory = factory; } diff --git a/src/main/java/de/retest/web/selenium/css/Transformer.java b/src/main/java/de/retest/web/selenium/css/Transformer.java index e0e4d9d88..036ce264b 100644 --- a/src/main/java/de/retest/web/selenium/css/Transformer.java +++ b/src/main/java/de/retest/web/selenium/css/Transformer.java @@ -7,7 +7,7 @@ import de.retest.recheck.ui.descriptors.Element; -public class Transformer { +class Transformer { private final Pattern cssPattern; private final Function> factory;