public static java.lang.String METHOD_1 ( java.lang.String str , int length ) { return ( str . length ( ) ) <= length ? str : str . substring ( 0 , length ) ; } 

public static java.lang.String METHOD_1 ( java.lang.String str , int length ) { return ( str == null ) || ( ( str . length ( ) ) <= length ) ? str : str . substring ( 0 , length ) ; } 
