Skip to content

Commit

Permalink
Apply expected formatting (#28)
Browse files Browse the repository at this point in the history
Fixes formatting issues in #27
  • Loading branch information
niloc132 committed Dec 18, 2023
1 parent 0c45454 commit b6f9700
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions gwt-dom/src/main/java/org/gwtproject/dom/client/Element.java
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ public static Element as(Node node) {
}

/**
* Determines whether the given object can be cast to an {@link Element}. A
* <code>null</code> object will cause this method to return <code>false</code>.
* Determines whether the given object can be cast to an {@link Element}. A <code>null</code>
* object will cause this method to return <code>false</code>.
*
* @param o the object to check if it is an instance of this type
* @return true of the object is an instance of this type, false otherwise
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
* Represents the target of a JavaScript event.
*
* <p>This type is returned from methods such as {@link NativeEvent#getEventTarget()}, and must
* usually be cast to another type using methods such as {@link Element#is(Object)} and
* {@link Element#as(JavaScriptObject)}.
* usually be cast to another type using methods such as {@link Element#is(Object)} and {@link
* Element#as(JavaScriptObject)}.
*
* <p>This class intentionally does <em>not</em> specify the methods from the DOM IDL
* (dispatchEvent, addEventListener, and removeEventListener).
Expand Down
6 changes: 3 additions & 3 deletions gwt-dom/src/main/java/org/gwtproject/dom/client/Node.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ public static Node as(Object o) {
}

/**
* Determines whether the given object is a DOM node. A <code>null</code> object
* will cause this method to return <code>false</code>. The try catch is needed for the firefox
* permission error: "Permission denied to access property 'nodeType'"
* Determines whether the given object is a DOM node. A <code>null</code> object will cause this
* method to return <code>false</code>. The try catch is needed for the firefox permission error:
* "Permission denied to access property 'nodeType'"
*
* @param o the object to check if it is an instance of this type
* @return true of the object is an instance of this type, false otherwise
Expand Down

0 comments on commit b6f9700

Please sign in to comment.