From fb45a814d4425987469bd5d9afa82b940d6bd35a Mon Sep 17 00:00:00 2001 From: Nick Burch Date: Thu, 8 May 2014 14:46:43 +0000 Subject: [PATCH] Fix inconsistent indents git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1593297 13f79535-47bb-0310-9956-ffa450edef68 --- .../poi/hsmf/datatypes/PropertiesChunk.java | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/scratchpad/src/org/apache/poi/hsmf/datatypes/PropertiesChunk.java b/src/scratchpad/src/org/apache/poi/hsmf/datatypes/PropertiesChunk.java index 18a5ae7303..8972220d92 100644 --- a/src/scratchpad/src/org/apache/poi/hsmf/datatypes/PropertiesChunk.java +++ b/src/scratchpad/src/org/apache/poi/hsmf/datatypes/PropertiesChunk.java @@ -194,35 +194,35 @@ public abstract class PropertiesChunk extends Chunk { // Skip over any padding if (length < 8) { - byte[] padding = new byte[8-length]; - IOUtils.readFully(value, padding); + byte[] padding = new byte[8-length]; + IOUtils.readFully(value, padding); } // Wrap and store PropertyValue propVal = null; if (isPointer) { - // We'll match up the chunk later - propVal = new ChunkBasedPropertyValue(prop, flags, data); + // We'll match up the chunk later + propVal = new ChunkBasedPropertyValue(prop, flags, data); } else if (type == Types.SHORT) { propVal = new ShortPropertyValue(prop, flags, data); - } + } else if (type == Types.LONG) { propVal = new LongPropertyValue(prop, flags, data); - } + } else if (type == Types.LONG_LONG) { - propVal = new LongLongPropertyValue(prop, flags, data); + propVal = new LongLongPropertyValue(prop, flags, data); } else if (type == Types.TIME) { - propVal = new TimePropertyValue(prop, flags, data); + propVal = new TimePropertyValue(prop, flags, data); } // TODO Add in the rest of the types else { - propVal = new PropertyValue(prop, flags, data); + propVal = new PropertyValue(prop, flags, data); } if (properties.get(prop) == null) { - properties.put(prop, new ArrayList()); + properties.put(prop, new ArrayList()); } properties.get(prop).add(propVal); } catch (BufferUnderrunException e) { -- 2.39.5