Null check #12

Closed
fatlazycat opened this Issue Apr 3, 2012 · 2 comments

2 participants

@fatlazycat

Possibly allow the use of null within an assert ?

@matthewfarwell
Scalastyle member

If you wish to switch off a null check for a single line, then you can do:

// scalastyle:off null
assert(null, "foo")
// scalastyle:on null

Type of thing. Is this ok. I'd rather not have an exception of this type.

@fatlazycat

sure np, just an idea. Though will raise a diff issue with regards to comments

@fatlazycat fatlazycat closed this Apr 3, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment