Skip to content

Commit

Permalink
fix casing in name (see #706)
Browse files Browse the repository at this point in the history
  • Loading branch information
rbri committed Jan 15, 2024
1 parent 16c365a commit daf38bd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,19 @@
import org.htmlunit.html.HtmlPage;

/**
* Preprozessor to fix one default parameter method.
* PreProzessor to fix one default parameter method.
*
* @author Ronald Brill
*/
public class HtmxOneNineTenScriptPreprozessor implements ScriptPreProcessor {
public class HtmxOneNineTenScriptPreProzessor implements ScriptPreProcessor {

private final ScriptPreProcessor nextScriptPreProcessor_;

public HtmxOneNineTenScriptPreprozessor() {
public HtmxOneNineTenScriptPreProzessor() {
nextScriptPreProcessor_ = null;
}

public HtmxOneNineTenScriptPreprozessor(final ScriptPreProcessor nextScriptPreProcessor) {
public HtmxOneNineTenScriptPreProzessor(final ScriptPreProcessor nextScriptPreProcessor) {
nextScriptPreProcessor_ = nextScriptPreProcessor;
}

Expand Down
4 changes: 2 additions & 2 deletions src/test/java/org/htmlunit/libraries/HtmxTest1x9x10.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
package org.htmlunit.libraries;

import org.htmlunit.WebClient;
import org.htmlunit.javascript.preprocessor.HtmxOneNineTenScriptPreprozessor;
import org.htmlunit.javascript.preprocessor.HtmxOneNineTenScriptPreProzessor;
import org.htmlunit.junit.BrowserRunner;
import org.htmlunit.junit.BrowserRunner.Alerts;
import org.htmlunit.junit.BrowserRunner.HtmlUnitNYI;
Expand Down Expand Up @@ -53,7 +53,7 @@ public void htmx() throws Exception {
protected void setupWebClient(final WebClient webClient) {
super.setupWebClient(webClient);

webClient.setScriptPreProcessor(new HtmxOneNineTenScriptPreprozessor());
webClient.setScriptPreProcessor(new HtmxOneNineTenScriptPreProzessor());
webClient.getOptions().setThrowExceptionOnScriptError(false);
}
}

0 comments on commit daf38bd

Please sign in to comment.