Skip to content
Browse files

Fixed a type-o

  • Loading branch information...
1 parent 077e0db commit c1164fe5b0eb8aa798a2a9c4c570612883af0c73 @dpp dpp committed Jul 31, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 core/common/src/main/scala/net/liftweb/common/Box.scala
View
4 core/common/src/main/scala/net/liftweb/common/Box.scala
@@ -637,7 +637,7 @@ sealed abstract class EmptyBox extends Box[Nothing] with Serializable {
* @return The contents of the Box if it has one or an exception if not
*/
def openOrThrowException(justification: String) =
- throw new NullPointerException("An Empty Box was opened. The justifcation for allowing the openOrThrowException was "+justification)
+ throw new NullPointerException("An Empty Box was opened. The justification for allowing the openOrThrowException was "+justification)
@@ -698,7 +698,7 @@ sealed case class Failure(msg: String, exception: Box[Throwable], chain: Box[Fai
*/
override def openOrThrowException(justification: String) =
throw new NullPointerException("An Failure Box was opened. Failure Message: "+msg+
- ". The justifcation for allowing the openOrThrowException was "+justification) {
+ ". The justification for allowing the openOrThrowException was "+justification) {
override def getCause() = exception openOr null
}

0 comments on commit c1164fe

Please sign in to comment.
Something went wrong with that request. Please try again.