Skip to content

Commit

Permalink
fix last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
rbri committed Nov 12, 2024
1 parent 527b720 commit 7af5efb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/htmlunit/html/HtmlButton.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
import java.util.Collection;
import java.util.Collections;
import java.util.HashSet;
import java.util.Locale;
import java.util.Map;

import org.apache.commons.lang3.StringUtils;
Expand Down Expand Up @@ -259,6 +258,7 @@ public final String getTypeAttribute() {
* @return the normalized type value (submit|reset|button).
*/
public String getType() {
final String type = getTypeAttribute();
if (TYPE_RESET.equalsIgnoreCase(type)) {
return TYPE_RESET;
}
Expand Down

0 comments on commit 7af5efb

Please sign in to comment.