Mercurial > hg > digilib-old
comparison servlet/src/digilib/Utils.java @ 87:5d44cd2481a5
New version 1.8b4.
Utils without static debuglevel.
author | robcast |
---|---|
date | Mon, 17 Mar 2003 15:23:17 +0100 |
parents | d493563ef672 |
children |
comparison
equal
deleted
inserted
replaced
86:997ba69afb81 | 87:5d44cd2481a5 |
---|---|
20 | 20 |
21 package digilib; | 21 package digilib; |
22 | 22 |
23 public class Utils { | 23 public class Utils { |
24 | 24 |
25 private int debugLevel = 10; | |
26 | |
25 public Utils() { | 27 public Utils() { |
26 } | 28 } |
27 | 29 |
28 public Utils(int dbg) { | 30 public Utils(int dbg) { |
29 debugLevel = dbg; | 31 debugLevel = dbg; |
30 } | 32 } |
31 | 33 |
32 public static int debugLevel = 10; | |
33 public void setDebugLevel(int lvl) { | 34 public void setDebugLevel(int lvl) { |
34 debugLevel = lvl; | 35 debugLevel = lvl; |
35 } | 36 } |
36 public int getDebugLevel() { | 37 public int getDebugLevel() { |
37 return debugLevel; | 38 return debugLevel; |