Skip to content
This repository has been archived by the owner on Jul 11, 2022. It is now read-only.

Commit

Permalink
I broke something in VersionedRuntimeDiscovery. Reverting the change.
Browse files Browse the repository at this point in the history
  • Loading branch information
tsegismont committed Oct 10, 2014
1 parent 882ac0d commit 8bcf2ad
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,8 @@ public ResourceUpgradeReport upgrade(ResourceUpgradeContext inventoriedResource)
// resources which are logically part of the umbrella deployment.
String parentVersion = inventoriedResource.getParentResourceContext().getVersion();
String currentVersion = inventoriedResource.getVersion();
if ((!currentVersion.equals(parentVersion))
//noinspection StringEquality
if ((currentVersion != parentVersion)
&& ((null == currentVersion && null != parentVersion) || !currentVersion.equals(parentVersion))) {
if (null == result) {
result = new ResourceUpgradeReport();
Expand Down

0 comments on commit 8bcf2ad

Please sign in to comment.