diff options
author | Christopher Vogt <oss.nsp@cvogt.org> | 2017-03-04 02:25:49 +0000 |
---|---|---|
committer | Christopher Vogt <oss.nsp@cvogt.org> | 2017-03-04 20:43:13 -0500 |
commit | 7c8be631d5c2b9fde573163b86fd11bf09ce65dd (patch) | |
tree | 70e7a9e9c9c8519cba9c419c0c57b7c0e85337bb /plugins/sonatype-release/src/sonatype/models.scala | |
parent | 7f24968807013edd923ec472dc0fc5409544a768 (diff) | |
download | cbt-7c8be631d5c2b9fde573163b86fd11bf09ce65dd.tar.gz cbt-7c8be631d5c2b9fde573163b86fd11bf09ce65dd.tar.bz2 cbt-7c8be631d5c2b9fde573163b86fd11bf09ce65dd.zip |
[sonatype] unify sonatype plugin code-style with rest of cbt
- indent parameter lists like other cbt code
- avoid stripMargin for style reasons
also add logger, eventhough not used right now
Diffstat (limited to 'plugins/sonatype-release/src/sonatype/models.scala')
-rw-r--r-- | plugins/sonatype-release/src/sonatype/models.scala | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/plugins/sonatype-release/src/sonatype/models.scala b/plugins/sonatype-release/src/sonatype/models.scala index 4446c53..88ec3b5 100644 --- a/plugins/sonatype-release/src/sonatype/models.scala +++ b/plugins/sonatype-release/src/sonatype/models.scala @@ -1,11 +1,11 @@ package cbt.sonatype case class StagingProfile( - id: String, - name: String, - repositoryTargetId: String, - resourceURI: String - ) + id: String, + name: String, + repositoryTargetId: String, + resourceURI: String +) case class StagingRepositoryId(repositoryId: String) @@ -24,8 +24,8 @@ case object Released extends RepositoryState case class Unknown(state: String) extends RepositoryState case class StagingRepository( - profileId: String, - profileName: String, - repositoryId: String, - state: RepositoryState // stands as `type` in XML response - ) + profileId: String, + profileName: String, + repositoryId: String, + state: RepositoryState // stands as `type` in XML response +) |