|
514 | 514 | <defaultValue>false</defaultValue> |
515 | 515 | <description> |
516 | 516 | NOTE : currently only implemented with svn scm. Enable a workaround to prevent issue due to svn client &gt; 1.5.0 |
517 | | - (http://jira.codehaus.org/browse/SCM-406) |
| 517 | + (https://issues.apache.org/jira/browse/SCM-406) |
518 | 518 | </description> |
519 | 519 | </field> |
520 | 520 | <field> |
|
678 | 678 |
|
679 | 679 | public String getProjectReleaseVersion( String projectId ) |
680 | 680 | { |
681 | | - if ( projectVersions.containsKey( projectId ) ) |
682 | | - { |
683 | | - return projectVersions.get( projectId ).getRelease(); |
684 | | - } |
685 | | - return null; |
| 681 | + if ( projectVersions.containsKey( projectId ) ) |
| 682 | + { |
| 683 | + return projectVersions.get( projectId ).getRelease(); |
| 684 | + } |
| 685 | + return null; |
686 | 686 | } |
687 | 687 |
|
688 | 688 | /** |
|
698 | 698 |
|
699 | 699 | public String getProjectDevelopmentVersion( String projectId ) |
700 | 700 | { |
701 | | - if ( projectVersions.containsKey( projectId ) ) |
702 | | - { |
703 | | - return projectVersions.get( projectId ).getDevelopment(); |
704 | | - } |
705 | | - return null; |
| 701 | + if ( projectVersions.containsKey( projectId ) ) |
| 702 | + { |
| 703 | + return projectVersions.get( projectId ).getDevelopment(); |
| 704 | + } |
| 705 | + return null; |
706 | 706 | } |
707 | 707 |
|
708 | 708 | /** |
|
749 | 749 |
|
750 | 750 | public String getProjectOriginalVersion( String projectId ) |
751 | 751 | { |
752 | | - if ( projectVersions.containsKey( projectId ) ) |
753 | | - { |
754 | | - return projectVersions.get( projectId ).getOriginal(); |
755 | | - } |
756 | | - return null; |
| 752 | + if ( projectVersions.containsKey( projectId ) ) |
| 753 | + { |
| 754 | + return projectVersions.get( projectId ).getOriginal(); |
| 755 | + } |
| 756 | + return null; |
757 | 757 | } |
758 | 758 | |
759 | 759 | public void addOriginalVersion( String projectId, String version ) |
760 | 760 | { |
761 | | - computeIfAbsent( projectVersions, projectId ).setOriginal( version ); |
| 761 | + computeIfAbsent( projectVersions, projectId ).setOriginal( version ); |
762 | 762 | } |
763 | 763 |
|
764 | 764 | /** |
|
897 | 897 | return false; |
898 | 898 | } |
899 | 899 | if ( ( checkModificationExcludes == null || ( checkModificationExcludes != null && checkModificationExcludes.size() == 0) ) && |
900 | | - ( that.getCheckModificationExcludes() == null || ( that.getCheckModificationExcludes() != null && that.getCheckModificationExcludes().size() == 0) ) ) |
| 900 | + ( that.getCheckModificationExcludes() == null || ( that.getCheckModificationExcludes() != null && that.getCheckModificationExcludes().size() == 0 ) ) ) |
901 | 901 | { |
902 | 902 | // Do nothing. This is a Modello workaround |
903 | 903 | } |
|
909 | 909 | return false; |
910 | 910 | } |
911 | 911 | } |
912 | | - if ( ( originalScmInfo == null || (originalScmInfo != null && originalScmInfo.size() == 0 ) ) && |
| 912 | + if ( ( originalScmInfo == null || ( originalScmInfo != null && originalScmInfo.size() == 0 ) ) && |
913 | 913 | ( that.getOriginalScmInfo() == null || ( that.getOriginalScmInfo() != null && that.getOriginalScmInfo().size() == 0 ) ) ) |
914 | 914 | { |
915 | 915 | // Do nothing. This is a Modello workaround |
|
0 commit comments