Skip to content

Commit 48bf9c6

Browse files
committed
Remove unnecessary urls
1 parent 0727c87 commit 48bf9c6

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/main/scala/com/codacy/client/bitbucket/v2/Repository.scala

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,7 @@ import play.api.libs.json._
88
case class Repository(name: String, full_name: String, description: String, scm: String,
99
created_on: LocalDateTime, updated_on: LocalDateTime, owner: String, size: Long,
1010
has_issues: Boolean, is_private: Boolean, language: String,
11-
urls: Seq[RepositoryUrl]) {
12-
13-
val sshUrl: String = s"ssh://$scm@bitbucket.org/$owner/$name"
14-
val httpsUrl: String = s"https://$owner@bitbucket.org/$owner/$name"
15-
}
11+
urls: Seq[RepositoryUrl])
1612

1713
object Repository {
1814
val dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSSSSSXXX"

0 commit comments

Comments
 (0)