Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordonald.g.dunne2012-09-11 22:53:41 +0000
committerRoberto E. Escobar2012-09-11 22:53:41 +0000
commit4e553c900a75975116e6ef7461e5e14c61982da3 (patch)
treed0616e6589e171f175448ebb087857ec529d73c9
parent9638268c9eceff868ef43e1926fe451599cf7ce3 (diff)
downloadorg.eclipse.osee-4e553c900a75975116e6ef7461e5e14c61982da3.tar.gz
org.eclipse.osee-4e553c900a75975116e6ef7461e5e14c61982da3.tar.xz
org.eclipse.osee-4e553c900a75975116e6ef7461e5e14c61982da3.zip
refinement: Cleanup if/then in AtsVersionServiceImpl
-rw-r--r--plugins/org.eclipse.osee.ats.impl/src/org/eclipse/osee/ats/impl/internal/version/AtsVersionServiceImpl.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/plugins/org.eclipse.osee.ats.impl/src/org/eclipse/osee/ats/impl/internal/version/AtsVersionServiceImpl.java b/plugins/org.eclipse.osee.ats.impl/src/org/eclipse/osee/ats/impl/internal/version/AtsVersionServiceImpl.java
index 1c0b1ec73b3..7909d2f997c 100644
--- a/plugins/org.eclipse.osee.ats.impl/src/org/eclipse/osee/ats/impl/internal/version/AtsVersionServiceImpl.java
+++ b/plugins/org.eclipse.osee.ats.impl/src/org/eclipse/osee/ats/impl/internal/version/AtsVersionServiceImpl.java
@@ -65,11 +65,7 @@ public class AtsVersionServiceImpl implements IAtsVersionService {
private IAtsVersion setTargetedVersion(IAtsTeamWorkflow teamWf, IAtsVersion version, boolean store) throws OseeCoreException {
if (store) {
- if (version == null) {
- AtsVersionStore.getService().setTargetedVersionLink(teamWf, version);
- } else {
- AtsVersionStore.getService().setTargetedVersionLink(teamWf, version);
- }
+ AtsVersionStore.getService().setTargetedVersionLink(teamWf, version);
}
if (version == null) {
AtsVersionCache.instance.deCache(teamWf);

Back to the top