Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jhy committed Apr 17, 2015
1 parent 63b778a commit 373ea35
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
8 changes: 1 addition & 7 deletions src/main/java/org/jsoup/nodes/Document.java
Expand Up @@ -266,7 +266,7 @@ public Charset charset() {
* @see #charset(java.nio.charset.Charset)
*/
public void updateMetaCharsetElement(boolean update) {
this.updateMetaCharset = true;
this.updateMetaCharset = update;
}

/**
Expand Down Expand Up @@ -562,10 +562,4 @@ public Document quirksMode(QuirksMode quirksMode) {
this.quirksMode = quirksMode;
return this;
}

@Override
public boolean equals(Object o) {
return super.equals(o);
}
}

5 changes: 0 additions & 5 deletions src/main/java/org/jsoup/nodes/FormElement.java
Expand Up @@ -104,9 +104,4 @@ public List<Connection.KeyVal> formData() {
}
return data;
}

@Override
public boolean equals(Object o) {
return super.equals(o);
}
}

0 comments on commit 373ea35

Please sign in to comment.