Buggy code:
public final class Diagnostics { private static final String TEST_CLASS = "org.apache.tools.ant.taskdefs.optional.Test" ; private Diagnostics ( ) { } public static boolean isOptionalAvailable ( ) { } public static void validateVersion ( ) throws BuildException { } public static File [ ] listLibraries ( ) { } private static File [ ] listJarFiles ( File libDir ) { } public static void main ( String [ ] args ) { } private static String getImplementationVersion ( Class clazz ) { } private static String getXmlParserName ( ) { } private static SAXParser getSAXParser ( ) { } private static String getXMLParserLocation ( ) { } private static String getClassLocation ( Class clazz ) { } public static void doReport ( PrintStream out ) { } private static void header ( PrintStream out , String section ) { } private static void doReportSystemProperties ( PrintStream out ) { } private static void doReportAntHomeLibraries ( PrintStream out ) { } private static void doReportUserHomeLibraries ( PrintStream out ) { } private static void printLibraries ( File [ ] libs , PrintStream out ) { } private static void doReportWhich ( PrintStream out ) { } private static void doReportTasksAvailability ( PrintStream out ) { } private static void doReportParserInfo ( PrintStream out ) { } private static void doReportTempDir ( PrintStream out ) { String tempdir = System . getProperty ( "java.io.tmpdir" ) ; if ( tempdir == null ) { out . println ( "Warning:<seq2seq4repair_space>java.io.tmpdir<seq2seq4repair_space>is<seq2seq4repair_space>undefined" ) ; return ; } out . println ( ( "Temp<seq2seq4repair_space>dir<seq2seq4repair_space>is<seq2seq4repair_space>" + tempdir ) ) ; File tempDirectory = new File ( tempdir ) ; if ( ! ( tempDirectory . exists ( ) ) ) { out . println ( ( "Warning,<seq2seq4repair_space>java.io.tmpdir<seq2seq4repair_space>directory<seq2seq4repair_space>does<seq2seq4repair_space>not<seq2seq4repair_space>exist:<seq2seq4repair_space>" + tempdir ) ) ; return ; } long now = System . currentTimeMillis ( ) ; File tempFile = null ; FileOutputStream fileout = null ; try { tempFile = File . createTempFile ( "diag" , "txt" , tempDirectory ) ; fileout = new FileOutputStream ( tempFile ) ; byte [ ] buffer = new byte [ 1024 ] ; for ( int i = 0 ; i < 32 ; i ++ ) { fileout . write ( buffer ) ; } fileout . close ( ) ; fileout = null ; long filetime = tempFile . lastModified ( ) ; tempFile . delete ( ) ; out . println ( "Temp<seq2seq4repair_space>dir<seq2seq4repair_space>is<seq2seq4repair_space>writeable" ) ; long drift = filetime - now ; out . println ( ( ( "temp<seq2seq4repair_space>dir<seq2seq4repair_space>alignment<seq2seq4repair_space>with<seq2seq4repair_space>system<seq2seq4repair_space>clock<seq2seq4repair_space>is<seq2seq4repair_space>" + drift ) + "<seq2seq4repair_space>ms" ) ) ; <START_BUG> if ( drift > 10000 ) { <END_BUG> out . println ( "Warning:<seq2seq4repair_space>big<seq2seq4repair_space>clock<seq2seq4repair_space>drift<seq2seq4repair_space>-maybe<seq2seq4repair_space>a<seq2seq4repair_space>network<seq2seq4repair_space>filesystem" ) ; } } catch ( IOException e ) { out . println ( ( "Failed<seq2seq4repair_space>to<seq2seq4repair_space>create<seq2seq4repair_space>a<seq2seq4repair_space>temporary<seq2seq4repair_space>file<seq2seq4repair_space>in<seq2seq4repair_space>the<seq2seq4repair_space>temp<seq2seq4repair_space>dir<seq2seq4repair_space>" + tempdir ) ) ; out . println ( ( ( "File<seq2seq4repair_space>" + tempFile ) + "<seq2seq4repair_space>could<seq2seq4repair_space>not<seq2seq4repair_space>be<seq2seq4repair_space>created//written<seq2seq4repair_space>to" ) ) ; } finally { FileUtils . close ( fileout ) ; if ( ( tempFile != null ) && ( tempFile . exists ( ) ) ) { tempFile . delete ( ) ; } } } private static void doReportLocale ( PrintStream out ) { } }

Fix:
if ( ( Math . abs ( drift ) ) > 10000 ) {