Usage of VersionTable FELIX-2085
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@911059 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/sigil/eclipse/ui/src/org/apache/felix/sigil/ui/eclipse/ui/wizard/project/SigilProjectWizardFirstPage.java b/sigil/eclipse/ui/src/org/apache/felix/sigil/ui/eclipse/ui/wizard/project/SigilProjectWizardFirstPage.java
index 26ebc53..480e9f7 100644
--- a/sigil/eclipse/ui/src/org/apache/felix/sigil/ui/eclipse/ui/wizard/project/SigilProjectWizardFirstPage.java
+++ b/sigil/eclipse/ui/src/org/apache/felix/sigil/ui/eclipse/ui/wizard/project/SigilProjectWizardFirstPage.java
@@ -20,6 +20,7 @@
package org.apache.felix.sigil.ui.eclipse.ui.wizard.project;
+import org.apache.felix.sigil.common.osgi.VersionTable;
import org.apache.felix.sigil.ui.eclipse.ui.views.RepositoryViewPart;
import org.eclipse.core.resources.IWorkspace;
import org.eclipse.core.resources.ResourcesPlugin;
@@ -49,7 +50,7 @@
{
private volatile String description = "";
- private volatile Version version = new Version( 1, 0, 0 );
+ private volatile Version version = VersionTable.getVersion( 1, 0, 0 );
private volatile String vendor = "";
private volatile String name = "";
@@ -161,7 +162,7 @@
{
try
{
- version = new Version( txtVersion.getText() );
+ version = VersionTable.getVersion( txtVersion.getText() );
}
catch ( IllegalArgumentException e )
{