Author: lfryc(a)redhat.com
Date: 2010-11-11 02:47:26 -0500 (Thu, 11 Nov 2010)
New Revision: 20028
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichAutocompleteBean.java
Log:
RichAutocompleteBean - fix the procedure of retriving capitals by prefix (RF-9724)
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichAutocompleteBean.java
===================================================================
---
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichAutocompleteBean.java 2010-11-11
07:37:37 UTC (rev 20027)
+++
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichAutocompleteBean.java 2010-11-11
07:47:26 UTC (rev 20028)
@@ -107,7 +107,7 @@
}
}
} else {
- for (int i = 0; i < 10; i++) {
+ for (int i = 0; i < capitals.size(); i++) {
result.add(capitals.get(i).getState());
}
}