Skip to content
Snippets Groups Projects
Commit 30ec11f3 authored by David Novak's avatar David Novak
Browse files

added new method to GetCandsetOperation

parent d614998e
No related branches found
No related tags found
No related merge requests found
......@@ -120,6 +120,18 @@ public class GetCandidateSetOperation extends AbstractOperation {
}
}
public boolean addLocators(Iterator<String> it, int limit) {
try {
int i = 0;
while (it.hasNext() && i ++ < limit) {
candidateSetLocators.add(it.next());
}
return true;
} catch (IllegalStateException ex) {
return false;
}
}
// ************************ Overrides ******************************** //
@Override
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment