Fix best match resource selection when there's only one match.
Was using the wrong index. Change-Id: I7d761ffa553f0aeec176a4752185dde238991e5e
This commit is contained in:
@@ -604,7 +604,7 @@ public class ProjectResources implements IResourceRepository {
|
|||||||
if (matchingResources.size() == 0) {
|
if (matchingResources.size() == 0) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
return matchingResources.get(1);
|
return matchingResources.get(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user