From 58819cf43db7a41bf260082c0bb15187f17c8ff3 Mon Sep 17 00:00:00 2001 From: dchandler Date: Mon, 22 Aug 2005 22:42:40 +0000 Subject: [PATCH] Now works with JDK < 1.4. --- source/org/thdl/tib/text/reverter/GC.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/org/thdl/tib/text/reverter/GC.java b/source/org/thdl/tib/text/reverter/GC.java index ed4939a..d71166a 100644 --- a/source/org/thdl/tib/text/reverter/GC.java +++ b/source/org/thdl/tib/text/reverter/GC.java @@ -87,7 +87,7 @@ class GC { + UnicodeUtils.unicodeStringToPrettyString(nfthdl)); } this.nfthdl = nfthdl; - assert (nfthdl.length() > 0); + ThdlDebug.verify(nfthdl.length() > 0); // TODO(dchandler): assert only if (nfthdl.length() < 1) valid = false; valid = validGcRegex.matcher(nfthdl).matches();