Skip to content

Commit

Permalink
Fixed runtime casting issue due to misnamed import
Browse files Browse the repository at this point in the history
  • Loading branch information
Thierry Lacour committed Feb 7, 2019
1 parent 76a765e commit a8ee216
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package togit.migration.sources.ccucm

import net.praqma.clearcase.PVob as CoolVob
import net.praqma.clearcase.ucm.entities.Component as CoolComponent
import net.praqma.clearcase.ucm.entities.Baseline as CoolBaseline
import net.praqma.clearcase.ucm.entities.Project as CoolProject
import net.praqma.clearcase.ucm.entities.Stream as CoolStream
import net.praqma.clearcase.ucm.utils.BaselineList
Expand Down Expand Up @@ -83,7 +84,7 @@ class CcucmSource implements MigrationSource {

@Override
void checkout(Snapshot snapshot) {
Baseline baseline = ((Baseline) snapshot).source
CoolBaseline baseline = ((Baseline) snapshot).source

migrationStream = migrationStream ?: Cool.spawnChildStream(parentStream, baseline, "$component.shortname-2git-$id", options.readOnlyMigrationStream)
migrationView = migrationView ?: Cool.spawnView(migrationStream, new File(workspace), "$component.shortname-2git-$id")
Expand Down

0 comments on commit a8ee216

Please sign in to comment.