Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
The null check is broken since it will throw a Nullpointer itself. The reason is that a method is called on the object when it is null. It is likely that you used || instead of && or vice versa.
New to GrepCode? Check out our FAQ X