You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by an...@apache.org on 2021/09/02 06:51:08 UTC

[sling-org-apache-sling-feature-cpconverter] branch SLING-10782 created (now 362390b)

This is an automated email from the ASF dual-hosted git repository.

angela pushed a change to branch SLING-10782
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-feature-cpconverter.git.


      at 362390b  SLING-10782 : AbstractRegexEntryHandler - sonar findings

This branch includes the following new commits:

     new 362390b  SLING-10782 : AbstractRegexEntryHandler - sonar findings

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


[sling-org-apache-sling-feature-cpconverter] 01/01: SLING-10782 : AbstractRegexEntryHandler - sonar findings

Posted by an...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

angela pushed a commit to branch SLING-10782
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-feature-cpconverter.git

commit 362390bab7c091df85cbd6da45806f118dadd982
Author: angela <an...@adobe.com>
AuthorDate: Thu Sep 2 08:50:55 2021 +0200

    SLING-10782 : AbstractRegexEntryHandler - sonar findings
---
 .../sling/feature/cpconverter/handlers/AbstractRegexEntryHandler.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/apache/sling/feature/cpconverter/handlers/AbstractRegexEntryHandler.java b/src/main/java/org/apache/sling/feature/cpconverter/handlers/AbstractRegexEntryHandler.java
index 7552908..f1bea34 100644
--- a/src/main/java/org/apache/sling/feature/cpconverter/handlers/AbstractRegexEntryHandler.java
+++ b/src/main/java/org/apache/sling/feature/cpconverter/handlers/AbstractRegexEntryHandler.java
@@ -28,11 +28,11 @@ abstract class AbstractRegexEntryHandler implements EntryHandler {
 
     private final Pattern pattern;
 
-    public AbstractRegexEntryHandler(@NotNull String regex) {
+    AbstractRegexEntryHandler(@NotNull String regex) {
         this(Pattern.compile(regex));
     }
 
-    public AbstractRegexEntryHandler(@NotNull Pattern pattern) {
+    AbstractRegexEntryHandler(@NotNull Pattern pattern) {
         this.pattern = pattern;
     }