diff options
author | Ryan D. Brooks | 2015-12-02 02:22:41 +0000 |
---|---|---|
committer | Ryan D. Brooks | 2015-12-02 02:22:41 +0000 |
commit | 5e9d663fe9277dc54d6937780556e24435e82872 (patch) | |
tree | 5851626e3730d2f99f7aaf3c336f290e508da197 /plugins/org.eclipse.osee.ote.define | |
parent | 2e6c04546ca281f48ec0dc518cfa5515db3e0954 (diff) | |
download | org.eclipse.osee-5e9d663fe9277dc54d6937780556e24435e82872.tar.gz org.eclipse.osee-5e9d663fe9277dc54d6937780556e24435e82872.tar.xz org.eclipse.osee-5e9d663fe9277dc54d6937780556e24435e82872.zip |
refactor: Use TokenFactory.createBranch were applicable
Change-Id: I045029d981758446485416d8b69b6598a7a8323a
Diffstat (limited to 'plugins/org.eclipse.osee.ote.define')
-rw-r--r-- | plugins/org.eclipse.osee.ote.define/src/org/eclipse/osee/ote/define/operations/ImportOutfileOperation.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/org.eclipse.osee.ote.define/src/org/eclipse/osee/ote/define/operations/ImportOutfileOperation.java b/plugins/org.eclipse.osee.ote.define/src/org/eclipse/osee/ote/define/operations/ImportOutfileOperation.java index c1bf6403a7a..1402b90055a 100644 --- a/plugins/org.eclipse.osee.ote.define/src/org/eclipse/osee/ote/define/operations/ImportOutfileOperation.java +++ b/plugins/org.eclipse.osee.ote.define/src/org/eclipse/osee/ote/define/operations/ImportOutfileOperation.java @@ -22,7 +22,6 @@ import org.eclipse.core.runtime.IStatus; import org.eclipse.core.runtime.Status; import org.eclipse.osee.framework.core.data.BranchId; import org.eclipse.osee.framework.core.data.IOseeBranch; -import org.eclipse.osee.framework.core.model.Branch; import org.eclipse.osee.framework.jdk.core.type.OseeArgumentException; import org.eclipse.osee.framework.jdk.core.type.OseeCoreException; import org.eclipse.osee.framework.jdk.core.type.OseeStateException; @@ -38,9 +37,9 @@ import org.eclipse.osee.ote.define.jobs.OutfileToArtifactJob; public class ImportOutfileOperation { private final URI[] fileSystemObjects; - private final Branch selectedBranch; + private final BranchId selectedBranch; - public ImportOutfileOperation(Branch selectedBranch, URI... fileSystemObjects) throws OseeCoreException { + public ImportOutfileOperation(BranchId selectedBranch, URI... fileSystemObjects) throws OseeCoreException { checkForNull(selectedBranch); checkForNull(fileSystemObjects); checkForEmpty(fileSystemObjects); |