METHOD_0 ( ) { server . METHOD_1 ( new org . eclipse . IDENT_0 . server . handler . METHOD_2 ( ) { @ edu . illinois . library . cantaloupe . source . Override public void METHOD_3 ( java . lang . String target , org . eclipse . IDENT_0 . server . IDENT_1 IDENT_2 , javax . servlet . http . IDENT_3 request , javax . servlet . http . IDENT_4 response ) { response . METHOD_4 ( STRING_0 , STRING_1 ) ; IDENT_2 . METHOD_5 ( true ) ; } } ) ; server . start ( ) ; instance . METHOD_6 ( new edu . illinois . library . cantaloupe . image . METHOD_7 ( STRING_2 ) ) ; "<AssertPlaceHolder>" ; } METHOD_8 ( ) { if ( ( format ) == null ) { format = edu . illinois . library . cantaloupe . image . IDENT_5 . IDENT_6 ; final edu . illinois . library . cantaloupe . source . IDENT_7 info = METHOD_9 ( ) ; edu . illinois . library . cantaloupe . source . IDENT_8 . LOGGER . debug ( STRING_3 , info ) ; format = edu . illinois . library . cantaloupe . image . IDENT_5 . METHOD_10 ( info . getKey ( ) ) ; if ( IDENT_5 . IDENT_6 . equals ( format ) ) { edu . illinois . library . cantaloupe . source . IDENT_8 . LOGGER . debug ( STRING_4 , info ) ; format = edu . illinois . library . cantaloupe . image . IDENT_5 . METHOD_10 ( IDENT_9 ) ; } if ( IDENT_5 . IDENT_6 . equals ( format ) ) { edu . illinois . library . cantaloupe . source . IDENT_8 . LOGGER . debug ( STRING_5 , info ) ; java . lang . String IDENT_10 = METHOD_11 ( ) . IDENT_10 ; if ( ( IDENT_10 != null ) && ( ! ( IDENT_10 . isEmpty ( ) ) ) ) { format = new edu . illinois . library . cantaloupe . image . METHOD_12 ( IDENT_10 ) . METHOD_13 ( ) ; } if ( IDENT_5 . IDENT_6 . equals ( format ) ) { edu . illinois . library . cantaloupe . source . IDENT_8 . LOGGER . debug ( STRING_6 , info ) ; try ( java . io . InputStream is = new java . io . METHOD_14 ( edu . illinois . library . cantaloupe . source . IDENT_8 . METHOD_15 ( info , edu . illinois . library . cantaloupe . source . IDENT_8 . IDENT_11 ) ) ) { java . util . List < edu . illinois . library . cantaloupe . image . METHOD_12 > types = edu . illinois . library . cantaloupe . image . METHOD_12 . METHOD_16 ( is ) ; if ( ! ( types . isEmpty ( ) ) ) { format = types . get ( 0 ) . METHOD_13 ( ) ; } } } } } return format ; }
org . junit . Assert . assertEquals ( IDENT_5 . IDENT_6 , instance . METHOD_8 ( ) )