Skip to content

Commit 0eaccf8

Browse files
committed
improved jdoc
1 parent 5c8cfbd commit 0eaccf8

4 files changed

Lines changed: 8 additions & 5 deletions

File tree

src/main/java/org/htmlunit/javascript/HtmlUnitScriptable.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ public void put(final String name, final Scriptable start, final Object value) {
109109
* Normally HtmlUnit objects don't need to overwrite this method as properties are defined
110110
* on the prototypes. In some cases where "content" of object
111111
* has priority compared to the properties consider using utility {@link #getWithPreemption(String)}.
112-
* <p>
113112
* {@inheritDoc}
114113
*/
115114
@Override

src/main/java/org/htmlunit/javascript/host/Netscape.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ public class Netscape extends HtmlUnitScriptable {
3838
public String getClassName() {
3939
return "Object";
4040
}
41-
}
41+
}

src/main/java/org/htmlunit/javascript/host/event/SubmitEvent.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ public void jsConstructor(final String type, final ScriptableObject details) {
7070
}
7171

7272
/**
73-
* @return the submitter
73+
* Returns the element that triggered the form submission.
74+
*
75+
* @return the submitter element, or {@code null} if none is available
7476
*/
7577
@JsxGetter
7678
public HTMLElement getSubmitter() {

src/main/java/org/htmlunit/javascript/host/event/UIEvent.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,10 @@ public void initUIEvent(
162162
}
163163

164164
/**
165-
* @return a number that indicates which button was pressed on the mouse,
166-
* or the numeric keyCode or the character code (charCode) of the key pressed on the keyboard
165+
* Returns the button or key associated with this event.
166+
*
167+
* @return the mouse button that was pressed, or the numeric {@code keyCode}
168+
* or character {@code charCode} of the key that was pressed
167169
*/
168170
@JsxGetter
169171
public int getWhich() {

0 commit comments

Comments
 (0)