1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 00:17:11 -07:00

Code clean up.

This commit is contained in:
Cedric Beust 2015-10-13 00:55:16 -07:00
parent e483a210eb
commit 19fbb3f507

View file

@ -50,7 +50,7 @@ public class Pom @javax.inject.Inject constructor(@Assisted val id: String,
} }
val id: String = "${groupId}:${artifactId}:${version}" val id: String = "$groupId:$artifactId:$version"
} }
var dependencies = arrayListOf<Dependency>() var dependencies = arrayListOf<Dependency>()
@ -94,7 +94,7 @@ public class Pom @javax.inject.Inject constructor(@Assisted val id: String,
} }
} }
} }
log(3, "Done parsing: ${groupId} ${artifactId} ${version}") log(3, "Done parsing: $groupId $artifactId $version")
val tmpDependency = Dependency(groupId!!, artifactId!!, version, optional!!, scope) val tmpDependency = Dependency(groupId!!, artifactId!!, version, optional!!, scope)
dependencies.add(tmpDependency) dependencies.add(tmpDependency)
} }