METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; java . lang . String IDENT_1 = STRING_1 ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String , java . lang . String ) { try { if ( ( version == null ) || ( value == null ) ) { return 0 ; } java . util . List < java . lang . String > IDENT_2 = new java . util . ArrayList ( ) ; java . util . List < java . lang . String > values = new java . util . ArrayList ( ) ; java . lang . String IDENT_3 = STRING_2 ; int IDENT_4 = version . indexOf ( IDENT_3 ) ; if ( IDENT_4 != ( - 1 ) ) { version = version . substring ( 0 , IDENT_4 ) ; } IDENT_4 = value . indexOf ( IDENT_3 ) ; if ( IDENT_4 != ( - 1 ) ) { value = value . substring ( 0 , IDENT_4 ) ; } java . util . Collections . addAll ( IDENT_2 , version . split ( STRING_3 ) ) ; java . util . Collections . addAll ( values , value . split ( STRING_3 ) ) ; while ( ( IDENT_2 . size ( ) ) < ( values . size ( ) ) ) { IDENT_2 . add ( STRING_4 ) ; } while ( ( values . size ( ) ) < ( IDENT_2 . size ( ) ) ) { values . add ( STRING_4 ) ; } for ( int x = 0 ; x < ( IDENT_2 . size ( ) ) ; x ++ ) { java . lang . String IDENT_5 = IDENT_2 . get ( x ) . trim ( ) ; java . lang . String IDENT_6 = values . get ( x ) . trim ( ) ; java . lang . Long IDENT_7 = org . apache . commons . lang3 . math . IDENT_8 . METHOD_2 ( IDENT_5 , 0 ) ; java . lang . Long val = org . apache . commons . lang3 . math . IDENT_8 . METHOD_2 ( IDENT_6 , 0 ) ; int ret = IDENT_7 . compareTo ( val ) ; if ( ret != 0 ) { return ret ; } } } catch ( java . lang . IDENT_9 e ) { org . openmrs . module . IDENT_10 . log . error ( ( ( ( STRING_5 + version ) + "/" ) + value ) , e ) ; } return 0 ; }
org . junit . Assert . assertTrue ( ( ( org . openmrs . module . IDENT_10 . METHOD_1 ( IDENT_0 , IDENT_1 ) ) < 0 ) )