public TYPE_1 METHOD_1 ( java.lang.String title ) { java.util.List < TYPE_1 > results = METHOD_2 ( title ) ; <BUG> if ( results != null ) {</BUG> return results . get ( 0 ) ; } return null ; }
public TYPE_1 METHOD_1 ( java.lang.String title ) { java.util.List < TYPE_1 > results = METHOD_2 ( title ) ; if ( ! ( results . isEmpty ( ) ) ) { return results . get ( 0 ) ; } return null ; } 
