aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/contrib/src/org/apache/poi/contrib/poibrowser/Codec.java4
-rw-r--r--src/contrib/src/org/apache/poi/contrib/poibrowser/DocumentDescriptor.java6
-rw-r--r--src/contrib/src/org/apache/poi/contrib/poibrowser/DocumentDescriptorRenderer.java4
-rw-r--r--src/contrib/src/org/apache/poi/contrib/poibrowser/ExtendableTreeCellRenderer.java4
-rw-r--r--src/contrib/src/org/apache/poi/contrib/poibrowser/POIBrowser.java4
-rw-r--r--src/contrib/src/org/apache/poi/contrib/poibrowser/PropertySetDescriptor.java4
-rw-r--r--src/contrib/src/org/apache/poi/contrib/poibrowser/PropertySetDescriptorRenderer.java4
-rw-r--r--src/contrib/src/org/apache/poi/contrib/poibrowser/TreeReaderListener.java2
-rw-r--r--src/contrib/src/org/apache/poi/contrib/poibrowser/Util.java15
-rw-r--r--src/examples/src/org/apache/poi/hpsf/examples/CopyCompare.java4
-rw-r--r--src/examples/src/org/apache/poi/hpsf/examples/ModifyDocumentSummaryInformation.java5
-rw-r--r--src/examples/src/org/apache/poi/hpsf/examples/ReadCustomPropertySets.java5
-rw-r--r--src/examples/src/org/apache/poi/hpsf/examples/ReadTitle.java5
-rw-r--r--src/examples/src/org/apache/poi/hpsf/examples/WriteAuthorAndTitle.java4
-rw-r--r--src/examples/src/org/apache/poi/hpsf/examples/WriteTitle.java5
-rw-r--r--src/java/org/apache/poi/ddf/EscherBitmapBlip.java34
-rw-r--r--src/java/org/apache/poi/hpsf/ClassID.java4
-rw-r--r--src/java/org/apache/poi/hpsf/Constants.java2
-rw-r--r--src/java/org/apache/poi/hpsf/CustomProperties.java4
-rw-r--r--src/java/org/apache/poi/hpsf/CustomProperty.java4
-rw-r--r--src/java/org/apache/poi/hpsf/DocumentSummaryInformation.java4
-rw-r--r--src/java/org/apache/poi/hpsf/HPSFException.java4
-rw-r--r--src/java/org/apache/poi/hpsf/HPSFRuntimeException.java4
-rw-r--r--src/java/org/apache/poi/hpsf/IllegalPropertySetDataException.java4
-rw-r--r--src/java/org/apache/poi/hpsf/IllegalVariantTypeException.java4
-rw-r--r--src/java/org/apache/poi/hpsf/MarkUnsupportedException.java4
-rw-r--r--src/java/org/apache/poi/hpsf/MissingSectionException.java4
-rw-r--r--src/java/org/apache/poi/hpsf/MutableProperty.java4
-rw-r--r--src/java/org/apache/poi/hpsf/MutablePropertySet.java6
-rw-r--r--src/java/org/apache/poi/hpsf/MutableSection.java5
-rw-r--r--src/java/org/apache/poi/hpsf/NoFormatIDException.java4
-rw-r--r--src/java/org/apache/poi/hpsf/NoPropertySetStreamException.java5
-rw-r--r--src/java/org/apache/poi/hpsf/NoSingleSectionException.java4
-rw-r--r--src/java/org/apache/poi/hpsf/Property.java4
-rw-r--r--src/java/org/apache/poi/hpsf/PropertySet.java4
-rw-r--r--src/java/org/apache/poi/hpsf/PropertySetFactory.java4
-rw-r--r--src/java/org/apache/poi/hpsf/ReadingNotSupportedException.java4
-rw-r--r--src/java/org/apache/poi/hpsf/Section.java4
-rw-r--r--src/java/org/apache/poi/hpsf/SpecialPropertySet.java4
-rw-r--r--src/java/org/apache/poi/hpsf/SummaryInformation.java2
-rw-r--r--src/java/org/apache/poi/hpsf/Thumbnail.java4
-rw-r--r--src/java/org/apache/poi/hpsf/TypeWriter.java4
-rw-r--r--src/java/org/apache/poi/hpsf/UnexpectedPropertySetTypeException.java4
-rw-r--r--src/java/org/apache/poi/hpsf/UnsupportedVariantTypeException.java4
-rw-r--r--src/java/org/apache/poi/hpsf/Util.java4
-rw-r--r--src/java/org/apache/poi/hpsf/Variant.java4
-rw-r--r--src/java/org/apache/poi/hpsf/VariantSupport.java2
-rw-r--r--src/java/org/apache/poi/hpsf/VariantTypeException.java4
-rw-r--r--src/java/org/apache/poi/hpsf/WritingNotSupportedException.java4
-rw-r--r--src/java/org/apache/poi/hpsf/wellknown/PropertyIDMap.java7
-rw-r--r--src/java/org/apache/poi/hpsf/wellknown/SectionIDMap.java7
-rw-r--r--src/java/org/apache/poi/util/ArrayUtil.java1
-rw-r--r--src/testcases/org/apache/poi/hpsf/basic/AllDataFilesTester.java7
-rw-r--r--src/testcases/org/apache/poi/hpsf/basic/POIFile.java6
-rw-r--r--src/testcases/org/apache/poi/hpsf/basic/TestBasic.java5
-rw-r--r--src/testcases/org/apache/poi/hpsf/basic/TestEmptyProperties.java4
-rw-r--r--src/testcases/org/apache/poi/hpsf/basic/TestMetaDataIPI.java10
-rw-r--r--src/testcases/org/apache/poi/hpsf/basic/TestReadAllFiles.java37
-rw-r--r--src/testcases/org/apache/poi/hpsf/basic/TestUnicode.java39
-rw-r--r--src/testcases/org/apache/poi/hpsf/basic/TestWrite.java33
-rw-r--r--src/testcases/org/apache/poi/hpsf/basic/TestWriteWellKnown.java34
-rw-r--r--src/testcases/org/apache/poi/hpsf/basic/Util.java9
62 files changed, 68 insertions, 370 deletions
diff --git a/src/contrib/src/org/apache/poi/contrib/poibrowser/Codec.java b/src/contrib/src/org/apache/poi/contrib/poibrowser/Codec.java
index 83973ab6c8..213fbecac7 100644
--- a/src/contrib/src/org/apache/poi/contrib/poibrowser/Codec.java
+++ b/src/contrib/src/org/apache/poi/contrib/poibrowser/Codec.java
@@ -1,4 +1,3 @@
-
/* ====================================================================
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
@@ -15,7 +14,6 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
package org.apache.poi.contrib.poibrowser;
@@ -32,8 +30,6 @@ import org.apache.poi.hpsf.ClassID;
* data.</p>
*
* @author Rainer Klute (klute@rainer-klute.de) - with portions from Tomcat
- * @version $Id$
- * @since 2002-01-24
*/
public class Codec
{
diff --git a/src/contrib/src/org/apache/poi/contrib/poibrowser/DocumentDescriptor.java b/src/contrib/src/org/apache/poi/contrib/poibrowser/DocumentDescriptor.java
index 2fbcebee0f..4f33a59a07 100644
--- a/src/contrib/src/org/apache/poi/contrib/poibrowser/DocumentDescriptor.java
+++ b/src/contrib/src/org/apache/poi/contrib/poibrowser/DocumentDescriptor.java
@@ -1,4 +1,3 @@
-
/* ====================================================================
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
@@ -15,7 +14,6 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
package org.apache.poi.contrib.poibrowser;
@@ -26,10 +24,6 @@ import org.apache.poi.poifs.filesystem.*;
* <p>Describes the most important (whatever that is) features of a
* {@link POIFSDocument}.</p>
*
- * @author Rainer Klute (klute@rainer-klute.de)
- * @version $Id$
- * @since 2002-02-05
- * *
* @author Rainer Klute <a
* href="mailto:klute@rainer-klute.de">&lt;klute@rainer-klute.de&gt;</a>
*/
diff --git a/src/contrib/src/org/apache/poi/contrib/poibrowser/DocumentDescriptorRenderer.java b/src/contrib/src/org/apache/poi/contrib/poibrowser/DocumentDescriptorRenderer.java
index 74d0c54485..710d1bc051 100644
--- a/src/contrib/src/org/apache/poi/contrib/poibrowser/DocumentDescriptorRenderer.java
+++ b/src/contrib/src/org/apache/poi/contrib/poibrowser/DocumentDescriptorRenderer.java
@@ -1,4 +1,3 @@
-
/* ====================================================================
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
@@ -15,7 +14,6 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
package org.apache.poi.contrib.poibrowser;
@@ -30,8 +28,6 @@ import javax.swing.tree.*;
*
* @author Rainer Klute <a
* href="mailto:klute@rainer-klute.de">&lt;klute@rainer-klute.de&gt;</a>
- * @version $Id$
- * @since 2002-02-05
*/
public class DocumentDescriptorRenderer extends DefaultTreeCellRenderer
{
diff --git a/src/contrib/src/org/apache/poi/contrib/poibrowser/ExtendableTreeCellRenderer.java b/src/contrib/src/org/apache/poi/contrib/poibrowser/ExtendableTreeCellRenderer.java
index 04a5e3ce11..fc739a9a87 100644
--- a/src/contrib/src/org/apache/poi/contrib/poibrowser/ExtendableTreeCellRenderer.java
+++ b/src/contrib/src/org/apache/poi/contrib/poibrowser/ExtendableTreeCellRenderer.java
@@ -1,4 +1,3 @@
-
/* ====================================================================
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
@@ -15,7 +14,6 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
package org.apache.poi.contrib.poibrowser;
@@ -38,8 +36,6 @@ import java.util.*;
*
* @author Rainer Klute <a
* href="mailto:klute@rainer-klute.de">&lt;klute@rainer-klute.de&gt;</a>
- * @version $Id$
- * @since 2002-01-22
*/
public class ExtendableTreeCellRenderer implements TreeCellRenderer
{
diff --git a/src/contrib/src/org/apache/poi/contrib/poibrowser/POIBrowser.java b/src/contrib/src/org/apache/poi/contrib/poibrowser/POIBrowser.java
index 423606c496..416f135023 100644
--- a/src/contrib/src/org/apache/poi/contrib/poibrowser/POIBrowser.java
+++ b/src/contrib/src/org/apache/poi/contrib/poibrowser/POIBrowser.java
@@ -1,4 +1,3 @@
-
/* ====================================================================
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
@@ -15,7 +14,6 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
package org.apache.poi.contrib.poibrowser;
@@ -42,8 +40,6 @@ import org.apache.poi.poifs.eventfilesystem.POIFSReader;
*
* @author Rainer Klute <a
* href="mailto:klute@rainer-klute.de">&lt;klute@rainer-klute.de&gt;</a>
- * @version $Id$
- * @since 2002-01-19
*/
public class POIBrowser extends JFrame
{
diff --git a/src/contrib/src/org/apache/poi/contrib/poibrowser/PropertySetDescriptor.java b/src/contrib/src/org/apache/poi/contrib/poibrowser/PropertySetDescriptor.java
index 9c5490d4f5..96a43be106 100644
--- a/src/contrib/src/org/apache/poi/contrib/poibrowser/PropertySetDescriptor.java
+++ b/src/contrib/src/org/apache/poi/contrib/poibrowser/PropertySetDescriptor.java
@@ -1,4 +1,3 @@
-
/* ====================================================================
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
@@ -15,7 +14,6 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
package org.apache.poi.contrib.poibrowser;
@@ -34,8 +32,6 @@ import org.apache.poi.poifs.filesystem.POIFSDocumentPath;
* stream containing a {@link PropertySet}.</p>
*
* @author Rainer Klute (klute@rainer-klute.de)
- * @version $Id$
- * @since 2002-02-05
*/
public class PropertySetDescriptor extends DocumentDescriptor
{
diff --git a/src/contrib/src/org/apache/poi/contrib/poibrowser/PropertySetDescriptorRenderer.java b/src/contrib/src/org/apache/poi/contrib/poibrowser/PropertySetDescriptorRenderer.java
index 36dd94fb61..f50a3334b0 100644
--- a/src/contrib/src/org/apache/poi/contrib/poibrowser/PropertySetDescriptorRenderer.java
+++ b/src/contrib/src/org/apache/poi/contrib/poibrowser/PropertySetDescriptorRenderer.java
@@ -1,4 +1,3 @@
-
/* ====================================================================
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
@@ -15,7 +14,6 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
package org.apache.poi.contrib.poibrowser;
@@ -41,8 +39,6 @@ import org.apache.poi.hpsf.SummaryInformation;
*
* @author Rainer Klute <a
* href="mailto:klute@rainer-klute.de">&lt;klute@rainer-klute.de&gt;</a>
- * @version $Id$
- * @since 2002-02-05
*/
public class PropertySetDescriptorRenderer extends DocumentDescriptorRenderer
{
diff --git a/src/contrib/src/org/apache/poi/contrib/poibrowser/TreeReaderListener.java b/src/contrib/src/org/apache/poi/contrib/poibrowser/TreeReaderListener.java
index df9e996fbe..ec163b7bcf 100644
--- a/src/contrib/src/org/apache/poi/contrib/poibrowser/TreeReaderListener.java
+++ b/src/contrib/src/org/apache/poi/contrib/poibrowser/TreeReaderListener.java
@@ -56,8 +56,6 @@ import org.apache.poi.poifs.filesystem.POIFSDocumentPath;
*
* @author Rainer Klute <a
* href="mailto:klute@rainer-klute.de">&lt;klute@rainer-klute.de&gt;</a>
- * @version $Id$
- * @since 2002-01-24
*/
public class TreeReaderListener implements POIFSReaderListener
{
diff --git a/src/contrib/src/org/apache/poi/contrib/poibrowser/Util.java b/src/contrib/src/org/apache/poi/contrib/poibrowser/Util.java
index 04bdcae5e9..dcb1c51cce 100644
--- a/src/contrib/src/org/apache/poi/contrib/poibrowser/Util.java
+++ b/src/contrib/src/org/apache/poi/contrib/poibrowser/Util.java
@@ -1,4 +1,3 @@
-
/* ====================================================================
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
@@ -15,7 +14,6 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
package org.apache.poi.contrib.poibrowser;
@@ -28,24 +26,19 @@ import javax.swing.*;
*
* @author Rainer Klute <a
* href="mailto:klute@rainer-klute.de">&lt;klute@rainer-klute.de&gt;</a>
- * @version $Id$
- * @since 2002-01-25
*/
-public class Util
-{
+public class Util {
/**
* <p>Makes a Swing component inverted by swapping its foreground
* and background colors. Hint: Depending on your needs it might
* also be a good idea to call <tt>c.setOpaque(true)</tt>.</p>
*/
- public static void invert(final JComponent c)
- {
- final Color invBackground = c.getForeground();
- final Color invForeground = c.getBackground();
+ public static void invert(JComponent c) {
+ Color invBackground = c.getForeground();
+ Color invForeground = c.getBackground();
c.setBackground(invBackground);
c.setForeground(invForeground);
}
-
}
diff --git a/src/examples/src/org/apache/poi/hpsf/examples/CopyCompare.java b/src/examples/src/org/apache/poi/hpsf/examples/CopyCompare.java
index 79e4e24a97..1fb9d48ef2 100644
--- a/src/examples/src/org/apache/poi/hpsf/examples/CopyCompare.java
+++ b/src/examples/src/org/apache/poi/hpsf/examples/CopyCompare.java
@@ -14,7 +14,7 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
+
package org.apache.poi.hpsf.examples;
import java.io.ByteArrayInputStream;
@@ -72,8 +72,6 @@ import org.apache.poi.util.TempFile;
*
* @author Rainer Klute <a
* href="mailto:klute@rainer-klute.de">&lt;klute@rainer-klute.de&gt;</a>
- * @version $Id$
- * @since 2003-09-19
*/
public class CopyCompare
{
diff --git a/src/examples/src/org/apache/poi/hpsf/examples/ModifyDocumentSummaryInformation.java b/src/examples/src/org/apache/poi/hpsf/examples/ModifyDocumentSummaryInformation.java
index 43edebe26d..1636e9a8fc 100644
--- a/src/examples/src/org/apache/poi/hpsf/examples/ModifyDocumentSummaryInformation.java
+++ b/src/examples/src/org/apache/poi/hpsf/examples/ModifyDocumentSummaryInformation.java
@@ -14,7 +14,6 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
package org.apache.poi.hpsf.examples;
@@ -41,8 +40,6 @@ import org.apache.poi.poifs.filesystem.DocumentEntry;
import org.apache.poi.poifs.filesystem.DocumentInputStream;
import org.apache.poi.poifs.filesystem.POIFSFileSystem;
-
-
/**
* <p>This is a sample application showing how to easily modify properties in
* the summary information and in the document summary information. The
@@ -82,8 +79,6 @@ import org.apache.poi.poifs.filesystem.POIFSFileSystem;
*
* @author Rainer Klute <a
* href="mailto:klute@rainer-klute.de">klute@rainer-klute.de</a>
- * @since 2006-02-09
- * @version $Id: TestWrite.java 353637 2005-04-13 16:33:22Z klute $
*/
public class ModifyDocumentSummaryInformation
{
diff --git a/src/examples/src/org/apache/poi/hpsf/examples/ReadCustomPropertySets.java b/src/examples/src/org/apache/poi/hpsf/examples/ReadCustomPropertySets.java
index 021a5e9035..bf6bcd1f8f 100644
--- a/src/examples/src/org/apache/poi/hpsf/examples/ReadCustomPropertySets.java
+++ b/src/examples/src/org/apache/poi/hpsf/examples/ReadCustomPropertySets.java
@@ -1,4 +1,3 @@
-
/* ====================================================================
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
@@ -15,7 +14,7 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
+
package org.apache.poi.hpsf.examples;
import java.io.FileInputStream;
@@ -41,8 +40,6 @@ import org.apache.poi.util.HexDump;
*
* @author Rainer Klute <a
* href="mailto:klute@rainer-klute.de">&lt;klute@rainer-klute.de&gt;</a>
- * @version $Id$
- * @since 2003-02-01
*/
public class ReadCustomPropertySets
{
diff --git a/src/examples/src/org/apache/poi/hpsf/examples/ReadTitle.java b/src/examples/src/org/apache/poi/hpsf/examples/ReadTitle.java
index 71233657d3..c036d222b6 100644
--- a/src/examples/src/org/apache/poi/hpsf/examples/ReadTitle.java
+++ b/src/examples/src/org/apache/poi/hpsf/examples/ReadTitle.java
@@ -1,4 +1,3 @@
-
/* ====================================================================
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
@@ -15,7 +14,7 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
+
package org.apache.poi.hpsf.examples;
import java.io.FileInputStream;
@@ -36,8 +35,6 @@ import org.apache.poi.poifs.eventfilesystem.POIFSReaderListener;
*
* @author Rainer Klute <a
* href="mailto:klute@rainer-klute.de">&lt;klute@rainer-klute.de&gt;</a>
- * @version $Id$
- * @since 2003-02-01
*/
public class ReadTitle
{
diff --git a/src/examples/src/org/apache/poi/hpsf/examples/WriteAuthorAndTitle.java b/src/examples/src/org/apache/poi/hpsf/examples/WriteAuthorAndTitle.java
index 39e5c5150f..00749ab4d2 100644
--- a/src/examples/src/org/apache/poi/hpsf/examples/WriteAuthorAndTitle.java
+++ b/src/examples/src/org/apache/poi/hpsf/examples/WriteAuthorAndTitle.java
@@ -14,7 +14,7 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
+
package org.apache.poi.hpsf.examples;
import java.io.ByteArrayInputStream;
@@ -84,8 +84,6 @@ import org.apache.poi.poifs.filesystem.POIFSFileSystem;
*
* @author Rainer Klute <a
* href="mailto:klute@rainer-klute.de">&lt;klute@rainer-klute.de&gt;</a>
- * @version $Id$
- * @since 2003-09-01
*/
public class WriteAuthorAndTitle
{
diff --git a/src/examples/src/org/apache/poi/hpsf/examples/WriteTitle.java b/src/examples/src/org/apache/poi/hpsf/examples/WriteTitle.java
index 45a3dadba1..22e1f69cdd 100644
--- a/src/examples/src/org/apache/poi/hpsf/examples/WriteTitle.java
+++ b/src/examples/src/org/apache/poi/hpsf/examples/WriteTitle.java
@@ -1,4 +1,3 @@
-
/* ====================================================================
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
@@ -15,7 +14,7 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
+
package org.apache.poi.hpsf.examples;
import java.io.FileOutputStream;
@@ -38,8 +37,6 @@ import org.apache.poi.poifs.filesystem.POIFSFileSystem;
*
* @author Rainer Klute <a
* href="mailto:klute@rainer-klute.de">&lt;klute@rainer-klute.de&gt;</a>
- * @version $Id$
- * @since 2003-09-12
*/
public class WriteTitle
{
diff --git a/src/java/org/apache/poi/ddf/EscherBitmapBlip.java b/src/java/org/apache/poi/ddf/EscherBitmapBlip.java
index defbc9cb3b..57cdb3023a 100644
--- a/src/java/org/apache/poi/ddf/EscherBitmapBlip.java
+++ b/src/java/org/apache/poi/ddf/EscherBitmapBlip.java
@@ -1,19 +1,20 @@
-/*
-* Licensed to the Apache Software Foundation (ASF) under one or more
-* contributor license agreements. See the NOTICE file distributed with
-* this work for additional information regarding copyright ownership.
-* The ASF licenses this file to You under the Apache License, Version 2.0
-* (the "License"); you may not use this file except in compliance with
-* the License. You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
+/* ====================================================================
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+==================================================================== */
+
package org.apache.poi.ddf;
import org.apache.poi.util.HexDump;
@@ -23,7 +24,6 @@ import java.io.ByteArrayOutputStream;
/**
* @author Glen Stampoultzis
- * @version $Id$
*/
public class EscherBitmapBlip extends EscherBlipRecord {
public static final short RECORD_ID_JPEG = (short) 0xF018 + 5;
diff --git a/src/java/org/apache/poi/hpsf/ClassID.java b/src/java/org/apache/poi/hpsf/ClassID.java
index 7044aca0e8..dd623b8b77 100644
--- a/src/java/org/apache/poi/hpsf/ClassID.java
+++ b/src/java/org/apache/poi/hpsf/ClassID.java
@@ -14,7 +14,7 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
+
package org.apache.poi.hpsf;
import org.apache.poi.util.HexDump;
@@ -27,8 +27,6 @@ import org.apache.poi.util.HexDump;
*
* @author Rainer Klute <a
* href="mailto:klute@rainer-klute.de">&lt;klute@rainer-klute.de&gt;</a>
- * @version $Id$
- * @since 2002-02-09
*/
public class ClassID
{
diff --git a/src/java/org/apache/poi/hpsf/Constants.java b/src/java/org/apache/poi/hpsf/Constants.java
index a2a2f7b366..05bc2fd9a4 100644
--- a/src/java/org/apache/poi/hpsf/Constants.java
+++ b/src/java/org/apache/poi/hpsf/Constants.java
@@ -22,8 +22,6 @@ package org.apache.poi.hpsf;
*
* @author Rainer Klute <a
* href="mailto:klute@rainer-klute.de">&lt;klute@rainer-klute.de&gt;</a>
- * @since 2004-06-20
- * @version $Id$
*/
public class Constants
{
diff --git a/src/java/org/apache/poi/hpsf/CustomProperties.java b/src/java/org/apache/poi/hpsf/CustomProperties.java
index 420fc2f9bb..a4a9a7be09 100644
--- a/src/java/org/apache/poi/hpsf/CustomProperties.java
+++ b/src/java/org/apache/poi/hpsf/CustomProperties.java
@@ -47,12 +47,10 @@ import org.apache.poi.hpsf.wellknown.PropertyIDMap;
* unmodified) or whether one or more properties have been dropped.</p>
*
* <p>This class is not thread-safe; concurrent access to instances of this
- * class must be syncronized.</p>
+ * class must be synchronized.</p>
*
* @author Rainer Klute <a
* href="mailto:klute@rainer-klute.de">&lt;klute@rainer-klute.de&gt;</a>
- * @since 2006-02-09
- * @version $Id$
*/
public class CustomProperties extends HashMap
{
diff --git a/src/java/org/apache/poi/hpsf/CustomProperty.java b/src/java/org/apache/poi/hpsf/CustomProperty.java
index 4bd1f8e0f3..994adf7b6e 100644
--- a/src/java/org/apache/poi/hpsf/CustomProperty.java
+++ b/src/java/org/apache/poi/hpsf/CustomProperty.java
@@ -18,15 +18,13 @@
package org.apache.poi.hpsf;
/**
- * <p>This class represents custum properties in the document summary
+ * <p>This class represents custom properties in the document summary
* information stream. The difference to normal properties is that custom
* properties have an optional name. If the name is not <code>null</code> it
* will be maintained in the section's dictionary.</p>
*
* @author Rainer Klute <a
* href="mailto:klute@rainer-klute.de">&lt;klute@rainer-klute.de&gt;</a>
- * @since 2006-02-09
- * @version $Id$
*/
public class CustomProperty extends MutableProperty
{
diff --git a/src/java/org/apache/poi/hpsf/DocumentSummaryInformation.java b/src/java/org/apache/poi/hpsf/DocumentSummaryInformation.java
index 62c6127ee4..016870a9e4 100644
--- a/src/java/org/apache/poi/hpsf/DocumentSummaryInformation.java
+++ b/src/java/org/apache/poi/hpsf/DocumentSummaryInformation.java
@@ -14,7 +14,7 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
+
package org.apache.poi.hpsf;
import java.util.Iterator;
@@ -32,8 +32,6 @@ import org.apache.poi.hpsf.wellknown.SectionIDMap;
* @author Drew Varner (Drew.Varner closeTo sc.edu)
* @author robert_flaherty@hyperion.com
* @see SummaryInformation
- * @version $Id$
- * @since 2002-02-09
*/
public class DocumentSummaryInformation extends SpecialPropertySet
{
diff --git a/src/java/org/apache/poi/hpsf/HPSFException.java b/src/java/org/apache/poi/hpsf/HPSFException.java
index e8a8a574a9..f0f12dbc6c 100644
--- a/src/java/org/apache/poi/hpsf/HPSFException.java
+++ b/src/java/org/apache/poi/hpsf/HPSFException.java
@@ -14,7 +14,7 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
+
package org.apache.poi.hpsf;
/**
@@ -24,8 +24,6 @@ package org.apache.poi.hpsf;
*
* @author Rainer Klute <a
* href="mailto:klute@rainer-klute.de">&lt;klute@rainer-klute.de&gt;</a>
- * @version $Id$
- * @since 2002-02-09
*/
public class HPSFException extends Exception
{
diff --git a/src/java/org/apache/poi/hpsf/HPSFRuntimeException.java b/src/java/org/apache/poi/hpsf/HPSFRuntimeException.java
index 3f2419f7ef..79825ebf82 100644
--- a/src/java/org/apache/poi/hpsf/HPSFRuntimeException.java
+++ b/src/java/org/apache/poi/hpsf/HPSFRuntimeException.java
@@ -14,7 +14,7 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
+
package org.apache.poi.hpsf;
import java.io.PrintStream;
@@ -27,8 +27,6 @@ import java.io.PrintWriter;
*
* @author Rainer Klute <a
* href="mailto:klute@rainer-klute.de">&lt;klute@rainer-klute.de&gt;</a>
- * @version $Id$
- * @since 2002-02-09
*/
public class HPSFRuntimeException extends RuntimeException
{
diff --git a/src/java/org/apache/poi/hpsf/IllegalPropertySetDataException.java b/src/java/org/apache/poi/hpsf/IllegalPropertySetDataException.java
index 2f6dde3933..3217af9580 100644
--- a/src/java/org/apache/poi/hpsf/IllegalPropertySetDataException.java
+++ b/src/java/org/apache/poi/hpsf/IllegalPropertySetDataException.java
@@ -14,7 +14,7 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
+
package org.apache.poi.hpsf;
/**
@@ -26,8 +26,6 @@ package org.apache.poi.hpsf;
* thrown.</p>
*
* @author Drew Varner(Drew.Varner atDomain sc.edu)
- * @version $Id$
- * @since 2002-05-26
*/
public class IllegalPropertySetDataException extends HPSFRuntimeException
{
diff --git a/src/java/org/apache/poi/hpsf/IllegalVariantTypeException.java b/src/java/org/apache/poi/hpsf/IllegalVariantTypeException.java
index 0292510665..f72bb44b2e 100644
--- a/src/java/org/apache/poi/hpsf/IllegalVariantTypeException.java
+++ b/src/java/org/apache/poi/hpsf/IllegalVariantTypeException.java
@@ -14,7 +14,7 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
+
package org.apache.poi.hpsf;
import org.apache.poi.util.HexDump;
@@ -25,8 +25,6 @@ import org.apache.poi.util.HexDump;
*
* @author Rainer Klute <a
* href="mailto:klute@rainer-klute.de">&lt;klute@rainer-klute.de&gt;</a>
- * @since 2004-06-21
- * @version $Id$
*/
public class IllegalVariantTypeException extends VariantTypeException
{
diff --git a/src/java/org/apache/poi/hpsf/MarkUnsupportedException.java b/src/java/org/apache/poi/hpsf/MarkUnsupportedException.java
index 1ff38f7566..c1c5dc8592 100644
--- a/src/java/org/apache/poi/hpsf/MarkUnsupportedException.java
+++ b/src/java/org/apache/poi/hpsf/MarkUnsupportedException.java
@@ -14,7 +14,7 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
+
package org.apache.poi.hpsf;
/**
@@ -23,8 +23,6 @@ package org.apache.poi.hpsf;
*
* @author Rainer Klute <a
* href="mailto:klute@rainer-klute.de">&lt;klute@rainer-klute.de&gt;</a>
- * @version $Id$
- * @since 2002-02-09
*/
public class MarkUnsupportedException extends HPSFException
{
diff --git a/src/java/org/apache/poi/hpsf/MissingSectionException.java b/src/java/org/apache/poi/hpsf/MissingSectionException.java
index ccef805f0b..35df686227 100644
--- a/src/java/org/apache/poi/hpsf/MissingSectionException.java
+++ b/src/java/org/apache/poi/hpsf/MissingSectionException.java
@@ -14,7 +14,7 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
+
package org.apache.poi.hpsf;
/**
@@ -26,8 +26,6 @@ package org.apache.poi.hpsf;
*
* @author Rainer Klute <a
* href="mailto:klute@rainer-klute.de">&lt;klute@rainer-klute.de&gt;</a>
- * @version $Id: NoSingleSectionException.java 353545 2004-04-09 13:05:39Z glens $
- * @since 2006-02-08
*/
public class MissingSectionException extends HPSFRuntimeException
{
diff --git a/src/java/org/apache/poi/hpsf/MutableProperty.java b/src/java/org/apache/poi/hpsf/MutableProperty.java
index 6128f61849..401ac232c8 100644
--- a/src/java/org/apache/poi/hpsf/MutableProperty.java
+++ b/src/java/org/apache/poi/hpsf/MutableProperty.java
@@ -14,7 +14,7 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
+
package org.apache.poi.hpsf;
import java.io.IOException;
@@ -28,8 +28,6 @@ import java.io.OutputStream;
*
* @author Rainer Klute <a
* href="mailto:klute@rainer-klute.de">&lt;klute@rainer-klute.de&gt;</a>
- * @since 2003-08-03
- * @version $Id$
*/
public class MutableProperty extends Property
{
diff --git a/src/java/org/apache/poi/hpsf/MutablePropertySet.java b/src/java/org/apache/poi/hpsf/MutablePropertySet.java
index 5ecbfeee3d..37c7b32f8b 100644
--- a/src/java/org/apache/poi/hpsf/MutablePropertySet.java
+++ b/src/java/org/apache/poi/hpsf/MutablePropertySet.java
@@ -14,7 +14,7 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
+
package org.apache.poi.hpsf;
import java.io.ByteArrayInputStream;
@@ -33,8 +33,6 @@ import org.apache.poi.poifs.filesystem.Entry;
import org.apache.poi.util.LittleEndian;
import org.apache.poi.util.LittleEndianConsts;
-
-
/**
* <p>Adds writing support to the {@link PropertySet} class.</p>
*
@@ -43,8 +41,6 @@ import org.apache.poi.util.LittleEndianConsts;
*
* @author Rainer Klute <a
* href="mailto:klute@rainer-klute.de">&lt;klute@rainer-klute.de&gt;</a>
- * @version $Id$
- * @since 2003-02-19
*/
public class MutablePropertySet extends PropertySet
{
diff --git a/src/java/org/apache/poi/hpsf/MutableSection.java b/src/java/org/apache/poi/hpsf/MutableSection.java
index 1ba4221e47..084896ff64 100644
--- a/src/java/org/apache/poi/hpsf/MutableSection.java
+++ b/src/java/org/apache/poi/hpsf/MutableSection.java
@@ -14,7 +14,7 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
+
package org.apache.poi.hpsf;
import java.io.ByteArrayOutputStream;
@@ -37,9 +37,6 @@ import org.apache.poi.util.LittleEndian;
*
* <p>Please be aware that this class' functionality will be merged into the
* {@link Section} class at a later time, so the API will change.</p>
- *
- * @version $Id$
- * @since 2002-02-20
*/
public class MutableSection extends Section
{
diff --git a/src/java/org/apache/poi/hpsf/NoFormatIDException.java b/src/java/org/apache/poi/hpsf/NoFormatIDException.java
index 2e9f8f85b9..507aab38a0 100644
--- a/src/java/org/apache/poi/hpsf/NoFormatIDException.java
+++ b/src/java/org/apache/poi/hpsf/NoFormatIDException.java
@@ -14,7 +14,7 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
+
package org.apache.poi.hpsf;
/**
@@ -25,8 +25,6 @@ package org.apache.poi.hpsf;
*
* @author Rainer Klute <a
* href="mailto:klute@rainer-klute.de">&lt;klute@rainer-klute.de&gt;</a>
- * @version $Id$
- * @since 2002-09-03
*/
public class NoFormatIDException extends HPSFRuntimeException
{
diff --git a/src/java/org/apache/poi/hpsf/NoPropertySetStreamException.java b/src/java/org/apache/poi/hpsf/NoPropertySetStreamException.java
index 4bf1f931e0..cd580fa287 100644
--- a/src/java/org/apache/poi/hpsf/NoPropertySetStreamException.java
+++ b/src/java/org/apache/poi/hpsf/NoPropertySetStreamException.java
@@ -1,4 +1,3 @@
-
/* ====================================================================
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
@@ -15,7 +14,7 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
+
package org.apache.poi.hpsf;
/**
@@ -27,8 +26,6 @@ package org.apache.poi.hpsf;
*
* @author Rainer Klute <a
* href="mailto:klute@rainer-klute.de">&lt;klute@rainer-klute.de&gt;</a>
- * @version $Id$
- * @since 2002-02-09
*/
public class NoPropertySetStreamException extends HPSFException
{
diff --git a/src/java/org/apache/poi/hpsf/NoSingleSectionException.java b/src/java/org/apache/poi/hpsf/NoSingleSectionException.java
index e2feb74f40..46aa332b19 100644
--- a/src/java/org/apache/poi/hpsf/NoSingleSectionException.java
+++ b/src/java/org/apache/poi/hpsf/NoSingleSectionException.java
@@ -14,7 +14,7 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
+
package org.apache.poi.hpsf;
/**
@@ -28,8 +28,6 @@ package org.apache.poi.hpsf;
*
* @author Rainer Klute <a
* href="mailto:klute@rainer-klute.de">&lt;klute@rainer-klute.de&gt;</a>
- * @version $Id$
- * @since 2002-02-09
*/
public class NoSingleSectionException extends HPSFRuntimeException
{
diff --git a/src/java/org/apache/poi/hpsf/Property.java b/src/java/org/apache/poi/hpsf/Property.java
index 16b4f7e41b..872f6931b8 100644
--- a/src/java/org/apache/poi/hpsf/Property.java
+++ b/src/java/org/apache/poi/hpsf/Property.java
@@ -14,7 +14,7 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
+
package org.apache.poi.hpsf;
import java.io.UnsupportedEncodingException;
@@ -56,8 +56,6 @@ import org.apache.poi.util.POILogger;
* @author Drew Varner (Drew.Varner InAndAround sc.edu)
* @see Section
* @see Variant
- * @version $Id$
- * @since 2002-02-09
*/
public class Property
{
diff --git a/src/java/org/apache/poi/hpsf/PropertySet.java b/src/java/org/apache/poi/hpsf/PropertySet.java
index b39ba08bfa..df918285cc 100644
--- a/src/java/org/apache/poi/hpsf/PropertySet.java
+++ b/src/java/org/apache/poi/hpsf/PropertySet.java
@@ -14,7 +14,7 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
+
package org.apache.poi.hpsf;
import java.io.IOException;
@@ -57,8 +57,6 @@ import org.apache.poi.util.LittleEndian;
* @author Rainer Klute <a
* href="mailto:klute@rainer-klute.de">&lt;klute@rainer-klute.de&gt;</a>
* @author Drew Varner (Drew.Varner hanginIn sc.edu)
- * @version $Id$
- * @since 2002-02-09
*/
public class PropertySet
{
diff --git a/src/java/org/apache/poi/hpsf/PropertySetFactory.java b/src/java/org/apache/poi/hpsf/PropertySetFactory.java
index 1cd3dcdaf7..3d2611e849 100644
--- a/src/java/org/apache/poi/hpsf/PropertySetFactory.java
+++ b/src/java/org/apache/poi/hpsf/PropertySetFactory.java
@@ -14,7 +14,7 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
+
package org.apache.poi.hpsf;
import java.io.InputStream;
@@ -30,8 +30,6 @@ import org.apache.poi.hpsf.wellknown.SectionIDMap;
*
* @author Rainer Klute <a
* href="mailto:klute@rainer-klute.de">&lt;klute@rainer-klute.de&gt;</a>
- * @version $Id$
- * @since 2002-02-09
*/
public class PropertySetFactory
{
diff --git a/src/java/org/apache/poi/hpsf/ReadingNotSupportedException.java b/src/java/org/apache/poi/hpsf/ReadingNotSupportedException.java
index f325543c01..a66dc7c4f4 100644
--- a/src/java/org/apache/poi/hpsf/ReadingNotSupportedException.java
+++ b/src/java/org/apache/poi/hpsf/ReadingNotSupportedException.java
@@ -14,7 +14,7 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
+
package org.apache.poi.hpsf;
/**
@@ -26,8 +26,6 @@ package org.apache.poi.hpsf;
*
* @author Rainer Klute <a
* href="mailto:klute@rainer-klute.de">&lt;klute@rainer-klute.de&gt;</a>
- * @since 2003-08-08
- * @version $Id$
*/
public class ReadingNotSupportedException
extends UnsupportedVariantTypeException
diff --git a/src/java/org/apache/poi/hpsf/Section.java b/src/java/org/apache/poi/hpsf/Section.java
index 76824e7b7e..147f2af7eb 100644
--- a/src/java/org/apache/poi/hpsf/Section.java
+++ b/src/java/org/apache/poi/hpsf/Section.java
@@ -14,7 +14,7 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
+
package org.apache.poi.hpsf;
import java.io.UnsupportedEncodingException;
@@ -34,8 +34,6 @@ import org.apache.poi.util.LittleEndian;
* @author Rainer Klute <a
* href="mailto:klute@rainer-klute.de">&lt;klute@rainer-klute.de&gt;</a>
* @author Drew Varner (Drew.Varner allUpIn sc.edu)
- * @version $Id$
- * @since 2002-02-09
*/
public class Section
{
diff --git a/src/java/org/apache/poi/hpsf/SpecialPropertySet.java b/src/java/org/apache/poi/hpsf/SpecialPropertySet.java
index f415bd5d12..2d04ef6d8e 100644
--- a/src/java/org/apache/poi/hpsf/SpecialPropertySet.java
+++ b/src/java/org/apache/poi/hpsf/SpecialPropertySet.java
@@ -14,7 +14,7 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
+
package org.apache.poi.hpsf;
import java.io.IOException;
@@ -53,8 +53,6 @@ import org.apache.poi.poifs.filesystem.DirectoryEntry;
*
* @author Rainer Klute <a
* href="mailto:klute@rainer-klute.de">&lt;klute@rainer-klute.de&gt;</a>
- * @version $Id$
- * @since 2002-02-09
*/
public abstract class SpecialPropertySet extends MutablePropertySet
{
diff --git a/src/java/org/apache/poi/hpsf/SummaryInformation.java b/src/java/org/apache/poi/hpsf/SummaryInformation.java
index a143e2bad0..c0351a359b 100644
--- a/src/java/org/apache/poi/hpsf/SummaryInformation.java
+++ b/src/java/org/apache/poi/hpsf/SummaryInformation.java
@@ -28,8 +28,6 @@ import org.apache.poi.hpsf.wellknown.PropertyIDMap;
* @author Rainer Klute <a
* href="mailto:klute@rainer-klute.de">&lt;klute@rainer-klute.de&gt;</a>
* @see DocumentSummaryInformation
- * @version $Id$
- * @since 2002-02-09
*/
public class SummaryInformation extends SpecialPropertySet
{
diff --git a/src/java/org/apache/poi/hpsf/Thumbnail.java b/src/java/org/apache/poi/hpsf/Thumbnail.java
index 9959a64f40..cd2c36cd8a 100644
--- a/src/java/org/apache/poi/hpsf/Thumbnail.java
+++ b/src/java/org/apache/poi/hpsf/Thumbnail.java
@@ -14,7 +14,7 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
+
package org.apache.poi.hpsf;
import org.apache.poi.util.LittleEndian;
@@ -24,8 +24,6 @@ import org.apache.poi.util.LittleEndian;
*
* @author Drew Varner (Drew.Varner inOrAround sc.edu)
* @see SummaryInformation#getThumbnail()
- * @version $Id$
- * @since 2002-04-29
*/
public class Thumbnail
{
diff --git a/src/java/org/apache/poi/hpsf/TypeWriter.java b/src/java/org/apache/poi/hpsf/TypeWriter.java
index bd7f346147..84269ab333 100644
--- a/src/java/org/apache/poi/hpsf/TypeWriter.java
+++ b/src/java/org/apache/poi/hpsf/TypeWriter.java
@@ -14,7 +14,7 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
+
package org.apache.poi.hpsf;
import java.io.IOException;
@@ -27,8 +27,6 @@ import org.apache.poi.util.LittleEndian;
*
* @author Rainer Klute <a
* href="mailto:klute@rainer-klute.de">&lt;klute@rainer-klute.de&gt;</a>
- * @version $Id$
- * @since 2003-02-20
*/
public class TypeWriter
{
diff --git a/src/java/org/apache/poi/hpsf/UnexpectedPropertySetTypeException.java b/src/java/org/apache/poi/hpsf/UnexpectedPropertySetTypeException.java
index 2a56fdaaea..de635d61b3 100644
--- a/src/java/org/apache/poi/hpsf/UnexpectedPropertySetTypeException.java
+++ b/src/java/org/apache/poi/hpsf/UnexpectedPropertySetTypeException.java
@@ -14,7 +14,7 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
+
package org.apache.poi.hpsf;
/**
@@ -27,8 +27,6 @@ package org.apache.poi.hpsf;
*
* @author Rainer Klute <a
* href="mailto:klute@rainer-klute.de">&lt;klute@rainer-klute.de&gt;</a>
- * @version $Id$
- * @since 2002-02-09
*/
public class UnexpectedPropertySetTypeException extends HPSFException
{
diff --git a/src/java/org/apache/poi/hpsf/UnsupportedVariantTypeException.java b/src/java/org/apache/poi/hpsf/UnsupportedVariantTypeException.java
index 49ca914591..125f7046f2 100644
--- a/src/java/org/apache/poi/hpsf/UnsupportedVariantTypeException.java
+++ b/src/java/org/apache/poi/hpsf/UnsupportedVariantTypeException.java
@@ -14,7 +14,7 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
+
package org.apache.poi.hpsf;
import org.apache.poi.util.HexDump;
@@ -28,8 +28,6 @@ import org.apache.poi.util.HexDump;
*
* @author Rainer Klute <a
* href="mailto:klute@rainer-klute.de">&lt;klute@rainer-klute.de&gt;</a>
- * @since 2003-08-05
- * @version $Id$
*/
public abstract class UnsupportedVariantTypeException
extends VariantTypeException
diff --git a/src/java/org/apache/poi/hpsf/Util.java b/src/java/org/apache/poi/hpsf/Util.java
index 85ea0ea095..93b394ad71 100644
--- a/src/java/org/apache/poi/hpsf/Util.java
+++ b/src/java/org/apache/poi/hpsf/Util.java
@@ -14,7 +14,7 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
+
package org.apache.poi.hpsf;
import java.io.IOException;
@@ -27,8 +27,6 @@ import java.util.Date;
* <p>Provides various static utility methods.</p>
*
* @author Rainer Klute (klute@rainer-klute.de)
- * @version $Id$
- * @since 2002-02-09
*/
public class Util
{
diff --git a/src/java/org/apache/poi/hpsf/Variant.java b/src/java/org/apache/poi/hpsf/Variant.java
index 43660043c1..358924130a 100644
--- a/src/java/org/apache/poi/hpsf/Variant.java
+++ b/src/java/org/apache/poi/hpsf/Variant.java
@@ -14,7 +14,7 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
+
package org.apache.poi.hpsf;
import java.util.Collections;
@@ -34,8 +34,6 @@ import java.util.Map;
* <strong>[S]</strong> - may appear in a Safe Array.</p>
*
* @author Rainer Klute (klute@rainer-klute.de)
- * @version $Id$
- * @since 2002-02-09
*/
public class Variant
{
diff --git a/src/java/org/apache/poi/hpsf/VariantSupport.java b/src/java/org/apache/poi/hpsf/VariantSupport.java
index 703e8abe8d..1b06e239aa 100644
--- a/src/java/org/apache/poi/hpsf/VariantSupport.java
+++ b/src/java/org/apache/poi/hpsf/VariantSupport.java
@@ -45,8 +45,6 @@ import org.apache.poi.util.LittleEndianConsts;
*
* @author Rainer Klute <a
* href="mailto:klute@rainer-klute.de">&lt;klute@rainer-klute.de&gt;</a>
- * @since 2003-08-08
- * @version $Id$
*/
public class VariantSupport extends Variant
{
diff --git a/src/java/org/apache/poi/hpsf/VariantTypeException.java b/src/java/org/apache/poi/hpsf/VariantTypeException.java
index 0f35a887d5..58100bd074 100644
--- a/src/java/org/apache/poi/hpsf/VariantTypeException.java
+++ b/src/java/org/apache/poi/hpsf/VariantTypeException.java
@@ -14,7 +14,7 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
+
package org.apache.poi.hpsf;
/**
@@ -23,8 +23,6 @@ package org.apache.poi.hpsf;
*
* @author Rainer Klute <a
* href="mailto:klute@rainer-klute.de">&lt;klute@rainer-klute.de&gt;</a>
- * @since 2004-06-21
- * @version $Id$
*/
public abstract class VariantTypeException extends HPSFException
{
diff --git a/src/java/org/apache/poi/hpsf/WritingNotSupportedException.java b/src/java/org/apache/poi/hpsf/WritingNotSupportedException.java
index 91fcbf16ef..e602478ab8 100644
--- a/src/java/org/apache/poi/hpsf/WritingNotSupportedException.java
+++ b/src/java/org/apache/poi/hpsf/WritingNotSupportedException.java
@@ -14,7 +14,7 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
+
package org.apache.poi.hpsf;
/**
@@ -26,8 +26,6 @@ package org.apache.poi.hpsf;
*
* @author Rainer Klute <a
* href="mailto:klute@rainer-klute.de">&lt;klute@rainer-klute.de&gt;</a>
- * @since 2003-08-08
- * @version $Id$
*/
public class WritingNotSupportedException
extends UnsupportedVariantTypeException
diff --git a/src/java/org/apache/poi/hpsf/wellknown/PropertyIDMap.java b/src/java/org/apache/poi/hpsf/wellknown/PropertyIDMap.java
index 33df5bb97d..9c8fe488b9 100644
--- a/src/java/org/apache/poi/hpsf/wellknown/PropertyIDMap.java
+++ b/src/java/org/apache/poi/hpsf/wellknown/PropertyIDMap.java
@@ -14,7 +14,7 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
+
package org.apache.poi.hpsf.wellknown;
import java.util.Collections;
@@ -33,11 +33,8 @@ import java.util.Map;
*
* @author Rainer Klute <a
* href="mailto:klute@rainer-klute.de">&lt;klute@rainer-klute.de&gt;</a>
- * @version $Id$
- * @since 2002-02-09
*/
-public class PropertyIDMap extends HashMap
-{
+public class PropertyIDMap extends HashMap {
/*
* The following definitions are for property IDs in the first
diff --git a/src/java/org/apache/poi/hpsf/wellknown/SectionIDMap.java b/src/java/org/apache/poi/hpsf/wellknown/SectionIDMap.java
index 97cc38900f..0b30604ad1 100644
--- a/src/java/org/apache/poi/hpsf/wellknown/SectionIDMap.java
+++ b/src/java/org/apache/poi/hpsf/wellknown/SectionIDMap.java
@@ -14,7 +14,7 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
+
package org.apache.poi.hpsf.wellknown;
import java.util.HashMap;
@@ -35,11 +35,8 @@ import java.util.HashMap;
* property IDs in sections with the specified section format ID.</p>
*
* @author Rainer Klute (klute@rainer-klute.de)
- * @version $Id$
- * @since 2002-02-09
*/
-public class SectionIDMap extends HashMap
-{
+public class SectionIDMap extends HashMap {
/**
* <p>The SummaryInformation's section's format ID.</p>
diff --git a/src/java/org/apache/poi/util/ArrayUtil.java b/src/java/org/apache/poi/util/ArrayUtil.java
index a4000d29ec..be2b49999d 100644
--- a/src/java/org/apache/poi/util/ArrayUtil.java
+++ b/src/java/org/apache/poi/util/ArrayUtil.java
@@ -21,7 +21,6 @@ package org.apache.poi.util;
* Utility classes for dealing with arrays.
*
* @author Glen Stampoultzis
- * @version $Id$
*/
public class ArrayUtil
{
diff --git a/src/testcases/org/apache/poi/hpsf/basic/AllDataFilesTester.java b/src/testcases/org/apache/poi/hpsf/basic/AllDataFilesTester.java
index 52d451769d..ba7c650b37 100644
--- a/src/testcases/org/apache/poi/hpsf/basic/AllDataFilesTester.java
+++ b/src/testcases/org/apache/poi/hpsf/basic/AllDataFilesTester.java
@@ -28,19 +28,14 @@ import java.util.logging.Logger;
*
* @author Rainer Klute <a
* href="mailto:klute@rainer-klute.de">&lt;klute@rainer-klute.de&gt;</a>
- * @since 2006-02-11
- * @version $Id$
*/
-public class AllDataFilesTester
-{
+public class AllDataFilesTester {
/**
* <p>Interface specifying how to run a test on a single file.</p>
*
* @author Rainer Klute <a
* href="mailto:klute@rainer-klute.de">&lt;klute@rainer-klute.de&gt;</a>
- * @since 2006-02-11
- * @version $Id$
*/
public interface TestTask
{
diff --git a/src/testcases/org/apache/poi/hpsf/basic/POIFile.java b/src/testcases/org/apache/poi/hpsf/basic/POIFile.java
index 2043c80677..ae05ffff1a 100644
--- a/src/testcases/org/apache/poi/hpsf/basic/POIFile.java
+++ b/src/testcases/org/apache/poi/hpsf/basic/POIFile.java
@@ -1,4 +1,3 @@
-
/* ====================================================================
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
@@ -15,20 +14,15 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
package org.apache.poi.hpsf.basic;
import org.apache.poi.poifs.filesystem.POIFSDocumentPath;
-
-
/**
* <p>A POI file just for testing.</p>
*
* @author Rainer Klute (klute@rainer-klute.de)
- * @since 2002-07-20
- * @version $Id$
*/
public class POIFile
{
diff --git a/src/testcases/org/apache/poi/hpsf/basic/TestBasic.java b/src/testcases/org/apache/poi/hpsf/basic/TestBasic.java
index 1932f0f11b..bb28bc7c9e 100644
--- a/src/testcases/org/apache/poi/hpsf/basic/TestBasic.java
+++ b/src/testcases/org/apache/poi/hpsf/basic/TestBasic.java
@@ -14,7 +14,6 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
package org.apache.poi.hpsf.basic;
@@ -39,14 +38,10 @@ import org.apache.poi.hpsf.Section;
import org.apache.poi.hpsf.SummaryInformation;
import org.apache.poi.hpsf.wellknown.SectionIDMap;
-
-
/**
* <p>Tests the basic HPSF functionality.</p>
*
* @author Rainer Klute (klute@rainer-klute.de)
- * @since 2002-07-20
- * @version $Id$
*/
public class TestBasic extends TestCase
{
diff --git a/src/testcases/org/apache/poi/hpsf/basic/TestEmptyProperties.java b/src/testcases/org/apache/poi/hpsf/basic/TestEmptyProperties.java
index 08de63d08d..1c400904f6 100644
--- a/src/testcases/org/apache/poi/hpsf/basic/TestEmptyProperties.java
+++ b/src/testcases/org/apache/poi/hpsf/basic/TestEmptyProperties.java
@@ -14,7 +14,7 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
+
package org.apache.poi.hpsf.basic;
import java.io.ByteArrayInputStream;
@@ -42,8 +42,6 @@ import org.apache.poi.hpsf.Variant;
*
* @author Rainer Klute <a
* href="mailto:klute@rainer-klute.de">&lt;klute@rainer-klute.de&gt;</a>
- * @since 2003-07-25
- * @version $Id$
*/
public class TestEmptyProperties extends TestCase
{
diff --git a/src/testcases/org/apache/poi/hpsf/basic/TestMetaDataIPI.java b/src/testcases/org/apache/poi/hpsf/basic/TestMetaDataIPI.java
index 111561bcc1..8d94d2df6e 100644
--- a/src/testcases/org/apache/poi/hpsf/basic/TestMetaDataIPI.java
+++ b/src/testcases/org/apache/poi/hpsf/basic/TestMetaDataIPI.java
@@ -45,8 +45,6 @@ import org.apache.poi.poifs.filesystem.POIFSFileSystem;
* This class tests reading and writing of meta data. No actual document is created. All information
* is stored in a virtal document in a ByteArrayOutputStream
* @author Matthias G\u00fcnter
- * @since 2006-03-03
- * @version $Id: TestEmptyProperties.java 353563 2004-06-22 16:16:33Z klute $
*/
public class TestMetaDataIPI extends TestCase{
@@ -56,13 +54,7 @@ public class TestMetaDataIPI extends TestCase{
DocumentSummaryInformation dsi=null;
SummaryInformation si=null;
- /**
- * Standard constructor
- * @param s
- */
- public TestMetaDataIPI(String s ){
- super(s);
- }
+
/**
* Setup is used to get the document ready. Gets the DocumentSummaryInformation and the
diff --git a/src/testcases/org/apache/poi/hpsf/basic/TestReadAllFiles.java b/src/testcases/org/apache/poi/hpsf/basic/TestReadAllFiles.java
index f68b4c3cc9..9916dbc995 100644
--- a/src/testcases/org/apache/poi/hpsf/basic/TestReadAllFiles.java
+++ b/src/testcases/org/apache/poi/hpsf/basic/TestReadAllFiles.java
@@ -14,7 +14,6 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
package org.apache.poi.hpsf.basic;
@@ -27,31 +26,14 @@ import junit.framework.TestCase;
import org.apache.poi.hpsf.PropertySetFactory;
-
-
/**
* <p>Tests some HPSF functionality by reading all property sets from all files
* in the "data" directory. If you want to ensure HPSF can deal with a certain
* OLE2 file, just add it to the "data" directory and run this test case.</p>
*
* @author Rainer Klute (klute@rainer-klute.de)
- * @since 2008-02-08
- * @version $Id: TestBasic.java 489730 2006-12-22 19:18:16Z bayard $
*/
-public class TestReadAllFiles extends TestCase
-{
-
- /**
- * <p>Test case constructor.</p>
- *
- * @param name The test case's name.
- */
- public TestReadAllFiles(final String name)
- {
- super(name);
- }
-
-
+public class TestReadAllFiles extends TestCase {
/**
* <p>This test methods reads all property set streams from all POI
@@ -90,21 +72,4 @@ public class TestReadAllFiles extends TestCase
fail(s);
}
}
-
-
-
- /**
- * <p>Runs the test cases stand-alone.</p>
- *
- * @param args Command-line arguments (ignored)
- *
- * @exception Throwable if any sort of exception or error occurs
- */
- public static void main(final String[] args) throws Throwable
- {
- System.setProperty("HPSF.testdata.path",
- "./src/testcases/org/apache/poi/hpsf/data");
- junit.textui.TestRunner.run(TestReadAllFiles.class);
- }
-
}
diff --git a/src/testcases/org/apache/poi/hpsf/basic/TestUnicode.java b/src/testcases/org/apache/poi/hpsf/basic/TestUnicode.java
index 95c50e33e6..f9cf2b0dcd 100644
--- a/src/testcases/org/apache/poi/hpsf/basic/TestUnicode.java
+++ b/src/testcases/org/apache/poi/hpsf/basic/TestUnicode.java
@@ -14,7 +14,6 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
package org.apache.poi.hpsf.basic;
@@ -34,18 +33,13 @@ import org.apache.poi.hpsf.PropertySetFactory;
import org.apache.poi.hpsf.Section;
import org.apache.poi.hpsf.SummaryInformation;
-
-
/**
* <p>Tests whether Unicode string can be read from a
* DocumentSummaryInformation.</p>
*
* @author Rainer Klute (klute@rainer-klute.de)
- * @since 2002-12-09
- * @version $Id$
*/
-public class TestUnicode extends TestCase
-{
+public class TestUnicode extends TestCase {
static final String POI_FS = "TestUnicode.xls";
static final String[] POI_FILES = new String[]
@@ -56,27 +50,13 @@ public class TestUnicode extends TestCase
POIFile[] poiFiles;
-
- /**
- * <p>Constructor</p>
- *
- * @param name the test case's name
- */
- public TestUnicode(final String name)
- {
- super(name);
- }
-
-
-
/**
* <p>Read a the test file from the "data" directory.</p>
*
* @exception FileNotFoundException if the file to be read does not exist.
* @exception IOException if any other I/O exception occurs
*/
- protected void setUp() throws FileNotFoundException, IOException
- {
+ protected void setUp() {
final File dataDir =
new File(System.getProperty("HPSF.testdata.path"));
data = new File(dataDir, POI_FS);
@@ -112,19 +92,4 @@ public class TestUnicode extends TestCase
Assert.assertEquals(s.getProperty(5),
"Petrovitsch, Wilhelm");
}
-
-
-
- /**
- * <p>Runs the test cases stand-alone.</p>
- *
- * @param args Command-line arguments.
- */
- public static void main(final String[] args)
- {
- System.setProperty("HPSF.testdata.path",
- "./src/testcases/org/apache/poi/hpsf/data");
- junit.textui.TestRunner.run(TestUnicode.class);
- }
-
}
diff --git a/src/testcases/org/apache/poi/hpsf/basic/TestWrite.java b/src/testcases/org/apache/poi/hpsf/basic/TestWrite.java
index 004d63c00b..92238acc39 100644
--- a/src/testcases/org/apache/poi/hpsf/basic/TestWrite.java
+++ b/src/testcases/org/apache/poi/hpsf/basic/TestWrite.java
@@ -64,14 +64,10 @@ import org.apache.poi.poifs.filesystem.POIFSFileSystem;
import org.apache.poi.util.LittleEndian;
import org.apache.poi.util.TempFile;
-
-
/**
* <p>Tests HPSF's writing functionality.</p>
*
* @author Rainer Klute (klute@rainer-klute.de)
- * @since 2003-02-07
- * @version $Id$
*/
public class TestWrite extends TestCase
{
@@ -96,19 +92,6 @@ public class TestWrite extends TestCase
POIFile[] poiFiles;
-
- /**
- * <p>Constructor</p>
- *
- * @param name the test case's name
- */
- public TestWrite(final String name)
- {
- super(name);
- }
-
-
-
/**
* @see TestCase#setUp()
*/
@@ -923,20 +906,4 @@ public class TestWrite extends TestCase
final Charset charSet = Charset.forName(charSetName);
return charSet.newEncoder().canEncode('\u00e4');
}
-
-
-
- /**
- * <p>Runs the test cases stand-alone.</p>
- *
- * @param args The command-line parameters.
- * @throws Throwable if anything goes wrong.
- */
- public static void main(final String[] args) throws Throwable
- {
- System.setProperty("HPSF.testdata.path",
- "./src/testcases/org/apache/poi/hpsf/data");
- junit.textui.TestRunner.run(TestWrite.class);
- }
-
}
diff --git a/src/testcases/org/apache/poi/hpsf/basic/TestWriteWellKnown.java b/src/testcases/org/apache/poi/hpsf/basic/TestWriteWellKnown.java
index 375cc904ef..d570b029b3 100644
--- a/src/testcases/org/apache/poi/hpsf/basic/TestWriteWellKnown.java
+++ b/src/testcases/org/apache/poi/hpsf/basic/TestWriteWellKnown.java
@@ -54,33 +54,17 @@ import org.apache.poi.poifs.filesystem.DocumentEntry;
import org.apache.poi.poifs.filesystem.DocumentInputStream;
import org.apache.poi.poifs.filesystem.POIFSFileSystem;
-
-
/**
* <p>Tests HPSF's high-level writing functionality for the well-known property
* set "SummaryInformation" and "DocumentSummaryInformation".</p>
*
* @author Rainer Klute
* <a href="mailto:klute@rainer-klute.de">klute@rainer-klute.de</a>
- * @since 2006-02-01
- * @version $Id$
*/
-public class TestWriteWellKnown extends TestCase
-{
+public class TestWriteWellKnown extends TestCase {
private static final String POI_FS = "TestWriteWellKnown.doc";
- /**
- * <p>Constructor</p>
- *
- * @param name the test case's name
- */
- public TestWriteWellKnown(final String name)
- {
- super(name);
- }
-
-
/**
* @see TestCase#setUp()
@@ -744,20 +728,4 @@ public class TestWriteWellKnown extends TestCase
assertEquals(1, cps.size());
assertFalse(cps.isPure());
}
-
-
-
- /**
- * <p>Runs the test cases stand-alone.</p>
- *
- * @param args The command-line parameters.
- * @throws Throwable if anything goes wrong.
- */
- public static void main(final String[] args) throws Throwable
- {
- System.setProperty("HPSF.testdata.path",
- "./src/testcases/org/apache/poi/hpsf/data");
- junit.textui.TestRunner.run(TestWriteWellKnown.class);
- }
-
}
diff --git a/src/testcases/org/apache/poi/hpsf/basic/Util.java b/src/testcases/org/apache/poi/hpsf/basic/Util.java
index e109cdd4ee..1262c750d8 100644
--- a/src/testcases/org/apache/poi/hpsf/basic/Util.java
+++ b/src/testcases/org/apache/poi/hpsf/basic/Util.java
@@ -15,7 +15,6 @@
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
-
package org.apache.poi.hpsf.basic;
@@ -45,11 +44,8 @@ import org.apache.poi.poifs.eventfilesystem.POIFSReaderListener;
* <p>Static utility methods needed by the HPSF test cases.</p>
*
* @author Rainer Klute (klute@rainer-klute.de)
- * @since 2002-07-20
- * @version $Id$
*/
-public class Util
-{
+final class Util {
/**
* <p>Reads bytes from an input stream and writes them to an
@@ -261,7 +257,4 @@ public class Util
System.out.println("Current directory: " +
System.getProperty("user.dir"));
}
-
-
-
}