Skip to content

Commit

Permalink
LPS-196556 Rename and make it private
Browse files Browse the repository at this point in the history
  • Loading branch information
brianchandotcom committed Mar 21, 2024
1 parent 3563265 commit c1532f1
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class ToggleTag extends BaseContainerTag {

@Override
public int doEndTag() throws JspException {
updateFormCheckboxNames();
_updateFormCheckboxNames();

return super.doEndTag();
}
Expand Down Expand Up @@ -241,9 +241,7 @@ protected int processStartTag() throws Exception {
}

jspWriter.write("\">");

jspWriter.write("<span class=\"toggle-switch-check-bar\">");

jspWriter.write("<input class=\"toggle-switch-check\"");

if (_toggled) {
Expand Down Expand Up @@ -323,7 +321,7 @@ else if (Validator.isNotNull(_label)) {
return SKIP_BODY;
}

protected void updateFormCheckboxNames() {
private void _updateFormCheckboxNames() {
HttpServletRequest httpServletRequest = getRequest();

List<String> checkboxNames =
Expand Down
2 changes: 1 addition & 1 deletion util-taglib/bnd.bnd
Original file line number Diff line number Diff line change
@@ -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.*
Expand Down
4 changes: 2 additions & 2 deletions util-taglib/src/com/liferay/taglib/aui/InputTag.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class InputTag extends BaseInputTag {

@Override
public int doEndTag() throws JspException {
updateFormCheckboxNames();
_updateFormCheckboxNames();

return super.doEndTag();
}
Expand Down Expand Up @@ -320,7 +320,7 @@ else if (!Objects.equals(type, "radio")) {
}
}

protected void updateFormCheckboxNames() {
private void _updateFormCheckboxNames() {
if (!Objects.equals(getBaseType(), "checkbox")) {
return;
}
Expand Down
2 changes: 1 addition & 1 deletion util-taglib/src/com/liferay/taglib/aui/packageinfo
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version 15.3.0
version 16.0.0
4 changes: 2 additions & 2 deletions util-taglib/src/com/liferay/taglib/ui/InputCheckBoxTag.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class InputCheckBoxTag extends IncludeTag {

@Override
public int doEndTag() throws JspException {
updateFormCheckboxNames();
_updateFormCheckboxNames();

return super.doEndTag();
}
Expand Down Expand Up @@ -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<String> checkboxNames =
Expand Down
2 changes: 1 addition & 1 deletion util-taglib/src/com/liferay/taglib/ui/packageinfo
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version 23.0.0
version 24.0.0

0 comments on commit c1532f1

Please sign in to comment.