click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bck...@apache.org
Subject svn commit: r962399 - /click/trunk/click/extras/src/org/apache/click/extras/control/AutoCompleteTextField.java
Date Fri, 09 Jul 2010 04:27:38 GMT
Author: bckfnn
Date: Fri Jul  9 04:27:38 2010
New Revision: 962399

URL: http://svn.apache.org/viewvc?rev=962399&view=rev
Log:
generics. CLK-696

Modified:
    click/trunk/click/extras/src/org/apache/click/extras/control/AutoCompleteTextField.java

Modified: click/trunk/click/extras/src/org/apache/click/extras/control/AutoCompleteTextField.java
URL: http://svn.apache.org/viewvc/click/trunk/click/extras/src/org/apache/click/extras/control/AutoCompleteTextField.java?rev=962399&r1=962398&r2=962399&view=diff
==============================================================================
--- click/trunk/click/extras/src/org/apache/click/extras/control/AutoCompleteTextField.java
(original)
+++ click/trunk/click/extras/src/org/apache/click/extras/control/AutoCompleteTextField.java
Fri Jul  9 04:27:38 2010
@@ -186,7 +186,7 @@ public abstract class AutoCompleteTextFi
      * @param criteria the search criteria
      * @return the list of suggested values for the given search criteria
      */
-    abstract public List getAutoCompleteList(String criteria);
+    abstract public List<?> getAutoCompleteList(String criteria);
 
     // Public Methods ---------------------------------------------------------
 
@@ -457,7 +457,7 @@ public abstract class AutoCompleteTextFi
                 String contentType = getPage().getContentType();
                 partial.setContentType(contentType);
 
-                List autocompleteList = getAutoCompleteList(getValue());
+                List<?> autocompleteList = getAutoCompleteList(getValue());
                 if (autocompleteList != null) {
                     HtmlStringBuffer buffer = new HtmlStringBuffer(10 + (autocompleteList.size()
* 20));
                     renderAutoCompleteList(buffer, autocompleteList);
@@ -475,7 +475,7 @@ public abstract class AutoCompleteTextFi
      *
      * @param autoCompleteList the suggested list of auto completion values
      */
-    protected void renderAutoCompleteList(HtmlStringBuffer buffer, List autoCompleteList)
{
+    protected void renderAutoCompleteList(HtmlStringBuffer buffer, List<?> autoCompleteList)
{
 
         buffer.append("<ul>");
 



Mime
View raw message