Applying GWT formatter
git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@1526 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/src/com/google/gwt/user/client/impl/DOMImpl.java b/user/src/com/google/gwt/user/client/impl/DOMImpl.java
index ab5dc71..61d401a 100644
--- a/user/src/com/google/gwt/user/client/impl/DOMImpl.java
+++ b/user/src/com/google/gwt/user/client/impl/DOMImpl.java
@@ -1,12 +1,12 @@
/*
* Copyright 2007 Google Inc.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -266,14 +266,14 @@
parent.insertBefore(child, before);
}-*/;
- public abstract void insertChild(Element parent, Element child,
- int index);
+ public abstract void insertChild(Element parent, Element child, int index);
/**
- * @see com.google.gwt.user.client.DOM#insertListItem(Element, String, String, int)
+ * @see com.google.gwt.user.client.DOM#insertListItem(Element, String, String,
+ * int)
*/
public native void insertListItem(Element select, String item, String value,
- int index)/*-{
+ int index) /*-{
var option = new Option(item, value);
if (index == -1 || index > select.options.length - 1) {
select.add(option, null);
@@ -354,8 +354,7 @@
elem[prop] = value;
}-*/;
- public native void setEventListener(Element elem,
- EventListener listener) /*-{
+ public native void setEventListener(Element elem, EventListener listener) /*-{
elem.__listener = listener;
}-*/;
@@ -393,8 +392,7 @@
option.text = text;
}-*/;
- public native void setStyleAttribute(Element elem, String attr,
- String value) /*-{
+ public native void setStyleAttribute(Element elem, String attr, String value) /*-{
elem.style[attr] = value;
}-*/;
@@ -405,8 +403,8 @@
}-*/;
/**
- * Gets the height of the browser window's client area excluding the
- * scroll bar.
+ * Gets the height of the browser window's client area excluding the scroll
+ * bar.
*
* @return the window's client height
*/
@@ -415,8 +413,8 @@
}-*/;
/**
- * Gets the width of the browser window's client area excluding the
- * vertical scroll bar.
+ * Gets the width of the browser window's client area excluding the vertical
+ * scroll bar.
*
* @return the window's client width
*/
diff --git a/user/src/com/google/gwt/user/client/impl/DOMImplIE6.java b/user/src/com/google/gwt/user/client/impl/DOMImplIE6.java
index 25e8073..0f8f946 100644
--- a/user/src/com/google/gwt/user/client/impl/DOMImplIE6.java
+++ b/user/src/com/google/gwt/user/client/impl/DOMImplIE6.java
@@ -1,12 +1,12 @@
/*
* Copyright 2007 Google Inc.
- *
+ *
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -54,17 +54,17 @@
/**
* Supports creating a select control with the multiple attribute to work
- * around a bug in IE6 where changing the multiple attribute in a
- * setAttribute call can cause subsequent setSelected calls to misbehave.
- * Although this bug is fixed in IE7, this DOMImpl specialization is used
- * for both IE6 and IE7, but it should be harmless.
+ * around a bug in IE6 where changing the multiple attribute in a setAttribute
+ * call can cause subsequent setSelected calls to misbehave. Although this bug
+ * is fixed in IE7, this DOMImpl specialization is used for both IE6 and IE7,
+ * but it should be harmless.
*/
@Override
public native Element createSelectElement(boolean multiple) /*-{
var html = multiple ? "<SELECT MULTIPLE>" : "<SELECT>";
return $doc.createElement(html);
}-*/;
-
+
@Override
public native int eventGetClientX(Event evt) /*-{
return evt.clientX -