ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/server/uk/org/iscream/cms/server/filter/plugins/EnforceEssentialData__Plugin.java
(Generate patch)

Comparing projects/cms/source/server/uk/org/iscream/cms/server/filter/plugins/EnforceEssentialData__Plugin.java (file contents):
Revision 1.4 by tdb, Thu Jan 18 23:23:14 2001 UTC vs.
Revision 1.5 by tdb, Fri Jan 19 00:08:04 2001 UTC

# Line 24 | Line 24 | public class EnforceEssentialData__Plugin implements P
24       */
25      public final String REVISION = "$Revision$";
26      
27 <    public final String DESC = "Rejects packets that do not have an ip, machine_name, seq_no and date specified as attributes of the root packet tag.";
27 >    public final String DESC = "Rejects packets that do not have an ip, machine_name, seq_no, date and type specified as attributes of the root packet tag.";
28      
29   //---STATIC METHODS---
30  
# Line 39 | Line 39 | public class EnforceEssentialData__Plugin implements P
39          if (packet.getParam("packet.attributes.machine_name") == null
40                  || packet.getParam("packet.attributes.ip") == null
41                  || packet.getParam("packet.attributes.seq_no") == null
42 <                || packet.getParam("packet.attributes.date") == null){
42 >                || packet.getParam("packet.attributes.date") == null
43 >                || packet.getParam("packet.attributes.type") == null){
44              return false;
45          }
46          

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines