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 83973ab6c..213fbecac 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.
* * @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 2fbcebee0..4f33a59a0 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.*; *Describes the most important (whatever that is) features of a * {@link POIFSDocument}.
* - * @author Rainer Klute (klute@rainer-klute.de) - * @version $Id$ - * @since 2002-02-05 - * * * @author Rainer Klute <klute@rainer-klute.de> */ 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 74d0c5448..710d1bc05 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 <klute@rainer-klute.de> - * @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 04a5e3ce1..fc739a9a8 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 <klute@rainer-klute.de> - * @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 423606c49..416f13502 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 <klute@rainer-klute.de> - * @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 9c5490d4f..96a43be10 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}. * * @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 36dd94fb6..f50a3334b 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 <klute@rainer-klute.de> - * @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 df9e996fb..ec163b7bc 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 <klute@rainer-klute.de> - * @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 04bdcae5e..dcb1c51cc 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 <klute@rainer-klute.de> - * @version $Id$ - * @since 2002-01-25 */ -public class Util -{ +public class Util { /** *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 c.setOpaque(true).
*/ - 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 79e4e24a9..1fb9d48ef 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 <klute@rainer-klute.de> - * @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 43edebe26..1636e9a8f 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; - - /** *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 klute@rainer-klute.de - * @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 021a5e903..bf6bcd1f8 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 <klute@rainer-klute.de> - * @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 71233657d..c036d222b 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 <klute@rainer-klute.de> - * @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 39e5c5150..00749ab4d 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 <klute@rainer-klute.de> - * @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 45a3dadba..22e1f69cd 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 <klute@rainer-klute.de> - * @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 defbc9cb3..57cdb3023 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 7044aca0e..dd623b8b7 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 <klute@rainer-klute.de> - * @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 a2a2f7b36..05bc2fd9a 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 <klute@rainer-klute.de> - * @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 420fc2f9b..a4a9a7be0 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.
* *This class is not thread-safe; concurrent access to instances of this - * class must be syncronized.
+ * class must be synchronized. * * @author Rainer Klute <klute@rainer-klute.de> - * @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 4bd1f8e0f..994adf7b6 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; /** - *This class represents custum properties in the document summary + *
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 null
it
* will be maintained in the section's dictionary.
Adds writing support to the {@link PropertySet} class.
* @@ -43,8 +41,6 @@ import org.apache.poi.util.LittleEndianConsts; * * @author Rainer Klute <klute@rainer-klute.de> - * @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 1ba4221e4..084896ff6 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; * *Please be aware that this class' functionality will be merged into the * {@link Section} class at a later time, so the API will change.
- * - * @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 2e9f8f85b..507aab38a 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 <klute@rainer-klute.de> - * @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 4bf1f931e..cd580fa28 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 <klute@rainer-klute.de> - * @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 e2feb74f4..46aa332b1 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 <klute@rainer-klute.de> - * @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 16b4f7e41..872f6931b 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 b39ba08bf..df918285c 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 <klute@rainer-klute.de> * @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 1cd3dcdaf..3d2611e84 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 <klute@rainer-klute.de> - * @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 f325543c0..a66dc7c4f 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 <klute@rainer-klute.de> - * @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 76824e7b7..147f2af7e 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 <klute@rainer-klute.de> * @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 f415bd5d1..2d04ef6d8 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 <klute@rainer-klute.de> - * @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 a143e2bad..c0351a359 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 <klute@rainer-klute.de> * @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 9959a64f4..cd2c36cd8 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 bd7f34614..84269ab33 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 <klute@rainer-klute.de> - * @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 2a56fdaae..de635d61b 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 <klute@rainer-klute.de> - * @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 49ca91459..125f7046f 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 <klute@rainer-klute.de> - * @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 85ea0ea09..93b394ad7 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; *Provides various static utility methods.
* * @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 43660043c..358924130 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; * [S] - may appear in a Safe Array. * * @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 703e8abe8..1b06e239a 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 <klute@rainer-klute.de> - * @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 0f35a887d..58100bd07 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 <klute@rainer-klute.de> - * @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 91fcbf16e..e602478ab 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 <klute@rainer-klute.de> - * @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 33df5bb97..9c8fe488b 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 <klute@rainer-klute.de> - * @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 97cc38900..0b30604ad 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. * * @author Rainer Klute (klute@rainer-klute.de) - * @version $Id$ - * @since 2002-02-09 */ -public class SectionIDMap extends HashMap -{ +public class SectionIDMap extends HashMap { /** *The SummaryInformation's section's format ID.
diff --git a/src/java/org/apache/poi/util/ArrayUtil.java b/src/java/org/apache/poi/util/ArrayUtil.java index a4000d29e..be2b49999 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 52d451769..ba7c650b3 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 <klute@rainer-klute.de> - * @since 2006-02-11 - * @version $Id$ */ -public class AllDataFilesTester -{ +public class AllDataFilesTester { /** *Interface specifying how to run a test on a single file.
* * @author Rainer Klute <klute@rainer-klute.de> - * @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 2043c8067..ae05ffff1 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; - - /** *A POI file just for testing.
* * @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 1932f0f11..bb28bc7c9 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; - - /** *Tests the basic HPSF functionality.
* * @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 08de63d08..1c400904f 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 <klute@rainer-klute.de> - * @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 111561bcc..8d94d2df6 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 f68b4c3cc..9916dbc99 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; - - /** *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.
* * @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 -{ - - /** - *Test case constructor.
- * - * @param name The test case's name. - */ - public TestReadAllFiles(final String name) - { - super(name); - } - - +public class TestReadAllFiles extends TestCase { /** *This test methods reads all property set streams from all POI @@ -90,21 +72,4 @@ public class TestReadAllFiles extends TestCase fail(s); } } - - - - /** - *
Runs the test cases stand-alone.
- * - * @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 95c50e33e..f9cf2b0dc 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; - - /** *Tests whether Unicode string can be read from a * DocumentSummaryInformation.
* * @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; - - /** - *Constructor
- * - * @param name the test case's name - */ - public TestUnicode(final String name) - { - super(name); - } - - - /** *Read a the test file from the "data" directory.
* * @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"); } - - - - /** - *Runs the test cases stand-alone.
- * - * @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 004d63c00..92238acc3 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; - - /** *Tests HPSF's writing functionality.
* * @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; - - /** - *Constructor
- * - * @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'); } - - - - /** - *Runs the test cases stand-alone.
- * - * @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 375cc904e..d570b029b 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; - - /** *Tests HPSF's high-level writing functionality for the well-known property * set "SummaryInformation" and "DocumentSummaryInformation".
* * @author Rainer Klute * klute@rainer-klute.de - * @since 2006-02-01 - * @version $Id$ */ -public class TestWriteWellKnown extends TestCase -{ +public class TestWriteWellKnown extends TestCase { private static final String POI_FS = "TestWriteWellKnown.doc"; - /** - *Constructor
- * - * @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()); } - - - - /** - *Runs the test cases stand-alone.
- * - * @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 e109cdd4e..1262c750d 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; *Static utility methods needed by the HPSF test cases.
* * @author Rainer Klute (klute@rainer-klute.de) - * @since 2002-07-20 - * @version $Id$ */ -public class Util -{ +final class Util { /** *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")); } - - - }