From: <ssk...@vh...> - 2006-04-10 10:17:37
|
Author: sskracic Date: 2006-04-10 12:15:35 +0200 (Mon, 10 Apr 2006) New Revision: 1108 Modified: trunk/ccm-ldn-atoz/src/com/arsdigita/london/atoz/AtoZSiteProxyGenerator.java Log: JDK 1.5 (or is it Java 5?) compile fix. Modified: trunk/ccm-ldn-atoz/src/com/arsdigita/london/atoz/AtoZSiteProxyGenerator.java =================================================================== --- trunk/ccm-ldn-atoz/src/com/arsdigita/london/atoz/AtoZSiteProxyGenerator.java 2006-03-29 14:40:02 UTC (rev 1107) +++ trunk/ccm-ldn-atoz/src/com/arsdigita/london/atoz/AtoZSiteProxyGenerator.java 2006-04-10 10:15:35 UTC (rev 1108) @@ -157,7 +157,7 @@ AtoZCategoriesCompoundEntry compoundEntry = null; while (entries.next()) { /* on category change add previous compoundEntry and create new one */ - if (previousCatId.compareTo(entries.get("categoryId")) != 0) { + if (previousCatId.compareTo( (BigDecimal) entries.get("categoryId")) != 0) { if ((compoundEntry != null) && (compoundEntry.entries.size() > 0)) list.add(compoundEntry); |