You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2022/05/28 21:40:36 UTC
[maven-release] branch master updated: formatting
This is an automated email from the ASF dual-hosted git repository.
hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-release.git
The following commit(s) were added to refs/heads/master by this push:
new d93128de formatting
d93128de is described below
commit d93128de5c2df080068838e362e5f4e88a0fbc56
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Sat May 28 23:40:33 2022 +0200
formatting
---
.../src/main/mdo/release-descriptor.mdo | 38 +++++++++++-----------
1 file changed, 19 insertions(+), 19 deletions(-)
diff --git a/maven-release-manager/src/main/mdo/release-descriptor.mdo b/maven-release-manager/src/main/mdo/release-descriptor.mdo
index 32dfa060..92f64ee4 100644
--- a/maven-release-manager/src/main/mdo/release-descriptor.mdo
+++ b/maven-release-manager/src/main/mdo/release-descriptor.mdo
@@ -514,7 +514,7 @@
<defaultValue>false</defaultValue>
<description>
NOTE : currently only implemented with svn scm. Enable a workaround to prevent issue due to svn client &gt; 1.5.0
- (http://jira.codehaus.org/browse/SCM-406)
+ (https://issues.apache.org/jira/browse/SCM-406)
</description>
</field>
<field>
@@ -678,11 +678,11 @@
public String getProjectReleaseVersion( String projectId )
{
- if ( projectVersions.containsKey( projectId ) )
- {
- return projectVersions.get( projectId ).getRelease();
- }
- return null;
+ if ( projectVersions.containsKey( projectId ) )
+ {
+ return projectVersions.get( projectId ).getRelease();
+ }
+ return null;
}
/**
@@ -698,11 +698,11 @@
public String getProjectDevelopmentVersion( String projectId )
{
- if ( projectVersions.containsKey( projectId ) )
- {
- return projectVersions.get( projectId ).getDevelopment();
- }
- return null;
+ if ( projectVersions.containsKey( projectId ) )
+ {
+ return projectVersions.get( projectId ).getDevelopment();
+ }
+ return null;
}
/**
@@ -749,16 +749,16 @@
public String getProjectOriginalVersion( String projectId )
{
- if ( projectVersions.containsKey( projectId ) )
- {
- return projectVersions.get( projectId ).getOriginal();
- }
- return null;
+ if ( projectVersions.containsKey( projectId ) )
+ {
+ return projectVersions.get( projectId ).getOriginal();
+ }
+ return null;
}
public void addOriginalVersion( String projectId, String version )
{
- computeIfAbsent( projectVersions, projectId ).setOriginal( version );
+ computeIfAbsent( projectVersions, projectId ).setOriginal( version );
}
/**
@@ -897,7 +897,7 @@
return false;
}
if ( ( checkModificationExcludes == null || ( checkModificationExcludes != null && checkModificationExcludes.size() == 0) ) &&
- ( that.getCheckModificationExcludes() == null || ( that.getCheckModificationExcludes() != null && that.getCheckModificationExcludes().size() == 0) ) )
+ ( that.getCheckModificationExcludes() == null || ( that.getCheckModificationExcludes() != null && that.getCheckModificationExcludes().size() == 0 ) ) )
{
// Do nothing. This is a Modello workaround
}
@@ -909,7 +909,7 @@
return false;
}
}
- if ( ( originalScmInfo == null || (originalScmInfo != null && originalScmInfo.size() == 0 ) ) &&
+ if ( ( originalScmInfo == null || ( originalScmInfo != null && originalScmInfo.size() == 0 ) ) &&
( that.getOriginalScmInfo() == null || ( that.getOriginalScmInfo() != null && that.getOriginalScmInfo().size() == 0 ) ) )
{
// Do nothing. This is a Modello workaround