@@ -209,7 +209,7 @@ protected void setAttributeNS(final String namespaceURI, final String qualifiedN
209209 final boolean mappedElement = isAttachedToPage ()
210210 && (DomElement .NAME_ATTRIBUTE .equals (qualifiedName ) || DomElement .ID_ATTRIBUTE .equals (qualifiedName ));
211211 if (mappedElement ) {
212- // cast is save here because isMappedElement checks for HtmlPage
212+ // cast is safe here because isMappedElement checks for HtmlPage
213213 htmlPage .removeMappedElement (this , false , false );
214214 }
215215
@@ -363,7 +363,7 @@ public void removeAttribute(final String attributeName) {
363363
364364 /**
365365 * Support for reporting HTML attribute changes. This method can be called when an attribute
366- * has been added and it will send the appropriate {@link HtmlAttributeChangeEvent} to any
366+ * has been added, and it will send the appropriate {@link HtmlAttributeChangeEvent} to any
367367 * registered {@link HtmlAttributeChangeListener}s.
368368 * <p>
369369 * Note that this method recursively calls this element's parent's
@@ -381,7 +381,7 @@ protected void fireHtmlAttributeAdded(final HtmlAttributeChangeEvent event) {
381381
382382 /**
383383 * Support for reporting HTML attribute changes. This method can be called when an attribute
384- * has been replaced and it will send the appropriate {@link HtmlAttributeChangeEvent} to any
384+ * has been replaced, and it will send the appropriate {@link HtmlAttributeChangeEvent} to any
385385 * registered {@link HtmlAttributeChangeListener}s.
386386 * <p>
387387 * Note that this method recursively calls this element's parent's
@@ -399,7 +399,7 @@ protected void fireHtmlAttributeReplaced(final HtmlAttributeChangeEvent event) {
399399
400400 /**
401401 * Support for reporting HTML attribute changes. This method can be called when an attribute
402- * has been removed and it will send the appropriate {@link HtmlAttributeChangeEvent} to any
402+ * has been removed, and it will send the appropriate {@link HtmlAttributeChangeEvent} to any
403403 * registered {@link HtmlAttributeChangeListener}s.
404404 * <p>
405405 * Note that this method recursively calls this element's parent's
@@ -864,7 +864,7 @@ protected void typeDone(final String newValue, final boolean notifyAttributeChan
864864 }
865865
866866 /**
867- * Indicates if the provided character can by "typed" in the element.
867+ * Indicates if the provided character can be "typed" in the element.
868868 * @param c the character
869869 * @return {@code true} if it is accepted
870870 */
0 commit comments