ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/reports/DBReporter/ReportPage.java
(Generate patch)

Comparing projects/cms/source/reports/DBReporter/ReportPage.java (file contents):
Revision 1.1 by pjm2, Mon Dec 11 21:26:46 2000 UTC vs.
Revision 1.8 by pjm2, Sun Jan 7 13:49:54 2001 UTC

# Line 17 | Line 17 | public class ReportPage {
17       */
18      public final String REVISION = "$Revision$";
19      
20 +    public static final int HOUR = 0;
21 +    public static final int DAY = 1;
22 +    public static final int WEEK = 2;
23 +    public static final int MONTH = 3;
24 +    
25 +    
26   //---STATIC METHODS---
27  
28   //---CONSTRUCTORS---
29  
30      public ReportPage(String location, String description, int type){
31          
32 <        if (type < 0 || type > 3){
32 >        if (type < HOUR || type > MONTH){
33              System.out.println("Could not add the page.");
34          }
35          
# Line 70 | Line 76 | public class ReportPage {
76      private int _type;
77  
78   //---STATIC ATTRIBUTES---
73    
74    public static int HOUR = 0;
75    public static int DAY = 1;
76    public static int WEEK = 2;
77    public static int MONTH = 3;
79      
80   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines