Package edu.umd.cs.findbugs.workflow
Class CopyBuggySource
java.lang.Object
edu.umd.cs.findbugs.workflow.CopyBuggySource
Java main application to compute update a historical bug collection with
results from another build/analysis.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescription(package private) byte[]
(package private) int
(package private) File
(package private) CopyBuggySource.SrcKind
(package private) SortedBugCollection
(package private) Project
(package private) SourceFinder
(package private) File
private static final String
(package private) ZipOutputStream
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
close
(InputStream in) static void
close
(OutputStream out) private void
copySourceFile
(String fullName, SourceFile sourceFile) private void
void
execute()
private OutputStream
getOutputStream
(String fullName, long lastModifiedTime) static void
-
Field Details
-
USAGE
- See Also:
-
origCollection
SortedBugCollection origCollection -
src
File src -
kind
-
zOut
ZipOutputStream zOut -
buf
byte[] buf -
project
Project project -
sourceFinder
SourceFinder sourceFinder -
copied
-
couldNotFind
-
couldNotCreate
-
copyCount
int copyCount -
dstFile
File dstFile
-
-
Constructor Details
-
CopyBuggySource
- Throws:
Exception
-
-
Method Details
-
main
- Throws:
Exception
-
copySourceFile
-
copySourceForAnnotation
-
execute
- Throws:
IOException
-
getOutputStream
@CheckForNull private OutputStream getOutputStream(String fullName, long lastModifiedTime) throws IOException - Throws:
IOException
-
close
-
close
-