Skip to content

Commit 0272c6e

Browse files
committed
code style
1 parent 55680ee commit 0272c6e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/java/org/htmlunit/doc/GettingStartedTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public void cssSelector() throws Exception {
9595
/**
9696
* @throws Exception if an error occurs
9797
*/
98-
public void submittingForm() throws Exception {
98+
private void submittingForm() throws Exception {
9999
try (WebClient webClient = new WebClient()) {
100100

101101
// Get the first page
@@ -153,7 +153,7 @@ public void extractTextFromBody() throws Exception {
153153
/**
154154
* @throws Exception if an error occurs
155155
*/
156-
public void getElements() throws Exception {
156+
private void getElements() throws Exception {
157157
try (WebClient webClient = new WebClient()) {
158158
final HtmlPage page = webClient.getPage("http://some_url");
159159

@@ -165,7 +165,7 @@ public void getElements() throws Exception {
165165
/**
166166
* @throws Exception if an error occurs
167167
*/
168-
public void getElements2() throws Exception {
168+
private void getElements2() throws Exception {
169169
try (WebClient webClient = new WebClient()) {
170170
final HtmlPage page = webClient.getPage("http://some_url");
171171

0 commit comments

Comments
 (0)