public static int METHOD_1 ( TYPE_1 VAR_1 ) throws TYPE_2 { int result = 0 ; int index = 0 ; for ( TYPE_3 VAR_2 : VAR_1 . METHOD_2 ( ) ) { if ( ( VAR_2 . METHOD_3 ( ) ) < 0 ) index ++ ; else if ( result < index ) { result = index ; } } return result ; }

public static int METHOD_1 ( TYPE_1 VAR_1 ) throws TYPE_2 { int result = 0 ; int index = 0 ; for ( TYPE_3 VAR_2 : VAR_1 . METHOD_2 ( ) ) { if ( ( VAR_2 . METHOD_3 ( ) ) < 0 ) { index ++ ; continue ; } if ( result < index ) result = index ; index = 0 ; } return result ; }
