Skip to content

Commit e81a81c

Browse files
committed
For support for generating a target with version ranges
1 parent 42f1acd commit e81a81c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/org.eclipse.oomph.targlets.core/src/org/eclipse/oomph/targlets/internal/core/listeners/TargetDefinitionGenerator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ protected void setContents(URI uri, String encoding, String contents) throws IOE
432432
private String formatElement(IInstallableUnit iu, boolean withVersion, boolean withVersionRange, XML.Escaper escaper)
433433
{
434434
Version version = iu.getVersion();
435-
if (!withVersion && !withVersion || version == null)
435+
if (!withVersion && !withVersionRange || version == null)
436436
{
437437
version = Version.emptyVersion;
438438
}

0 commit comments

Comments
 (0)