Date: 09/25/07 (Code WTF) Keywords: no keywords
Object o = ... //some methodif (o != null){ String path = (String) o; if ( path != null) { //do something } }
Source: http://community.livejournal.com/code_wtf/104857.html