From dc1ff679f5644804d01ab0a43eb98816d2d2cfed Mon Sep 17 00:00:00 2001 From: mdb Date: Thu, 23 Jun 2005 21:45:19 +0000 Subject: [PATCH] Properly format inadvertently checked in test code. git-svn-id: https://samskivert.googlecode.com/svn/trunk@1662 6335cc39-0255-0410-8fd6-9bcaacd3b74c --- .../src/java/com/samskivert/util/KeyUtil.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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"; }