Skip to content

Commit 842be37

Browse files
committed
clean a bit
1 parent f02dd04 commit 842be37

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

project/Dependencies.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ import sbt._
33
object Dependencies {
44

55
// Generic
6-
lazy val jodaTime = "joda-time" % "joda-time" % "2.3"
6+
lazy val jodaTime = "joda-time" % "joda-time" % "2.3"
77

88
// Play framework
9-
lazy val playWS = "com.typesafe.play" %% "play-ws" % "2.3.1"
9+
lazy val playWS = "com.typesafe.play" %% "play-ws" % "2.3.2"
1010

1111
}

src/main/scala/org/codacy/client/bitbucket/client/BitbucketClient.scala

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,6 @@ class BitbucketClient(key: String, secretKey: String, token: String, secretToken
1515
private lazy val KEY = ConsumerKey(key, secretKey)
1616
private lazy val TOKEN = RequestToken(token, secretToken)
1717

18-
private lazy val BITBUCKET = OAuth(ServiceInfo(
19-
"https://bitbucket.org/!api/1.0/oauth/request_token",
20-
"https://bitbucket.org/!api/1.0/oauth/access_token",
21-
"https://bitbucket.org/!api/1.0/oauth/authenticate", KEY),
22-
use10a = true)
23-
2418
/*
2519
* Does an API request and parses the json output into a class
2620
*/

src/main/scala/org/codacy/client/bitbucket/service/UserServices.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class UserServices(client: BitbucketClient) {
2222
/*
2323
* Creates a ssh key
2424
*/
25-
def createKey[T](username: String, key: String): RequestResponse[SshKey] = {
25+
def createKey(username: String, key: String): RequestResponse[SshKey] = {
2626
val url = s"https://bitbucket.org/!api/1.0/users/$username/ssh-keys"
2727

2828
val values = Map(

0 commit comments

Comments
 (0)