protected synchronized void replaceInFileBuffered ( File sourceFile , File targetFile , ReplacementType replacementType , File [ ] classpath , boolean detectEncoding ) throws MojoExecutionException { if ( this . replacementTreatedFiles . contains ( targetFile ) && targetFile . exists ( ) ) { getLog ( ) . debug ( "Skiping " + targetFile //$NON-NLS-1$ + " because is was already treated for replacements" ) ; //$NON-NLS-1$ return ; } replaceInFile ( sourceFile , targetFile , replacementType , classpath , detectEncoding ) ; }
Replace the Javadoc tags in the given file only if the file was never treated before .