Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmisinco2014-08-25 16:49:01 +0000
committerRoberto E. Escobar2014-10-01 21:03:01 +0000
commit9dbaa673cf82e2c5191e4bfd800d60c771895dd9 (patch)
tree83229d0d69a972301ac7fe5c9fb5fb8ff365adf5 /plugins/org.eclipse.osee.framework.manager.servlet
parent5a25535d9f3511da5ce15bb8dbe683c8915fa2ec (diff)
downloadorg.eclipse.osee-9dbaa673cf82e2c5191e4bfd800d60c771895dd9.tar.gz
org.eclipse.osee-9dbaa673cf82e2c5191e4bfd800d60c771895dd9.tar.xz
org.eclipse.osee-9dbaa673cf82e2c5191e4bfd800d60c771895dd9.zip
refactor[ats_ATS46139]: Remove BranchCache from ChangeBranchTypeCallable
Diffstat (limited to 'plugins/org.eclipse.osee.framework.manager.servlet')
-rw-r--r--plugins/org.eclipse.osee.framework.manager.servlet/src/org/eclipse/osee/framework/manager/servlet/branch/ChangeBranchTypeCallable.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/org.eclipse.osee.framework.manager.servlet/src/org/eclipse/osee/framework/manager/servlet/branch/ChangeBranchTypeCallable.java b/plugins/org.eclipse.osee.framework.manager.servlet/src/org/eclipse/osee/framework/manager/servlet/branch/ChangeBranchTypeCallable.java
index 226c5c9f31f..39f87f24d29 100644
--- a/plugins/org.eclipse.osee.framework.manager.servlet/src/org/eclipse/osee/framework/manager/servlet/branch/ChangeBranchTypeCallable.java
+++ b/plugins/org.eclipse.osee.framework.manager.servlet/src/org/eclipse/osee/framework/manager/servlet/branch/ChangeBranchTypeCallable.java
@@ -17,7 +17,6 @@ import org.eclipse.osee.framework.core.data.IOseeBranch;
import org.eclipse.osee.framework.core.enums.BranchType;
import org.eclipse.osee.framework.core.enums.CoreTranslatorId;
import org.eclipse.osee.framework.core.message.ChangeBranchTypeRequest;
-import org.eclipse.osee.framework.core.model.BranchReadable;
import org.eclipse.osee.framework.core.translation.IDataTranslationService;
import org.eclipse.osee.orcs.ApplicationContext;
import org.eclipse.osee.orcs.OrcsApi;
@@ -36,7 +35,7 @@ public class ChangeBranchTypeCallable extends AbstractBranchCallable<ChangeBranc
IOseeBranch toModify = getBranchFromUuid(request.getBranchId());
BranchType newBranchType = request.getType();
- Callable<BranchReadable> callable = getBranchOps().changeBranchType(toModify, newBranchType);
+ Callable<Void> callable = getBranchOps().changeBranchType(toModify, newBranchType);
callAndCheckForCancel(callable);
return Boolean.TRUE;
}

Back to the top