METHOD_0 ( ) { java . net . URL url = org . opennms . IDENT_0 . xml . IDENT_1 . IDENT_2 . METHOD_1 ( STRING_0 , null ) ; java . net . IDENT_3 conn = url . METHOD_2 ( ) ; "<AssertPlaceHolder>" ; java . lang . String path = ( ( org . opennms . IDENT_0 . IDENT_4 . IDENT_5 ) ( conn ) ) . getPath ( ) ; org . opennms . IDENT_0 . IDENT_4 . IDENT_6 . LOG . debug ( path ) ; org . opennms . IDENT_0 . xml . IDENT_1 . IDENT_2 . METHOD_3 ( conn ) ; } METHOD_1 ( java . lang . String , org . opennms . IDENT_0 . xml . config . IDENT_7 ) { java . net . URL url = null ; java . lang . String protocol = null ; try { protocol = IDENT_8 . substring ( 0 , IDENT_8 . indexOf ( STRING_1 ) ) . toLowerCase ( ) ; } catch ( java . lang . Exception e ) { return null ; } if ( IDENT_9 . IDENT_10 . equals ( protocol ) ) { url = new java . net . URL ( null , IDENT_8 , new org . opennms . IDENT_0 . IDENT_4 . METHOD_4 ( ) ) ; } else if ( IDENT_11 . IDENT_10 . equals ( protocol ) ) { url = new java . net . URL ( null , IDENT_8 , new org . opennms . IDENT_0 . IDENT_4 . METHOD_5 ( ) ) ; } else if ( IDENT_12 . IDENT_13 . equals ( protocol ) ) { url = new java . net . URL ( null , IDENT_8 , new org . opennms . IDENT_0 . http . METHOD_6 ( request ) ) ; } else if ( IDENT_14 . IDENT_15 . equals ( protocol ) ) { url = new java . net . URL ( null , IDENT_8 , new org . opennms . IDENT_0 . http . METHOD_7 ( request ) ) ; } else { url = new java . net . URL ( IDENT_8 ) ; } return url ; }
org . junit . Assert . assertTrue ( ( conn instanceof org . opennms . IDENT_0 . IDENT_4 . IDENT_5 ) )