Skip to content

Commit

Permalink
cleaning up
Browse files Browse the repository at this point in the history
  • Loading branch information
asmuth committed Feb 25, 2013
1 parent 042e09c commit 429b945
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
5 changes: 0 additions & 5 deletions fnordmetric-enterprise/src/FnordMetric.scala
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ object FnordMetric {
val number_format = new DecimalFormat("0.#####")

var debug = false
var verbose = false

var flock : FileLock = null

Expand Down Expand Up @@ -70,9 +69,6 @@ object FnordMetric {
else if ((args(n) == "-d") || (args(n) == "--debug"))
{ debug = true; n += 1 }

else if ((args(n) == "-v") || (args(n) == "--verbose"))
{ verbose = true; n += 1 }

else if ((args(n) == "-h") || (args(n) == "--help"))
return usage(true)

Expand Down Expand Up @@ -145,7 +141,6 @@ object FnordMetric {
println(" --admin <port> start http admin web interface on this port ")
println(" -h, --help you're reading it... ")
println(" -d, --debug debug mode ")
println(" -v, --verbose verbose mode ")
}


Expand Down
4 changes: 2 additions & 2 deletions fnordmetric-enterprise/src/SwapFile.scala
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ class SwapFile(metric_key: MetricKey) {
buffer.rewind
}

// reads a chunk of of values from the swapfile at position into
// the specified destionation list buffer
// reads a chunk of of values from the swapfile at position into the
// specified destionation list buffer. this method is thread safe
def load_chunk(position: Int, dst: ListBuffer[(Long, Double)]) : Int = {
var read_pos = 0

Expand Down

0 comments on commit 429b945

Please sign in to comment.