question: static void replaceTags ( File dir , Properties p ) { try { LinkedList fileList = new LinkedList ( ) ; getFiles ( dir , fileList ) ; ListIterator srcIter = fileList . listIterator ( ) ; while ( srcIter . hasNext ( ) ) { File file = ( File ) srcIter . next ( ) ; String fname = file . getAbsolutePath ( ) ; if ( fname . endsWith ( "xml" ) || fname . endsWith ( "ldif" ) ) { replaceTag ( fname , p ) ; } } } catch ( Exception e ) { } }
target:  Replace tags in the upgrade services xmls