|
From: <sa...@us...> - 2003-12-09 12:22:07
|
Update of /cvsroot/jrobin/src/org/jrobin/mrtg
In directory sc8-pr-cvs1:/tmp/cvs-serv13997/org/jrobin/mrtg
Modified Files:
Debug.java MrtgConstants.java MrtgException.java
Log Message:
Minor changes
Index: Debug.java
===================================================================
RCS file: /cvsroot/jrobin/src/org/jrobin/mrtg/Debug.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Debug.java 10 Nov 2003 08:52:28 -0000 1.2
--- Debug.java 9 Dec 2003 12:22:03 -0000 1.3
***************
*** 33,38 ****
* To change this template use Options | File Templates.
*/
! public class Debug {
! static final boolean DEBUG = false;
public static void print(String msg) {
--- 33,37 ----
* To change this template use Options | File Templates.
*/
! public class Debug implements MrtgConstants {
public static void print(String msg) {
Index: MrtgConstants.java
===================================================================
RCS file: /cvsroot/jrobin/src/org/jrobin/mrtg/MrtgConstants.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** MrtgConstants.java 10 Nov 2003 08:52:28 -0000 1.2
--- MrtgConstants.java 9 Dec 2003 12:22:03 -0000 1.3
***************
*** 27,30 ****
--- 27,36 ----
public interface MrtgConstants {
+ boolean DEBUG = false;
+
int SERVER_PORT = 35353;
+
+ int SCHEDULER_RESOLUTION = 3; // run Scheduler each 3 seconds
+
+ int GRAPH_WIDTH = 502, GRAPH_HEIGHT = 234;
}
Index: MrtgException.java
===================================================================
RCS file: /cvsroot/jrobin/src/org/jrobin/mrtg/MrtgException.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** MrtgException.java 10 Nov 2003 08:52:28 -0000 1.4
--- MrtgException.java 9 Dec 2003 12:22:03 -0000 1.5
***************
*** 27,30 ****
--- 27,31 ----
public class MrtgException extends Exception {
+
public MrtgException(String cause) {
super(cause);
|