click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r789405 - /incubator/click/trunk/click/examples/src/org/apache/click/examples/service/PostCodeService.java
Date Mon, 29 Jun 2009 18:30:01 GMT
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 + "%"));



Mime
View raw message