java/src/org/openantivirus/engine/credo CredoParser.java,1.2,1.3 CredoEntry.java,1.1,1.2
Kurt Huwig <[email protected]> Sat, 03 Sep 2005 16:16:42 +0000
| Newsgroups | gmane.comp.security.virus.openantivirus.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/openantivirus/java/src/org/openantivirus/engine/credo
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28211/src/org/openantivirus/engine/credo
Modified Files:
CredoParser.java CredoEntry.java
Log Message:
Code cleanup
Index: CredoEntry.java
===================================================================
RCS file: /cvsroot/openantivirus/java/src/org/openantivirus/engine/credo/CredoEntry.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- CredoEntry.java 14 Dec 2003 11:08:26 -0000 1.1
+++ CredoEntry.java 3 Sep 2005 16:16:40 -0000 1.2
@@ -65,7 +65,7 @@
/**
* @return InputStream of the entry's content
*/
- public InputStream getInputStream() throws IOException {
+ public InputStream getInputStream() {
return jarInputStream;
}
Index: CredoParser.java
===================================================================
RCS file: /cvsroot/openantivirus/java/src/org/openantivirus/engine/credo/CredoParser.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- CredoParser.java 19 May 2004 07:33:40 -0000 1.2
+++ CredoParser.java 3 Sep 2005 16:16:40 -0000 1.3
@@ -105,9 +105,9 @@
throw new CredoException("Minimum Credo-level "
+ verifyLevel + " > actual Credo-level "
+ credoLevel);
- } else {
- System.out.println(" verified Credo-level " + credoLevel);
}
+
+ System.out.println(" verified Credo-level " + credoLevel);
}
}
}
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf