From c1532f11a144b9bfe079dd5a61d4f4d8ea2c350a Mon Sep 17 00:00:00 2001 From: Brian Chan Date: Thu, 21 Mar 2024 11:59:59 +0530 Subject: [PATCH] LPS-196556 Rename and make it private --- .../frontend/taglib/clay/servlet/taglib/ToggleTag.java | 6 ++---- util-taglib/bnd.bnd | 2 +- util-taglib/src/com/liferay/taglib/aui/InputTag.java | 4 ++-- util-taglib/src/com/liferay/taglib/aui/packageinfo | 2 +- util-taglib/src/com/liferay/taglib/ui/InputCheckBoxTag.java | 4 ++-- util-taglib/src/com/liferay/taglib/ui/packageinfo | 2 +- 6 files changed, 9 insertions(+), 11 deletions(-) diff --git a/modules/apps/frontend-taglib/frontend-taglib-clay/src/main/java/com/liferay/frontend/taglib/clay/servlet/taglib/ToggleTag.java b/modules/apps/frontend-taglib/frontend-taglib-clay/src/main/java/com/liferay/frontend/taglib/clay/servlet/taglib/ToggleTag.java index 26b08bbe6a1d46..737c014ec24817 100644 --- a/modules/apps/frontend-taglib/frontend-taglib-clay/src/main/java/com/liferay/frontend/taglib/clay/servlet/taglib/ToggleTag.java +++ b/modules/apps/frontend-taglib/frontend-taglib-clay/src/main/java/com/liferay/frontend/taglib/clay/servlet/taglib/ToggleTag.java @@ -26,7 +26,7 @@ public class ToggleTag extends BaseContainerTag { @Override public int doEndTag() throws JspException { - updateFormCheckboxNames(); + _updateFormCheckboxNames(); return super.doEndTag(); } @@ -241,9 +241,7 @@ protected int processStartTag() throws Exception { } jspWriter.write("\">"); - jspWriter.write(""); - jspWriter.write(" checkboxNames = diff --git a/util-taglib/bnd.bnd b/util-taglib/bnd.bnd index 69376797b0d2ec..b2fdd5a801c241 100644 --- a/util-taglib/bnd.bnd +++ b/util-taglib/bnd.bnd @@ -1,6 +1,6 @@ Bundle-Name: ${manifest.bundle.name} Bundle-SymbolicName: ${manifest.bundle.symbolic.name} -Bundle-Version: 22.0.1 +Bundle-Version: 23.0.0 Export-Package:\ com.liferay.alloy.taglib.*;version="3.0.0",\ com.liferay.taglib.* diff --git a/util-taglib/src/com/liferay/taglib/aui/InputTag.java b/util-taglib/src/com/liferay/taglib/aui/InputTag.java index 5228bcff11d64f..aae92aace572bf 100644 --- a/util-taglib/src/com/liferay/taglib/aui/InputTag.java +++ b/util-taglib/src/com/liferay/taglib/aui/InputTag.java @@ -36,7 +36,7 @@ public class InputTag extends BaseInputTag { @Override public int doEndTag() throws JspException { - updateFormCheckboxNames(); + _updateFormCheckboxNames(); return super.doEndTag(); } @@ -320,7 +320,7 @@ else if (!Objects.equals(type, "radio")) { } } - protected void updateFormCheckboxNames() { + private void _updateFormCheckboxNames() { if (!Objects.equals(getBaseType(), "checkbox")) { return; } diff --git a/util-taglib/src/com/liferay/taglib/aui/packageinfo b/util-taglib/src/com/liferay/taglib/aui/packageinfo index ad8b508148e209..4c7158a964f6fe 100644 --- a/util-taglib/src/com/liferay/taglib/aui/packageinfo +++ b/util-taglib/src/com/liferay/taglib/aui/packageinfo @@ -1 +1 @@ -version 15.3.0 \ No newline at end of file +version 16.0.0 \ No newline at end of file diff --git a/util-taglib/src/com/liferay/taglib/ui/InputCheckBoxTag.java b/util-taglib/src/com/liferay/taglib/ui/InputCheckBoxTag.java index 68e316831934f1..d6c4963b1eec09 100644 --- a/util-taglib/src/com/liferay/taglib/ui/InputCheckBoxTag.java +++ b/util-taglib/src/com/liferay/taglib/ui/InputCheckBoxTag.java @@ -19,7 +19,7 @@ public class InputCheckBoxTag extends IncludeTag { @Override public int doEndTag() throws JspException { - updateFormCheckboxNames(); + _updateFormCheckboxNames(); return super.doEndTag(); } @@ -126,7 +126,7 @@ protected void setAttributes(HttpServletRequest httpServletRequest) { "liferay-ui:input-checkbox:param", _param); } - protected void updateFormCheckboxNames() { + private void _updateFormCheckboxNames() { HttpServletRequest httpServletRequest = getRequest(); List checkboxNames = diff --git a/util-taglib/src/com/liferay/taglib/ui/packageinfo b/util-taglib/src/com/liferay/taglib/ui/packageinfo index 4dd40ad01d46d4..9dc715b3880303 100644 --- a/util-taglib/src/com/liferay/taglib/ui/packageinfo +++ b/util-taglib/src/com/liferay/taglib/ui/packageinfo @@ -1 +1 @@ -version 23.0.0 \ No newline at end of file +version 24.0.0 \ No newline at end of file