Class CopyBuggySource


  • public class CopyBuggySource
    extends java.lang.Object
    Java main application to compute update a historical bug collection with results from another build/analysis.
    • Field Detail

      • src

        java.io.File src
      • zOut

        java.util.zip.ZipOutputStream zOut
      • buf

        byte[] buf
      • copied

        java.util.HashSet<java.lang.String> copied
      • couldNotFind

        java.util.HashSet<java.lang.String> couldNotFind
      • couldNotCreate

        java.util.HashSet<java.lang.String> couldNotCreate
      • copyCount

        int copyCount
      • dstFile

        java.io.File dstFile
    • Constructor Detail

      • CopyBuggySource

        public CopyBuggySource​(java.lang.String[] args)
                        throws java.lang.Exception
        Throws:
        java.lang.Exception
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • copySourceFile

        private void copySourceFile​(java.lang.String fullName,
                                    SourceFile sourceFile)
      • copySourceForAnnotation

        private void copySourceForAnnotation​(BugAnnotation ann)
      • execute

        public void execute()
                     throws java.io.IOException
        Throws:
        java.io.IOException
      • getOutputStream

        @CheckForNull
        private java.io.OutputStream getOutputStream​(java.lang.String fullName,
                                                     long lastModifiedTime)
                                              throws java.io.IOException
        Throws:
        java.io.IOException
      • close

        public static void close​(java.io.InputStream in)
      • close

        public static void close​(java.io.OutputStream out)