Skip to content

Commit

Permalink
Removed leading space
Browse files Browse the repository at this point in the history
ProcessPopularKeys added a leading space; removed it

Author: @jerryli9876
Fixes #65
URL: #65
  • Loading branch information
jerryli9876 committed Jul 6, 2012
1 parent 5717adc commit d4b1808
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ class PopularKeysClient {
line = new Scanner(s.nextLine())
val currentString = line.next()
var value = ""
if (line.hasNext()) value = line.next()
while (line.hasNext()) {
value += " " + line.next()
}
Expand All @@ -90,7 +91,6 @@ class PopularKeysClient {
client.storeTopKeyValueAnnotations(oldService, keys.asJava)
else
client.storeTopAnnotations(oldService, keys.asJava)
println("Writing " + keys.toString + " to service " + oldService)
} catch {
case se: SocketException => se.printStackTrace()
case tte : TTransportException => tte.printStackTrace()
Expand Down

0 comments on commit d4b1808

Please sign in to comment.