Skip to content

Commit

Permalink
Fixing typo
Browse files Browse the repository at this point in the history
  • Loading branch information
cuioss committed Apr 11, 2024
1 parent ce9d076 commit 237b47f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
*/
package de.cuioss.jsf.api.components.decorator;

import static java.util.Objects.requireNonNull;
import de.cuioss.jsf.api.components.partial.ComponentBridge;
import de.cuioss.jsf.api.components.util.ComponentModifier;
import de.cuioss.jsf.api.components.util.modifier.ComponentModifierFactory;

import javax.faces.component.StateHelper;
import javax.faces.component.UIComponent;
Expand All @@ -25,14 +27,12 @@
import javax.faces.event.ListenerFor;
import javax.faces.event.PostAddToViewEvent;

import de.cuioss.jsf.api.components.partial.ComponentBridge;
import de.cuioss.jsf.api.components.util.ComponentModifier;
import de.cuioss.jsf.api.components.util.modifier.ComponentModifierFactory;
import static java.util.Objects.requireNonNull;

/**
* Base class for decorating the parent of the given component. This component
* ensures that {@link #decorate(ComponentModifier)} method is always called
* before a component is to be rendered, In addition it implements the contract
* before a component is to be rendered, In addition, it implements the contract
* of {@link ComponentBridge}
*
* @author Oliver Wolff
Expand All @@ -53,7 +53,7 @@ public void processEvent(final ComponentSystemEvent event) {

/**
* Actual decorates the given parent. The component ensures that this method
* will be called at {@link PostAddToViewEvent} and only if the the component is
* will be called at {@link PostAddToViewEvent} and only if the component is
* set to {@code rendered=true}
*
* @param parent to be decorated, wrapped into an corresponding
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,7 @@ protected void doDecode(final FacesContext context, final ComponentWrapper<Switc
@Override
protected void decodeClientBehavior(final FacesContext context,
final ComponentWrapper<SwitchComponent> componentWrapper) {
// decoding must take place only in JsfHtmlComponent.CHECKBOX. Otherwise it
// would be
// redundant.
// Decoding must take place only in JsfHtmlComponent.CHECKBOX. Otherwise, it would be redundant.
}

private void renderContainerBegin(final FacesContext context,
Expand Down

0 comments on commit 237b47f

Please sign in to comment.