java/src/org/openantivirus/engine/vfs VfsEntry.java,1.2,1.3

Kurt Huwig <[email protected]> Sat, 22 May 2004 12:22:29 +0000
Newsgroups gmane.comp.security.virus.openantivirus.cvs
Message-ID <[email protected]>
Update of /cvsroot/openantivirus/java/src/org/openantivirus/engine/vfs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9747/src/org/openantivirus/engine/vfs

Modified Files:
	VfsEntry.java 
Log Message:
Bugfix: some patterns were not detected due to bad optimizing
Speed improvements on multipart patterns

Index: VfsEntry.java
===================================================================
RCS file: /cvsroot/openantivirus/java/src/org/openantivirus/engine/vfs/VfsEntry.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- VfsEntry.java	20 May 2004 13:04:49 -0000	1.2
+++ VfsEntry.java	22 May 2004 12:22:26 -0000	1.3
@@ -27,7 +27,6 @@
 package org.openantivirus.engine.vfs;
 
 import java.io.*;
-import java.util.*;
 
 /**
  * An entry in the vfs
@@ -38,8 +37,8 @@
  */
 public abstract class VfsEntry {
     public static final int MAX_START_SIZE = 4096;
-    
-    public Map attributes = new HashMap();
+
+    public int[] foundParts;
     
     /** @return File this entry represents */
     public abstract File getFile() throws IOException;



-------------------------------------------------------
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