You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@click.apache.org by sa...@apache.org on 2009/06/29 20:30:01 UTC

svn commit: r789405 - /incubator/click/trunk/click/examples/src/org/apache/click/examples/service/PostCodeService.java

Author: sabob
Date: Mon Jun 29 18:30:00 2009
New Revision: 789405

URL: http://svn.apache.org/viewvc?rev=789405&view=rev
Log:
fix generic

Modified:
    incubator/click/trunk/click/examples/src/org/apache/click/examples/service/PostCodeService.java

Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/service/PostCodeService.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/service/PostCodeService.java?rev=789405&r1=789404&r2=789405&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/service/PostCodeService.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/service/PostCodeService.java Mon Jun 29 18:30:00 2009
@@ -38,7 +38,7 @@
 public class PostCodeService extends CayenneTemplate {
 
     @SuppressWarnings("unchecked")
-    public List<PostCode> getPostCodeLocations(String location) {
+    public List<String> getPostCodeLocations(String location) {
         SelectQuery query = new SelectQuery(PostCode.class);
 
         query.andQualifier(ExpressionFactory.likeIgnoreCaseExp(PostCode.LOCALITY_PROPERTY, location + "%"));