Author: nbelaevski
Date: 2009-03-27 12:51:27 -0400 (Fri, 27 Mar 2009)
New Revision: 13270
Modified:
trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/search/ImageSearchHelper.java
Log:
Code review results committed
Modified:
trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/search/ImageSearchHelper.java
===================================================================
---
trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/search/ImageSearchHelper.java 2009-03-27
16:44:20 UTC (rev 13269)
+++
trunk/test-applications/realworld2/web/src/main/java/org/richfaces/realworld/search/ImageSearchHelper.java 2009-03-27
16:51:27 UTC (rev 13270)
@@ -53,6 +53,8 @@
s.append(option.getName() + ",");
}
}
+
+ //TODO nick - remove trailing comma
return s.toString();
}
@@ -64,6 +66,7 @@
while (it.hasNext()) {
ISearchOption option = it.next();
if (option.getSelected()) {
+ //TODO nick - use search(keyword)
option.search(searchAction, keywords.get(0).trim(), seachInMyAlbums,
searchInShared);
}else {
option.setSearchResult(null);
Show replies by thread