James Roome created FELIX-6773: ---------------------------------- Summary: ResolverImpl downloading bundles it doesn't need to Key: FELIX-6773 URL: https://issues.apache.org/jira/browse/FELIX-6773 Project: Felix Issue Type: Bug Components: Bundle Repository (OBR) Affects Versions: bundlerepository-2.0.10 Reporter: James Roome
LazyLocalResourceImpl doesn't implement the equals method. Due to this when it is compared to another Resource with the same symbolic name and version is returns false. Impacts: ResolverImpl, which will do an unneeded download and update, due to this check failing: {code:java} if (!localResource.equals(deployResource)){code} Fix: Implement equals in LazyLocalResourceImpl: {code:java} public boolean equals(Object o) { return getResource().equals(o); }{code} I'll submit the above fix as a pull request on the apache-dev github repo. -- This message was sent by Atlassian Jira (v8.20.10#820010)