java/src/org/openantivirus/engine ScanEngine.java,1.2,1.3
Kurt Huwig <[email protected]>
| Newsgroups | gmane.comp.security.virus.openantivirus.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/openantivirus/java/src/org/openantivirus/engine
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20313/src/org/openantivirus/engine
Modified Files:
ScanEngine.java
Log Message:
Removed unused imports
Fixed problems found by FindBugs
Index: ScanEngine.java
===================================================================
RCS file: /cvsroot/openantivirus/java/src/org/openantivirus/engine/ScanEngine.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- ScanEngine.java 14 Dec 2003 20:24:58 -0000 1.2
+++ ScanEngine.java 1 May 2004 14:36:10 -0000 1.3
@@ -126,7 +126,7 @@
} catch (MalwareFoundException mfe) {
notifyMalwareFound(mfe);
if (conf.getBoolean(
- DefaultScanConfiguration.HALT_ON_VIRUS_FOUND)) {
+ ScanConfiguration.HALT_ON_VIRUS_FOUND)) {
throw mfe;
}
} catch (Exception e) {
@@ -180,7 +180,7 @@
}
}
} finally {
- if (containerFound) {
+ if (containerFound && container != null) {
try {
container.dispose();
} catch (IOException ioe) {
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click