Author: [email protected]
Date: Mon Jan 12 13:52:46 2009
New Revision: 4431
Modified:
releases/1.6/user/src/com/google/gwt/user/client/ui/SuggestOracle.java
Log:
Resorted SuggestOracle to avoid checkstyle warnings
TBR:jlanbanca
Modified:
releases/1.6/user/src/com/google/gwt/user/client/ui/SuggestOracle.java
==============================================================================
--- releases/1.6/user/src/com/google/gwt/user/client/ui/SuggestOracle.java
(original)
+++ releases/1.6/user/src/com/google/gwt/user/client/ui/SuggestOracle.java
Mon Jan 12 13:52:46 2009
@@ -29,33 +29,6 @@
public abstract class SuggestOracle {
/**
- * Constructor for {...@link com.google.gwt.user.client.ui.SuggestOracle}.
- */
- public SuggestOracle() {
- }
-
- /**
- * Should {...@link Suggestion} display strings be treated as HTML? If
true, this
- * all suggestions' display strings will be interpreted as HTML,
otherwise as
- * text.
- *
- * @return by default, returns false
- */
- public boolean isDisplayStringHTML() {
- return false;
- }
-
- /**
- * Generate a {...@link Response} based on a specific {...@link Request}.
After the
- * {...@link Response} is created, it is passed into
- * {...@link
Callback#onSuggestionsReady(com.google.gwt.user.client.ui.SuggestOracle.Request,
com.google.gwt.user.client.ui.SuggestOracle.Response)}.
- *
- * @param request the request
- * @param callback the callback to use for the response
- */
- public abstract void requestSuggestions(Request request, Callback
callback);
-
- /**
* Callback for {...@link com.google.gwt.user.client.ui.SuggestOracle}.
Every
* {...@link Request} should be associated with a callback that should be
called
* after a {...@link Response} is generated.
@@ -257,4 +230,31 @@
*/
String getReplacementString();
}
+
+ /**
+ * Constructor for {...@link com.google.gwt.user.client.ui.SuggestOracle}.
+ */
+ public SuggestOracle() {
+ }
+
+ /**
+ * Should {...@link Suggestion} display strings be treated as HTML? If
true, this
+ * all suggestions' display strings will be interpreted as HTML,
otherwise as
+ * text.
+ *
+ * @return by default, returns false
+ */
+ public boolean isDisplayStringHTML() {
+ return false;
+ }
+
+ /**
+ * Generate a {...@link Response} based on a specific {...@link Request}.
After the
+ * {...@link Response} is created, it is passed into
+ * {...@link
Callback#onSuggestionsReady(com.google.gwt.user.client.ui.SuggestOracle.Request,
com.google.gwt.user.client.ui.SuggestOracle.Response)}.
+ *
+ * @param request the request
+ * @param callback the callback to use for the response
+ */
+ public abstract void requestSuggestions(Request request, Callback
callback);
}
--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---