Mercurial > dive4elements > river
diff flys-artifacts/src/main/java/de/intevation/flys/utils/ThemeUtil.java @ 3155:74c974b10c75
Output code to trackdown the linecolor problem
flys-artifacts/trunk@4767 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Christian Lins <christian.lins@intevation.de> |
---|---|
date | Sun, 24 Jun 2012 06:51:05 +0000 |
parents | 1d79c85bd8c2 |
children | 8c78c707aa2d |
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/utils/ThemeUtil.java Sat Jun 23 18:15:17 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/utils/ThemeUtil.java Sun Jun 24 06:51:05 2012 +0000 @@ -193,7 +193,7 @@ public static Color parsePointColor(Document theme) { String color = XMLUtils.xpathString(theme, XPATH_POINT_COLOR, null); - + logger.debug("parsePointColor(): color = " + color); return parseColor(color); } @@ -596,7 +596,10 @@ * @return color. */ public static Color parseLineColorField(Document theme) { - return parseRGB(getLineColorString(theme)); + String lineColorStr = getLineColorString(theme); + logger.debug("parseLineColorField: lineColorStr = " + + (lineColorStr == null ? "null" : lineColorStr)); + return parseRGB(lineColorStr); }