diff --git a/projects/samskivert/src/java/com/samskivert/util/KeyUtil.java b/projects/samskivert/src/java/com/samskivert/util/KeyUtil.java index 31001b2c..a00ec9cd 100644 --- a/projects/samskivert/src/java/com/samskivert/util/KeyUtil.java +++ b/projects/samskivert/src/java/com/samskivert/util/KeyUtil.java @@ -79,14 +79,6 @@ public class KeyUtil return (rem == 0 ? prekey : key + (10 - rem)); } - public static void main (String[] args) { - - String base = "888888888888888888"; - for (int ii = 0; ii < 10; ii++) { - System.out.println(makeLuhnVerifiable(base + ii)); - } - } - /** * Return the luhn remainder for the given key. * @@ -108,6 +100,14 @@ public class KeyUtil return sum % 10; } + public static void main (String[] args) + { + String base = "888888888888888888"; + for (int ii = 0; ii < 10; ii++) { + System.out.println(makeLuhnVerifiable(base + ii)); + } + } + /** Characters used in creating key strings. */ protected static String KEY_CHARS = "0123456789"; }