Skip to content

Commit

Permalink
add return types
Browse files Browse the repository at this point in the history
  • Loading branch information
mengxr committed Apr 7, 2014
1 parent 7f8eb36 commit 11c94e0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class BinaryLabelParser extends LabelParser {
object BinaryLabelParser {
private lazy val instance = new BinaryLabelParser()
/** Gets the default instance of BinaryLabelParser. */
def apply() = instance
def apply(): BinaryLabelParser = instance
}

/**
Expand All @@ -51,5 +51,5 @@ class MulticlassLabelParser extends LabelParser {
object MulticlassLabelParser {
private lazy val instance = new MulticlassLabelParser()
/** Gets the default instance of MulticlassLabelParser. */
def apply() = instance
def apply(): MulticlassLabelParser = instance
}

0 comments on commit 11c94e0

Please sign in to comment.