mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
Introduce Mockito unit tests into Share AMP project
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@91731 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -221,7 +221,8 @@ public class DateParameterProcessor extends ParameterProcessor implements Parame
|
||||
String namePrefix = this.getName() + ".";
|
||||
if(StringUtils.isBlank(substitutionFragment) || this.getName().toLowerCase().contains(substitutionFragment.toLowerCase()))
|
||||
{
|
||||
for(String field: ALL_FIELDS_FOR_SUBSTITUTION_QUERY) {
|
||||
for(String field: ALL_FIELDS_FOR_SUBSTITUTION_QUERY)
|
||||
{
|
||||
suggestions.add(namePrefix + field);
|
||||
if(suggestions.size() >= maximumNumberSuggestions)
|
||||
{
|
||||
@@ -231,7 +232,8 @@ public class DateParameterProcessor extends ParameterProcessor implements Parame
|
||||
}
|
||||
else
|
||||
{
|
||||
for(String field: ALL_FIELDS_FOR_SUBSTITUTION_QUERY) {
|
||||
for(String field: ALL_FIELDS_FOR_SUBSTITUTION_QUERY)
|
||||
{
|
||||
String prefixFieldName = namePrefix + field;
|
||||
if(prefixFieldName.toLowerCase().contains(substitutionFragment.toLowerCase()))
|
||||
{
|
||||
|
Reference in New Issue
Block a user