Author: damjan Date: Sat Sep 3 11:06:25 2016 New Revision: 1759076 URL: http://svn.apache.org/viewvc?rev=1759076&view=rev Log: Fix indentation.
Modified: commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/xbm/XbmImageParser.java Modified: commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/xbm/XbmImageParser.java URL: http://svn.apache.org/viewvc/commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/xbm/XbmImageParser.java?rev=1759076&r1=1759075&r2=1759076&view=diff ============================================================================== --- commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/xbm/XbmImageParser.java (original) +++ commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/xbm/XbmImageParser.java Sat Sep 3 11:06:25 2016 @@ -149,17 +149,17 @@ public class XbmImageParser extends Imag int xHot = -1; int yHot = -1; for (final Entry<String, String> entry : defines.entrySet()) { - final String name = entry.getKey(); - if (name.endsWith("_width")) { - width = Integer.parseInt(entry.getValue()); - } else if (name.endsWith("_height")) { - height = Integer.parseInt(entry.getValue()); - } else if (name.endsWith("_x_hot")) { - xHot = Integer.parseInt(entry.getValue()); - } else if (name.endsWith("_y_hot")) { - yHot = Integer.parseInt(entry.getValue()); - } - } + final String name = entry.getKey(); + if (name.endsWith("_width")) { + width = Integer.parseInt(entry.getValue()); + } else if (name.endsWith("_height")) { + height = Integer.parseInt(entry.getValue()); + } else if (name.endsWith("_x_hot")) { + xHot = Integer.parseInt(entry.getValue()); + } else if (name.endsWith("_y_hot")) { + yHot = Integer.parseInt(entry.getValue()); + } + } if (width == -1) { throw new ImageReadException("width not found"); }