Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2012-07-26 12:33:50 +0000
committerEike Stepper2012-07-26 12:33:50 +0000
commit1ae97d1d4c884a9380b491e0657899e56d3a97ae (patch)
tree67990556239ee5e5d2b8ddf237349c0a17696e66 /plugins
parent29edfe6aa27d1d7118799681432877528c981750 (diff)
downloadcdo-1ae97d1d4c884a9380b491e0657899e56d3a97ae.tar.gz
cdo-1ae97d1d4c884a9380b491e0657899e56d3a97ae.tar.xz
cdo-1ae97d1d4c884a9380b491e0657899e56d3a97ae.zip
Remove parameter
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.emf.cdo.releng.version/src/org/eclipse/emf/cdo/releng/version/VersionBuilder.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/org.eclipse.emf.cdo.releng.version/src/org/eclipse/emf/cdo/releng/version/VersionBuilder.java b/plugins/org.eclipse.emf.cdo.releng.version/src/org/eclipse/emf/cdo/releng/version/VersionBuilder.java
index ba67c162cb..ef9b984b69 100644
--- a/plugins/org.eclipse.emf.cdo.releng.version/src/org/eclipse/emf/cdo/releng/version/VersionBuilder.java
+++ b/plugins/org.eclipse.emf.cdo.releng.version/src/org/eclipse/emf/cdo/releng/version/VersionBuilder.java
@@ -268,7 +268,7 @@ public class VersionBuilder extends IncrementalProjectBuilder implements Element
int change = checkFeatureContentChanges(componentModel, element, releaseElement, warnings);
if (change != NO_CHANGE)
{
- Version nextFeatureVersion = getNextFeatureVersion(releaseVersion, nextImplementationVersion, change);
+ Version nextFeatureVersion = getNextFeatureVersion(releaseVersion, change);
if (elementVersion.compareTo(nextFeatureVersion) < 0)
{
addVersionMarker("Version must be increased to " + nextFeatureVersion
@@ -369,7 +369,7 @@ public class VersionBuilder extends IncrementalProjectBuilder implements Element
+ (release.isIntegration() ? 100 : 1));
}
- private Version getNextFeatureVersion(Version releaseVersion, Version nextImplVersion, int change)
+ private Version getNextFeatureVersion(Version releaseVersion, int change)
{
Version nextFeatureVersion = null;
if (change == MAJOR_CHANGE)
@@ -382,7 +382,7 @@ public class VersionBuilder extends IncrementalProjectBuilder implements Element
}
else if (change == MICRO_CHANGE)
{
- nextFeatureVersion = nextImplVersion;
+ nextFeatureVersion = getNextImplVersion(releaseVersion);
}
return nextFeatureVersion;

Back to the top