StringUtils is Operations on String that are null safe. Snipset code below was a my code history. //when i was in collage String result=”putracode”: if(data ==null && data.length>0 ){ result=data; } //First Time in Job String result= (data ==null && data.length>0 ? data ; “putracode”); //And Now String result=StringUtils.defaultIfBlank(data,”putracode”); Look More Simple.. 😀 StringUtils Helpme […]