METHOD_0 ( ) { IDENT_0 . METHOD_1 ( false , false ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( boolean , boolean ) { int IDENT_1 = 0 ; final org . IDENT_2 . mail . IDENT_3 filter = new org . IDENT_2 . mail . METHOD_2 ( ) ; if ( IDENT_4 == true ) { filter . METHOD_3 ( true ) ; } final org . IDENT_2 . mail . IDENT_5 IDENT_6 = org . IDENT_2 . core . IDENT_7 . getInstance ( ) . METHOD_4 ( ) ; if ( ( IDENT_6 == null ) || ( ( IDENT_6 . METHOD_5 ( ) ) == null ) ) { return 0 ; } final org . IDENT_2 . mail . IDENT_8 IDENT_9 = new org . IDENT_2 . mail . METHOD_6 ( IDENT_6 ) ; try { IDENT_9 . connect ( STRING_0 , IDENT_10 ) ; final org . IDENT_2 . mail . IDENT_11 [ ] IDENT_12 = IDENT_9 . METHOD_7 ( filter ) ; if ( IDENT_12 != null ) { for ( final org . IDENT_2 . mail . IDENT_11 mail : IDENT_12 ) { final org . IDENT_2 . IDENT_13 . IDENT_14 entry = new org . IDENT_2 . IDENT_13 . METHOD_8 ( ) ; entry . METHOD_9 ( mail . METHOD_10 ( ) ) ; final java . lang . String content = mail . METHOD_11 ( ) ; final java . io . IDENT_15 reader = new java . io . METHOD_12 ( new java . io . METHOD_13 ( content . trim ( ) ) ) ; try { java . lang . StringBuffer buf = null ; while ( ( reader . METHOD_14 ( ) ) == true ) { final java . lang . String line = reader . METHOD_15 ( ) ; if ( line == null ) { break ; } if ( ( line . startsWith ( STRING_1 ) ) == true ) { if ( ( line . length ( ) ) > 5 ) { final java . lang . String IDENT_16 = line . substring ( 5 ) ; final java . util . Date date = org . IDENT_2 . IDENT_13 . IDENT_17 . METHOD_16 ( IDENT_16 ) ; entry . METHOD_9 ( date ) ; } } else if ( ( line . startsWith ( STRING_2 ) ) == true ) { if ( ( line . length ( ) ) > 7 ) { final java . lang . String IDENT_18 = line . substring ( 7 ) ; entry . METHOD_17 ( IDENT_18 ) ; } } else if ( ( line . startsWith ( STRING_3 ) ) == true ) { if ( ( line . length ( ) ) > 4 ) { final java . lang . String msg = line . substring ( 4 ) ; buf = new java . lang . StringBuffer ( ) ; buf . append ( msg ) ; } } else if ( buf != null ) { buf . append ( line ) ; } else { entry . METHOD_17 ( line ) ; buf = new java . lang . StringBuffer ( ) ; } } if ( buf != null ) { entry . METHOD_18 ( buf . toString ( ) . trim ( ) ) ; } } catch ( java . io . IOException ex ) { org . IDENT_2 . IDENT_13 . IDENT_19 . log . METHOD_19 ( ( STRING_4 + ex ) , ex ) ; } if ( ( IDENT_20 . METHOD_20 ( entry , STRING_5 ) ) == true ) { IDENT_1 ++ ; } if ( IDENT_10 == true ) { try { mail . getMessage ( ) . METHOD_21 ( IDENT_21 . IDENT_22 . IDENT_23 , true ) ; } catch ( javax . mail . IDENT_24 ex ) { org . IDENT_2 . IDENT_13 . IDENT_19 . log . error ( ( STRING_6 + ex ) , ex ) ; } } } } return IDENT_1 ; } finally { IDENT_9 . METHOD_22 ( ) ; } }
org . junit . Assert . assertEquals ( "" , "" )