Skip to content

Commit

Permalink
removed unnecessary def
Browse files Browse the repository at this point in the history
  • Loading branch information
ditekunov authored Jun 15, 2018
1 parent a25792f commit 16947a7
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/main/scala/doubleOperations/DoubleProperties.scala
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,6 @@ class DoubleProperties(val firstDouble: Double) {
* Returns double, converted to degrees
*/
def toDegrees: Double = firstDouble * 180.0 / pi

/**
* Increments double
*/
def incDouble: Double =
if (a != Double.MAX_VALUE) a + 1
else throw new InputException(OverflowInput)

}

object DoubleProperties {
Expand Down

0 comments on commit 16947a7

Please sign in to comment.