diff options
author | ddunne | 2008-11-24 22:50:46 +0000 |
---|---|---|
committer | ddunne | 2008-11-24 22:50:46 +0000 |
commit | df4b86b5c67fc71aed546e8255a0f296239876b0 (patch) | |
tree | d2bbe789e28a5f5558cc43b1d57a449e4aa7bba2 /org.eclipse.osee.ats/src/org/eclipse/osee/ats/util/AtsBranchManager.java | |
parent | 30e7f2dd8a65d2d3605d9d0dde1ff8cf3fd0fc77 (diff) | |
download | org.eclipse.osee-df4b86b5c67fc71aed546e8255a0f296239876b0.tar.gz org.eclipse.osee-df4b86b5c67fc71aed546e8255a0f296239876b0.tar.xz org.eclipse.osee-df4b86b5c67fc71aed546e8255a0f296239876b0.zip |
Diffstat (limited to 'org.eclipse.osee.ats/src/org/eclipse/osee/ats/util/AtsBranchManager.java')
-rw-r--r-- | org.eclipse.osee.ats/src/org/eclipse/osee/ats/util/AtsBranchManager.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/org.eclipse.osee.ats/src/org/eclipse/osee/ats/util/AtsBranchManager.java b/org.eclipse.osee.ats/src/org/eclipse/osee/ats/util/AtsBranchManager.java index eebd7fccf10..0b533d6a3cf 100644 --- a/org.eclipse.osee.ats/src/org/eclipse/osee/ats/util/AtsBranchManager.java +++ b/org.eclipse.osee.ats/src/org/eclipse/osee/ats/util/AtsBranchManager.java @@ -40,6 +40,7 @@ import org.eclipse.osee.framework.db.connection.exception.BranchDoesNotExist; import org.eclipse.osee.framework.db.connection.exception.MultipleAttributesExist;
import org.eclipse.osee.framework.db.connection.exception.MultipleBranchesExist;
import org.eclipse.osee.framework.db.connection.exception.OseeCoreException;
+import org.eclipse.osee.framework.db.connection.exception.OseeStateException;
import org.eclipse.osee.framework.db.connection.exception.TransactionDoesNotExist;
import org.eclipse.osee.framework.logging.OseeLog;
import org.eclipse.osee.framework.skynet.core.User;
@@ -297,7 +298,7 @@ public class AtsBranchManager { private void createNecessaryBranchEventReviews(StateEventType stateEventType, SMAManager smaMgr, SkynetTransaction transaction) throws OseeCoreException {
if (stateEventType != StateEventType.CommitBranch && stateEventType != StateEventType.CreateBranch) {
- throw new IllegalStateException("Invalid stateEventType = " + stateEventType);
+ throw new OseeStateException("Invalid stateEventType = " + stateEventType);
}
// Create any decision and peerToPeer reviews for createBranch and commitBranch
for (String ruleId : Arrays.asList(AtsAddDecisionReviewRule.ID, AtsAddPeerToPeerReviewRule.ID)) {
@@ -419,8 +420,8 @@ public class AtsBranchManager { }
private final class AtsCommitJob extends Job {
- private boolean commitPopup;
- private boolean overrideStateValidation;
+ private final boolean commitPopup;
+ private final boolean overrideStateValidation;
/**
* @param name
|