Here you can find the source of convertNullToFalse(Boolean b)
public static Boolean convertNullToFalse(Boolean b)
//package com.java2s; //License from project: Apache License public class Main { public static Boolean convertNullToFalse(Boolean b) { if (b == null) { return Boolean.FALSE; }//w ww . ja v a2 s.com return b; } }