diff options
author | Pascal Rapicault | 2015-03-07 09:35:33 +0000 |
---|---|---|
committer | Pascal Rapicault | 2015-03-08 02:59:41 +0000 |
commit | 6513488ecff51b10083d38900a5479c72ef13ad6 (patch) | |
tree | 04783809f0b9fec765381f16c427fea3b387d712 | |
parent | 72fcc3ed9f5bc458896cdedab33f0cf802cefa53 (diff) | |
download | rt.equinox.p2-6513488ecff51b10083d38900a5479c72ef13ad6.tar.gz rt.equinox.p2-6513488ecff51b10083d38900a5479c72ef13ad6.tar.xz rt.equinox.p2-6513488ecff51b10083d38900a5479c72ef13ad6.zip |
Branding iron fails when id is null
Change-Id: Ie1498a71ac60122df1ed50c98479e941a8993100
Signed-off-by: Pascal Rapicault <pascal@rapicorp.com>
-rw-r--r-- | bundles/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/internal/p2/publisher/eclipse/BrandingIron.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/internal/p2/publisher/eclipse/BrandingIron.java b/bundles/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/internal/p2/publisher/eclipse/BrandingIron.java index 609e89aba..183653d06 100644 --- a/bundles/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/internal/p2/publisher/eclipse/BrandingIron.java +++ b/bundles/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/internal/p2/publisher/eclipse/BrandingIron.java @@ -506,7 +506,7 @@ public class BrandingIron { //Deal with error case infoPListEditor.setKey(InfoPListEditor.MARKER_KEY, name); infoPListEditor.setKey(InfoPListEditor.BUNDLE_KEY, name); - infoPListEditor.setKey(InfoPListEditor.BUNDLE_ID_KEY, id); + infoPListEditor.setKey(InfoPListEditor.BUNDLE_ID_KEY, id == null ? name : id); if (description != null) infoPListEditor.setKey(InfoPListEditor.BUNDLE_INFO_KEY, description); |