Skip to content

Commit

Permalink
Make completion searches check for binary compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
quintesse committed Oct 23, 2015
1 parent 5c11514 commit f555f13
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -597,6 +597,9 @@ private ModuleVersionDetails getSearchResult(String moduleName, Node namePart, M
String artifactName = getArtifactName(moduleName, version, suffix);
Node artifact = child.getChild(artifactName);
if (artifact != null) {
if (!checkBinaryVersion(moduleName, version, artifact, query)) {
continue;
}
if (query.getRetrieval() == Retrieval.ANY) {
// we found the artifact: store it
versions.add(version);
Expand Down

0 comments on commit f555f13

Please sign in to comment.