poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n...@apache.org
Subject svn commit: r1593297 - /poi/trunk/src/scratchpad/src/org/apache/poi/hsmf/datatypes/PropertiesChunk.java
Date Thu, 08 May 2014 14:46:44 GMT
Author: nick
Date: Thu May  8 14:46:43 2014
New Revision: 1593297

URL: http://svn.apache.org/r1593297
Log:
Fix inconsistent indents

Modified:
    poi/trunk/src/scratchpad/src/org/apache/poi/hsmf/datatypes/PropertiesChunk.java

Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hsmf/datatypes/PropertiesChunk.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hsmf/datatypes/PropertiesChunk.java?rev=1593297&r1=1593296&r2=1593297&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hsmf/datatypes/PropertiesChunk.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hsmf/datatypes/PropertiesChunk.java Thu May
 8 14:46:43 2014
@@ -194,35 +194,35 @@ public abstract class PropertiesChunk ex
             
             // 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<PropertyValue>());
+                properties.put(prop, new ArrayList<PropertyValue>());
             }
             properties.get(prop).add(propVal);
          } catch (BufferUnderrunException e) {



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message