projects
/
cfb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add code to load bug categories and patterns from the FindBugs messages.xml file.
[cfb.git]
/
prod
/
net
/
jaekl
/
cfb
/
analyze
/
Analysis.java
diff --git
a/prod/net/jaekl/cfb/analyze/Analysis.java
b/prod/net/jaekl/cfb/analyze/Analysis.java
index ab9fffbe798e90b8d23d52a3347008ec931316e3..e2f090f32b0245c701532c27606d2c7b01c0d979 100644
(file)
--- a/
prod/net/jaekl/cfb/analyze/Analysis.java
+++ b/
prod/net/jaekl/cfb/analyze/Analysis.java
@@
-5,6
+5,7
@@
package net.jaekl.cfb.analyze;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.PrintWriter;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.PrintWriter;
+import java.util.Date;
import net.jaekl.cfb.xml.BugCollection;
import net.jaekl.qd.xml.ParseErrorHandler;
import net.jaekl.cfb.xml.BugCollection;
import net.jaekl.qd.xml.ParseErrorHandler;
@@
-17,9
+18,13
@@
import org.xml.sax.helpers.XMLReaderFactory;
public class Analysis {
BugCollection m_bugCollection;
public class Analysis {
BugCollection m_bugCollection;
+ String m_buildNumber;
+ Date m_date; // Date/time when analysis was started
- public Analysis() {
+ public Analysis(
String buildNumber
) {
m_bugCollection = null;
m_bugCollection = null;
+ m_buildNumber = buildNumber;
+ m_date = new Date();
}
public BugCollection getBugCollection() { return m_bugCollection; }
}
public BugCollection getBugCollection() { return m_bugCollection; }