From b6f9700bcfc5b993f3f660eb0240b4e145a4ced4 Mon Sep 17 00:00:00 2001 From: Colin Alworth Date: Sun, 17 Dec 2023 20:24:24 -0600 Subject: [PATCH] Apply expected formatting (#28) Fixes formatting issues in #27 --- .../src/main/java/org/gwtproject/dom/client/Element.java | 4 ++-- .../main/java/org/gwtproject/dom/client/EventTarget.java | 4 ++-- gwt-dom/src/main/java/org/gwtproject/dom/client/Node.java | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/gwt-dom/src/main/java/org/gwtproject/dom/client/Element.java b/gwt-dom/src/main/java/org/gwtproject/dom/client/Element.java index 80932be..0809817 100644 --- a/gwt-dom/src/main/java/org/gwtproject/dom/client/Element.java +++ b/gwt-dom/src/main/java/org/gwtproject/dom/client/Element.java @@ -83,8 +83,8 @@ public static Element as(Node node) { } /** - * Determines whether the given object can be cast to an {@link Element}. A - * null object will cause this method to return false. + * Determines whether the given object can be cast to an {@link Element}. A null + * object will cause this method to return false. * * @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 diff --git a/gwt-dom/src/main/java/org/gwtproject/dom/client/EventTarget.java b/gwt-dom/src/main/java/org/gwtproject/dom/client/EventTarget.java index 4c22886..03ae526 100644 --- a/gwt-dom/src/main/java/org/gwtproject/dom/client/EventTarget.java +++ b/gwt-dom/src/main/java/org/gwtproject/dom/client/EventTarget.java @@ -23,8 +23,8 @@ * Represents the target of a JavaScript event. * *

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)}. * *

This class intentionally does not specify the methods from the DOM IDL * (dispatchEvent, addEventListener, and removeEventListener). diff --git a/gwt-dom/src/main/java/org/gwtproject/dom/client/Node.java b/gwt-dom/src/main/java/org/gwtproject/dom/client/Node.java index 1a65902..3429da1 100644 --- a/gwt-dom/src/main/java/org/gwtproject/dom/client/Node.java +++ b/gwt-dom/src/main/java/org/gwtproject/dom/client/Node.java @@ -57,9 +57,9 @@ public static Node as(Object o) { } /** - * Determines whether the given object is a DOM node. A null object - * will cause this method to return false. 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 null object will cause this + * method to return false. 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