METHOD_0 ( ) { long size = ( IDENT_0 ) + 1 ; IDENT_1 . METHOD_1 ( size ) ; org . sagebionetworks . repo . model . file . IDENT_2 IDENT_3 = IDENT_4 . METHOD_2 ( IDENT_1 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( org . sagebionetworks . repo . model . file . IDENT_5 ) { if ( metadata == null ) throw new java . lang . IllegalArgumentException ( STRING_0 ) ; if ( ( metadata . METHOD_3 ( ) ) == null ) throw new java . lang . IllegalArgumentException ( STRING_1 ) ; if ( ( metadata . METHOD_4 ( ) ) == null ) throw new java . lang . IllegalArgumentException ( STRING_2 ) ; if ( ( metadata . METHOD_4 ( ) ) == 0L ) { org . sagebionetworks . repo . manager . file . IDENT_6 . IDENT_7 . log . info ( STRING_3 ) ; return null ; } if ( org . apache . commons . lang3 . StringUtils . isEmpty ( metadata . METHOD_3 ( ) ) ) { org . sagebionetworks . repo . manager . file . IDENT_6 . IDENT_7 . log . info ( STRING_4 ) ; return null ; } org . apache . http . entity . IDENT_8 IDENT_9 = org . apache . http . entity . IDENT_8 . parse ( metadata . METHOD_3 ( ) ) ; java . lang . String extension = org . sagebionetworks . repo . manager . file . IDENT_6 . IDENT_10 . METHOD_5 ( metadata . METHOD_6 ( ) ) ; final org . sagebionetworks . repo . manager . file . IDENT_6 . IDENT_11 generator = METHOD_7 ( IDENT_9 . METHOD_8 ( ) , extension ) ; if ( generator == null ) { org . sagebionetworks . repo . manager . file . IDENT_6 . IDENT_7 . log . info ( ( STRING_5 + ( metadata . METHOD_3 ( ) ) ) ) ; return null ; } java . lang . String IDENT_12 = org . apache . http . entity . IDENT_8 . parse ( metadata . METHOD_3 ( ) ) . METHOD_8 ( ) ; long IDENT_13 = generator . METHOD_9 ( IDENT_12 , metadata . METHOD_4 ( ) ) ; if ( IDENT_13 > ( IDENT_14 ) ) { org . sagebionetworks . repo . manager . file . IDENT_6 . IDENT_7 . log . info ( java . lang . String . format ( STRING_6 , IDENT_13 , IDENT_14 , metadata . toString ( ) ) ) ; return null ; } try { return IDENT_15 . METHOD_10 ( new java . util . concurrent . IDENT_16 < org . sagebionetworks . repo . model . file . IDENT_2 > ( ) { @ org . sagebionetworks . repo . manager . file . IDENT_6 . Override public org . sagebionetworks . repo . model . file . IDENT_2 call ( ) { return METHOD_2 ( generator , metadata ) ; } } , IDENT_13 ) ; } catch ( org . sagebionetworks . repo . web . IDENT_17 IDENT_18 ) { org . sagebionetworks . repo . manager . file . IDENT_6 . IDENT_7 . log . info ( ( STRING_7 + metadata ) ) ; throw IDENT_18 ; } catch ( org . sagebionetworks . repo . util . IDENT_19 . IDENT_20 e ) { org . sagebionetworks . repo . manager . file . IDENT_6 . IDENT_7 . log . info ( java . lang . String . format ( STRING_6 , IDENT_13 , IDENT_14 , metadata . toString ( ) ) ) ; return null ; } }
org . junit . Assert . assertNull ( IDENT_3 )