}
@Override
@SuppressWarnings("unchecked")
public <AdapterType> AdapterType adaptTo(final Class<AdapterType> type) {
if (type == ModifiableValueMap.class) {
<BUG>final Iterator<Resource> iter = this.picker.pickResources(this.getResourceResolver(), this.relativePath);
</BUG>
Resource highestRsrc = null;
while ( iter.hasNext() ) {
highestRsrc = iter.next();

}
@Override
@SuppressWarnings("unchecked")
public <AdapterType> AdapterType adaptTo(final Class<AdapterType> type) {
if (type == ModifiableValueMap.class) {
final Iterator<Resource> iter = this.picker.pickResources(this.getResourceResolver(), this.relativePath).iterator();
Resource highestRsrc = null;
while ( iter.hasNext() ) {
highestRsrc = iter.next();
