X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ce2a02a088fe07b61de72c882d6e6a1f620d573b..0ec9023d3fcc96b110d4b7a4c3b16cdbb6e827c0:/examples/java/dht/chord/Common.java diff --git a/examples/java/dht/chord/Common.java b/examples/java/dht/chord/Common.java index 25672cd466..08e312666c 100644 --- a/examples/java/dht/chord/Common.java +++ b/examples/java/dht/chord/Common.java @@ -7,15 +7,18 @@ package dht.chord; public class Common { - public final static int COMM_SIZE = 10; - public final static int COMP_SIZE = 0; + public static final int COMM_SIZE = 10; + public static final int COMP_SIZE = 0; - public final static int NB_BITS = 24; - public final static int NB_KEYS = 16777216; - public final static int TIMEOUT = 50; - public final static int MAX_SIMULATION_TIME = 1000; - public final static int PERIODIC_STABILIZE_DELAY = 20; - public final static int PERIODIC_FIX_FINGERS_DELAY = 120; - public final static int PERIODIC_CHECK_PREDECESSOR_DELAY = 120; - public final static int PERIODIC_LOOKUP_DELAY = 10; + public static final int NB_BITS = 24; + public static final int NB_KEYS = 16777216; + public static final int TIMEOUT = 50; + public static final int MAX_SIMULATION_TIME = 1000; + public static final int PERIODIC_STABILIZE_DELAY = 20; + public static final int PERIODIC_FIX_FINGERS_DELAY = 120; + public static final int PERIODIC_CHECK_PREDECESSOR_DELAY = 120; + public static final int PERIODIC_LOOKUP_DELAY = 10; + private Common() { + throw new IllegalAccessError("Utility class"); + } }