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

solomax pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/wicket.git


The following commit(s) were added to refs/heads/master by this push:
     new 831dbc1  [WICKET-6943] Session.isRtlLanguage made public
831dbc1 is described below

commit 831dbc1c2eb03fca23f20c8066de78d27599f6e9
Author: Maxim Solodovnik <solomax...@gmail.com>
AuthorDate: Wed Jan 12 14:10:20 2022 +0700

    [WICKET-6943] Session.isRtlLanguage made public
---
 wicket-core/src/main/java/org/apache/wicket/Session.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wicket-core/src/main/java/org/apache/wicket/Session.java 
b/wicket-core/src/main/java/org/apache/wicket/Session.java
index 3b389c4..b131ea8 100644
--- a/wicket-core/src/main/java/org/apache/wicket/Session.java
+++ b/wicket-core/src/main/java/org/apache/wicket/Session.java
@@ -220,7 +220,7 @@ public abstract class Session implements IClusterable, 
IEventSink, IMetadataCont
         * @param locale - locale to check
         * @return <code>true</code> in case passed locale is right-to-left
         */
-       private static boolean isRtlLanguage(final Locale locale) {
+       public static boolean isRtlLanguage(final Locale locale) {
                Args.notNull(locale, "locale");
                return RTL_LOCALE_RE.matcher(locale.toLanguageTag()).find();
        }

Reply via email to