Toggle navigation
Home
java.util.List to java.util.SortedSet
No. of Instances - 12
No. of Commits - 6
No. of Projects - {'hbase', 'geoserver', 'graylog2-server', 'cucumber-jvm', 'Resteasy'}
Hierarchy/Composition: SIBLING
Primitive Info: -
NameSpace: Jdk -> Jdk
Mapping:
Add or Remove Method invocation
results.get(1)
to
results.toArray(new String[]{})[1]
new DropDownChoice<String>("workspace",new PropertyModel<String>(batchModel,"workspace"),workspaces){ private static final long serialVersionUID=-9058423608027219299L; @Override public boolean isRequired(){ return !canBeNull && (form.findSubmittingButton() == saveButton || form.findSubmittingButton() == applyButton); } } .setNullValid(canBeNull)
to
new DropDownChoice<String>("workspace",new PropertyModel<String>(batchModel,"workspace"),new ArrayList<String>(workspaces)){ private static final long serialVersionUID=-9058423608027219299L; @Override public boolean isRequired(){ return !canBeNull && (form.findSubmittingButton() == saveButton || form.findSubmittingButton() == applyButton); } } .setNullValid(canBeNull)
new DropDownChoice<String>("workspace",new PropertyModel<String>(configurationModel,"workspace"),workspaces){ private static final long serialVersionUID=-6665795544099616226L; @Override public boolean isRequired(){ return !canBeNull && (form.findSubmittingButton() == saveButton || form.findSubmittingButton() == applyButton); } } .setNullValid(canBeNull)
to
new DropDownChoice<String>("workspace",new PropertyModel<String>(configurationModel,"workspace"),new ArrayList<String>(workspaces)){ private static final long serialVersionUID=-6665795544099616226L; @Override public boolean isRequired(){ return !canBeNull && (form.findSubmittingButton() == saveButton || form.findSubmittingButton() == applyButton); } } .setNullValid(canBeNull)
Sets.<HostAndPort>newHashSet(servers)
to
servers
isSortedAccordingTo
to
hasSize