diff options
Diffstat (limited to 'plugins/org.eclipse.osee.ats.core/src/org/eclipse/osee/ats/core/util/AbstractAtsBranchService.java')
-rw-r--r-- | plugins/org.eclipse.osee.ats.core/src/org/eclipse/osee/ats/core/util/AbstractAtsBranchService.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/org.eclipse.osee.ats.core/src/org/eclipse/osee/ats/core/util/AbstractAtsBranchService.java b/plugins/org.eclipse.osee.ats.core/src/org/eclipse/osee/ats/core/util/AbstractAtsBranchService.java index 206209abfdf..5a1ec5f3712 100644 --- a/plugins/org.eclipse.osee.ats.core/src/org/eclipse/osee/ats/core/util/AbstractAtsBranchService.java +++ b/plugins/org.eclipse.osee.ats.core/src/org/eclipse/osee/ats/core/util/AbstractAtsBranchService.java @@ -93,8 +93,8 @@ public abstract class AbstractAtsBranchService implements IAtsBranchService { public IOseeBranch getWorkingBranch(IAtsTeamWorkflow teamWf, boolean force) { long now = new Date().getTime(); boolean notSet = idToWorkingBranchCacheUpdated.get(teamWf.getAtsId()) == null; - if (AtsUtilCore.isInTest() || notSet || force || (now - idToWorkingBranchCacheUpdated.get( - teamWf.getAtsId()) > 1000)) { + if (AtsUtilCore.isInTest() || notSet || force || now - idToWorkingBranchCacheUpdated.get( + teamWf.getAtsId()) > 1000) { IOseeBranch branch = null; try { branch = getWorkingBranchExcludeStates(teamWf, BranchState.REBASELINED, BranchState.DELETED, @@ -343,7 +343,7 @@ public abstract class AbstractAtsBranchService implements IAtsBranchService { branch = getBranchByUuid(version.getBaselineBranchUuid()); } } - if (branch == null && (configObject instanceof IAtsTeamDefinition)) { + if (branch == null && configObject instanceof IAtsTeamDefinition) { IAtsTeamDefinition teamDef = (IAtsTeamDefinition) configObject; if (teamDef.getBaselineBranchUuid() > 0) { branch = getBranchByUuid(teamDef.getBaselineBranchUuid()); |