Skip to content

Commit

Permalink
code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
rbri committed Dec 8, 2024
1 parent 6d1ef16 commit 2afdb71
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -195,14 +195,14 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.11.1</version>
<version>3.11.2</version>
<configuration>
<quiet>true</quiet>
<show>protected</show>
<doclint>html,missing,reference,syntax</doclint>
<detectLinks>true</detectLinks>
<detectJavaApiLink>true</detectJavaApiLink>
<excludePackageNames>netscape:netscape.*:org.htmlunit.platform.util</excludePackageNames>
<excludePackageNames>org.htmlunit.platform.util</excludePackageNames>
</configuration>
<executions>
<execution>
Expand Down Expand Up @@ -678,14 +678,14 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.11.1</version>
<version>3.11.2</version>
<configuration>
<quiet>true</quiet>
<show>protected</show>
<doclint>html,missing,reference,syntax</doclint>
<detectLinks>true</detectLinks>
<detectJavaApiLink>true</detectJavaApiLink>
<excludePackageNames>netscape:netscape.*:org.htmlunit.platform.util</excludePackageNames>
<excludePackageNames>org.htmlunit.platform.util</excludePackageNames>
</configuration>
<reportSets>
<reportSet>
Expand Down
1 change: 0 additions & 1 deletion src/main/java/org/htmlunit/javascript/host/Window.java
Original file line number Diff line number Diff line change
Expand Up @@ -1870,7 +1870,6 @@ public int getScrollY() {
}

/**
* Returns the value of {@code netscape} property.
* @return the value of {@code netscape} property
*/
@JsxGetter({FF, FF_ESR})
Expand Down
6 changes: 3 additions & 3 deletions src/test/java/org/htmlunit/html/parser/HTMLParser6Test.java
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public void fragmentParserHtmlInsideOption() throws Exception {
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "<div id=\"myTest\"></div><div a<b=\"7\">xy</div> ")
@Alerts("<div id=\"myTest\"></div><div a<b=\"7\">xy</div> ")
public void fragmentParserLtInAttributeName() throws Exception {
final String fragment = "<div a<b=7>xy</div>";
final String html = "<html><head>\n"
Expand All @@ -157,7 +157,7 @@ public void fragmentParserLtInAttributeName() throws Exception {
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "<div id=\"myTest\"></div><div <ab=\"7\">xy</div> ")
@Alerts("<div id=\"myTest\"></div><div <ab=\"7\">xy</div> ")
public void fragmentParserLtFirstInAttributeName() throws Exception {
final String fragment = "<div <ab=7>xy</div>";
final String html = "<html><head>\n"
Expand All @@ -182,7 +182,7 @@ public void fragmentParserLtFirstInAttributeName() throws Exception {
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "<div id=\"myTest\"></div><div 7=\"ab\">xy</div> ")
@Alerts("<div id=\"myTest\"></div><div 7=\"ab\">xy</div> ")
public void fragmentParserNumericAttributeName() throws Exception {
final String fragment = "<div 7=\"ab\">xy</div>";
final String html = "<html><head>\n"
Expand Down

0 comments on commit 2afdb71

Please sign in to comment.