@@ -30,15 +30,14 @@ public CategoryClient(CategoryInterface CategoryInterface) {
30
30
31
31
/**
32
32
* Searches for categories containing the specified string.
33
- * It will be converted to Lower Case as the server performs Case-insensitive search.
34
33
*
35
34
* @param filter The string to be searched
36
35
* @param itemLimit How many results are returned
37
36
* @param offset Starts returning items from the nth result. If offset is 9, the response starts with the 9th item of the search result
38
37
* @return
39
38
*/
40
39
public Observable <String > searchCategories (String filter , int itemLimit , int offset ) {
41
- return responseToCategoryName (CategoryInterface .searchCategories (filter . toLowerCase () , itemLimit , offset ));
40
+ return responseToCategoryName (CategoryInterface .searchCategories (filter , itemLimit , offset ));
42
41
43
42
}
44
43
@@ -56,15 +55,14 @@ public Observable<String> searchCategories(String filter, int itemLimit) {
56
55
57
56
/**
58
57
* Searches for categories starting with the specified string.
59
- * It will be converted to Lower Case as the server performs Case-insensitive search.
60
58
*
61
59
* @param prefix The prefix to be searched
62
60
* @param itemLimit How many results are returned
63
61
* @param offset Starts returning items from the nth result. If offset is 9, the response starts with the 9th item of the search result
64
62
* @return
65
63
*/
66
64
public Observable <String > searchCategoriesForPrefix (String prefix , int itemLimit , int offset ) {
67
- return responseToCategoryName (CategoryInterface .searchCategoriesForPrefix (prefix . toLowerCase () , itemLimit , offset ));
65
+ return responseToCategoryName (CategoryInterface .searchCategoriesForPrefix (prefix , itemLimit , offset ));
68
66
}
69
67
70
68
/**
0 commit comments