]> source.dussan.org Git - vaadin-framework.git/commitdiff
Make com.vaadin.data.util.filter.Like accept Object as a property id.
authorMaciej Przepióra <matthew@vaadin.com>
Fri, 14 Mar 2014 09:50:54 +0000 (11:50 +0200)
committerMaciej Przepióra <matthew@vaadin.com>
Fri, 14 Mar 2014 09:52:51 +0000 (11:52 +0200)
Fixes #13460

Change-Id: Iedddfb6a514eee227e2a08c3278c93a0f8d80bda

server/src/com/vaadin/data/util/filter/Like.java

index dc2e18363a61a2cc0279338d74166e6216a5c0d8..e0e2c9275c11739a103114bb98172af7d84dde5c 100644 (file)
@@ -23,11 +23,11 @@ public class Like implements Filter {
     private final String value;
     private boolean caseSensitive;
 
-    public Like(String propertyId, String value) {
+    public Like(Object propertyId, String value) {
         this(propertyId, value, true);
     }
 
-    public Like(String propertyId, String value, boolean caseSensitive) {
+    public Like(Object propertyId, String value, boolean caseSensitive) {
         this.propertyId = propertyId;
         this.value = value;
         setCaseSensitive(caseSensitive);