Author: josh Date: Mon Jun 1 21:07:20 2009 New Revision: 780832 URL: http://svn.apache.org/viewvc?rev=780832&view=rev Log: removed '@version $Id:$' tags (all were in javadoc comments) Modified: poi/trunk/src/contrib/src/org/apache/poi/contrib/poibrowser/Codec.java poi/trunk/src/contrib/src/org/apache/poi/contrib/poibrowser/DocumentDescriptor.java poi/trunk/src/contrib/src/org/apache/poi/contrib/poibrowser/DocumentDescriptorRenderer.java poi/trunk/src/contrib/src/org/apache/poi/contrib/poibrowser/ExtendableTreeCellRenderer.java poi/trunk/src/contrib/src/org/apache/poi/contrib/poibrowser/POIBrowser.java poi/trunk/src/contrib/src/org/apache/poi/contrib/poibrowser/PropertySetDescriptor.java poi/trunk/src/contrib/src/org/apache/poi/contrib/poibrowser/PropertySetDescriptorRenderer.java poi/trunk/src/contrib/src/org/apache/poi/contrib/poibrowser/TreeReaderListener.java poi/trunk/src/contrib/src/org/apache/poi/contrib/poibrowser/Util.java poi/trunk/src/examples/src/org/apache/poi/hpsf/examples/CopyCompare.java poi/trunk/src/examples/src/org/apache/poi/hpsf/examples/ModifyDocumentSummaryInformation.java poi/trunk/src/examples/src/org/apache/poi/hpsf/examples/ReadCustomPropertySets.java poi/trunk/src/examples/src/org/apache/poi/hpsf/examples/ReadTitle.java poi/trunk/src/examples/src/org/apache/poi/hpsf/examples/WriteAuthorAndTitle.java poi/trunk/src/examples/src/org/apache/poi/hpsf/examples/WriteTitle.java poi/trunk/src/java/org/apache/poi/ddf/EscherBitmapBlip.java poi/trunk/src/java/org/apache/poi/hpsf/ClassID.java poi/trunk/src/java/org/apache/poi/hpsf/Constants.java poi/trunk/src/java/org/apache/poi/hpsf/CustomProperties.java poi/trunk/src/java/org/apache/poi/hpsf/CustomProperty.java poi/trunk/src/java/org/apache/poi/hpsf/DocumentSummaryInformation.java poi/trunk/src/java/org/apache/poi/hpsf/HPSFException.java poi/trunk/src/java/org/apache/poi/hpsf/HPSFRuntimeException.java poi/trunk/src/java/org/apache/poi/hpsf/IllegalPropertySetDataException.java poi/trunk/src/java/org/apache/poi/hpsf/IllegalVariantTypeException.java poi/trunk/src/java/org/apache/poi/hpsf/MarkUnsupportedException.java poi/trunk/src/java/org/apache/poi/hpsf/MissingSectionException.java poi/trunk/src/java/org/apache/poi/hpsf/MutableProperty.java poi/trunk/src/java/org/apache/poi/hpsf/MutablePropertySet.java poi/trunk/src/java/org/apache/poi/hpsf/MutableSection.java poi/trunk/src/java/org/apache/poi/hpsf/NoFormatIDException.java poi/trunk/src/java/org/apache/poi/hpsf/NoPropertySetStreamException.java poi/trunk/src/java/org/apache/poi/hpsf/NoSingleSectionException.java poi/trunk/src/java/org/apache/poi/hpsf/Property.java poi/trunk/src/java/org/apache/poi/hpsf/PropertySet.java poi/trunk/src/java/org/apache/poi/hpsf/PropertySetFactory.java poi/trunk/src/java/org/apache/poi/hpsf/ReadingNotSupportedException.java poi/trunk/src/java/org/apache/poi/hpsf/Section.java poi/trunk/src/java/org/apache/poi/hpsf/SpecialPropertySet.java poi/trunk/src/java/org/apache/poi/hpsf/SummaryInformation.java poi/trunk/src/java/org/apache/poi/hpsf/Thumbnail.java poi/trunk/src/java/org/apache/poi/hpsf/TypeWriter.java poi/trunk/src/java/org/apache/poi/hpsf/UnexpectedPropertySetTypeException.java poi/trunk/src/java/org/apache/poi/hpsf/UnsupportedVariantTypeException.java poi/trunk/src/java/org/apache/poi/hpsf/Util.java poi/trunk/src/java/org/apache/poi/hpsf/Variant.java poi/trunk/src/java/org/apache/poi/hpsf/VariantSupport.java poi/trunk/src/java/org/apache/poi/hpsf/VariantTypeException.java poi/trunk/src/java/org/apache/poi/hpsf/WritingNotSupportedException.java poi/trunk/src/java/org/apache/poi/hpsf/wellknown/PropertyIDMap.java poi/trunk/src/java/org/apache/poi/hpsf/wellknown/SectionIDMap.java poi/trunk/src/java/org/apache/poi/util/ArrayUtil.java poi/trunk/src/testcases/org/apache/poi/hpsf/basic/AllDataFilesTester.java poi/trunk/src/testcases/org/apache/poi/hpsf/basic/POIFile.java poi/trunk/src/testcases/org/apache/poi/hpsf/basic/TestBasic.java poi/trunk/src/testcases/org/apache/poi/hpsf/basic/TestEmptyProperties.java poi/trunk/src/testcases/org/apache/poi/hpsf/basic/TestMetaDataIPI.java poi/trunk/src/testcases/org/apache/poi/hpsf/basic/TestReadAllFiles.java poi/trunk/src/testcases/org/apache/poi/hpsf/basic/TestUnicode.java poi/trunk/src/testcases/org/apache/poi/hpsf/basic/TestWrite.java poi/trunk/src/testcases/org/apache/poi/hpsf/basic/TestWriteWellKnown.java poi/trunk/src/testcases/org/apache/poi/hpsf/basic/Util.java Modified: poi/trunk/src/contrib/src/org/apache/poi/contrib/poibrowser/Codec.java URL: http://svn.apache.org/viewvc/poi/trunk/src/contrib/src/org/apache/poi/contrib/poibrowser/Codec.java?rev=780832&r1=780831&r2=780832&view=diff ============================================================================== --- poi/trunk/src/contrib/src/org/apache/poi/contrib/poibrowser/Codec.java (original) +++ poi/trunk/src/contrib/src/org/apache/poi/contrib/poibrowser/Codec.java Mon Jun 1 21:07:20 2009 @@ -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 @@ * data.
* * @author Rainer Klute (klute@rainer-klute.de) - with portions from Tomcat - * @version $Id$ - * @since 2002-01-24 */ public class Codec { Modified: poi/trunk/src/contrib/src/org/apache/poi/contrib/poibrowser/DocumentDescriptor.java URL: http://svn.apache.org/viewvc/poi/trunk/src/contrib/src/org/apache/poi/contrib/poibrowser/DocumentDescriptor.java?rev=780832&r1=780831&r2=780832&view=diff ============================================================================== --- poi/trunk/src/contrib/src/org/apache/poi/contrib/poibrowser/DocumentDescriptor.java (original) +++ poi/trunk/src/contrib/src/org/apache/poi/contrib/poibrowser/DocumentDescriptor.java Mon Jun 1 21:07:20 2009 @@ -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 @@ *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> */ Modified: poi/trunk/src/contrib/src/org/apache/poi/contrib/poibrowser/DocumentDescriptorRenderer.java URL: http://svn.apache.org/viewvc/poi/trunk/src/contrib/src/org/apache/poi/contrib/poibrowser/DocumentDescriptorRenderer.java?rev=780832&r1=780831&r2=780832&view=diff ============================================================================== --- poi/trunk/src/contrib/src/org/apache/poi/contrib/poibrowser/DocumentDescriptorRenderer.java (original) +++ poi/trunk/src/contrib/src/org/apache/poi/contrib/poibrowser/DocumentDescriptorRenderer.java Mon Jun 1 21:07:20 2009 @@ -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 @@ * * @author Rainer Klute <klute@rainer-klute.de> - * @version $Id$ - * @since 2002-02-05 */ public class DocumentDescriptorRenderer extends DefaultTreeCellRenderer { Modified: poi/trunk/src/contrib/src/org/apache/poi/contrib/poibrowser/ExtendableTreeCellRenderer.java URL: http://svn.apache.org/viewvc/poi/trunk/src/contrib/src/org/apache/poi/contrib/poibrowser/ExtendableTreeCellRenderer.java?rev=780832&r1=780831&r2=780832&view=diff ============================================================================== --- poi/trunk/src/contrib/src/org/apache/poi/contrib/poibrowser/ExtendableTreeCellRenderer.java (original) +++ poi/trunk/src/contrib/src/org/apache/poi/contrib/poibrowser/ExtendableTreeCellRenderer.java Mon Jun 1 21:07:20 2009 @@ -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 @@ * * @author Rainer Klute <klute@rainer-klute.de> - * @version $Id$ - * @since 2002-01-22 */ public class ExtendableTreeCellRenderer implements TreeCellRenderer { Modified: poi/trunk/src/contrib/src/org/apache/poi/contrib/poibrowser/POIBrowser.java URL: http://svn.apache.org/viewvc/poi/trunk/src/contrib/src/org/apache/poi/contrib/poibrowser/POIBrowser.java?rev=780832&r1=780831&r2=780832&view=diff ============================================================================== --- poi/trunk/src/contrib/src/org/apache/poi/contrib/poibrowser/POIBrowser.java (original) +++ poi/trunk/src/contrib/src/org/apache/poi/contrib/poibrowser/POIBrowser.java Mon Jun 1 21:07:20 2009 @@ -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 @@ * * @author Rainer Klute <klute@rainer-klute.de> - * @version $Id$ - * @since 2002-01-19 */ public class POIBrowser extends JFrame { Modified: poi/trunk/src/contrib/src/org/apache/poi/contrib/poibrowser/PropertySetDescriptor.java URL: http://svn.apache.org/viewvc/poi/trunk/src/contrib/src/org/apache/poi/contrib/poibrowser/PropertySetDescriptor.java?rev=780832&r1=780831&r2=780832&view=diff ============================================================================== --- poi/trunk/src/contrib/src/org/apache/poi/contrib/poibrowser/PropertySetDescriptor.java (original) +++ poi/trunk/src/contrib/src/org/apache/poi/contrib/poibrowser/PropertySetDescriptor.java Mon Jun 1 21:07:20 2009 @@ -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 @@ * stream containing a {@link PropertySet}. * * @author Rainer Klute (klute@rainer-klute.de) - * @version $Id$ - * @since 2002-02-05 */ public class PropertySetDescriptor extends DocumentDescriptor { Modified: poi/trunk/src/contrib/src/org/apache/poi/contrib/poibrowser/PropertySetDescriptorRenderer.java URL: http://svn.apache.org/viewvc/poi/trunk/src/contrib/src/org/apache/poi/contrib/poibrowser/PropertySetDescriptorRenderer.java?rev=780832&r1=780831&r2=780832&view=diff ============================================================================== --- poi/trunk/src/contrib/src/org/apache/poi/contrib/poibrowser/PropertySetDescriptorRenderer.java (original) +++ poi/trunk/src/contrib/src/org/apache/poi/contrib/poibrowser/PropertySetDescriptorRenderer.java Mon Jun 1 21:07:20 2009 @@ -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 @@ * * @author Rainer Klute <klute@rainer-klute.de> - * @version $Id$ - * @since 2002-02-05 */ public class PropertySetDescriptorRenderer extends DocumentDescriptorRenderer { Modified: poi/trunk/src/contrib/src/org/apache/poi/contrib/poibrowser/TreeReaderListener.java URL: http://svn.apache.org/viewvc/poi/trunk/src/contrib/src/org/apache/poi/contrib/poibrowser/TreeReaderListener.java?rev=780832&r1=780831&r2=780832&view=diff ============================================================================== --- poi/trunk/src/contrib/src/org/apache/poi/contrib/poibrowser/TreeReaderListener.java (original) +++ poi/trunk/src/contrib/src/org/apache/poi/contrib/poibrowser/TreeReaderListener.java Mon Jun 1 21:07:20 2009 @@ -56,8 +56,6 @@ * * @author Rainer Klute <klute@rainer-klute.de> - * @version $Id$ - * @since 2002-01-24 */ public class TreeReaderListener implements POIFSReaderListener { Modified: poi/trunk/src/contrib/src/org/apache/poi/contrib/poibrowser/Util.java URL: http://svn.apache.org/viewvc/poi/trunk/src/contrib/src/org/apache/poi/contrib/poibrowser/Util.java?rev=780832&r1=780831&r2=780832&view=diff ============================================================================== --- poi/trunk/src/contrib/src/org/apache/poi/contrib/poibrowser/Util.java (original) +++ poi/trunk/src/contrib/src/org/apache/poi/contrib/poibrowser/Util.java Mon Jun 1 21:07:20 2009 @@ -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 @@ * * @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); } - } Modified: poi/trunk/src/examples/src/org/apache/poi/hpsf/examples/CopyCompare.java URL: http://svn.apache.org/viewvc/poi/trunk/src/examples/src/org/apache/poi/hpsf/examples/CopyCompare.java?rev=780832&r1=780831&r2=780832&view=diff ============================================================================== --- poi/trunk/src/examples/src/org/apache/poi/hpsf/examples/CopyCompare.java (original) +++ poi/trunk/src/examples/src/org/apache/poi/hpsf/examples/CopyCompare.java Mon Jun 1 21:07:20 2009 @@ -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 @@ * * @author Rainer Klute <klute@rainer-klute.de> - * @version $Id$ - * @since 2003-09-19 */ public class CopyCompare { Modified: poi/trunk/src/examples/src/org/apache/poi/hpsf/examples/ModifyDocumentSummaryInformation.java URL: http://svn.apache.org/viewvc/poi/trunk/src/examples/src/org/apache/poi/hpsf/examples/ModifyDocumentSummaryInformation.java?rev=780832&r1=780831&r2=780832&view=diff ============================================================================== --- poi/trunk/src/examples/src/org/apache/poi/hpsf/examples/ModifyDocumentSummaryInformation.java (original) +++ poi/trunk/src/examples/src/org/apache/poi/hpsf/examples/ModifyDocumentSummaryInformation.java Mon Jun 1 21:07:20 2009 @@ -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.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 @@ * * @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 { Modified: poi/trunk/src/examples/src/org/apache/poi/hpsf/examples/ReadCustomPropertySets.java URL: http://svn.apache.org/viewvc/poi/trunk/src/examples/src/org/apache/poi/hpsf/examples/ReadCustomPropertySets.java?rev=780832&r1=780831&r2=780832&view=diff ============================================================================== --- poi/trunk/src/examples/src/org/apache/poi/hpsf/examples/ReadCustomPropertySets.java (original) +++ poi/trunk/src/examples/src/org/apache/poi/hpsf/examples/ReadCustomPropertySets.java Mon Jun 1 21:07:20 2009 @@ -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 @@ * * @author Rainer Klute <klute@rainer-klute.de> - * @version $Id$ - * @since 2003-02-01 */ public class ReadCustomPropertySets { Modified: poi/trunk/src/examples/src/org/apache/poi/hpsf/examples/ReadTitle.java URL: http://svn.apache.org/viewvc/poi/trunk/src/examples/src/org/apache/poi/hpsf/examples/ReadTitle.java?rev=780832&r1=780831&r2=780832&view=diff ============================================================================== --- poi/trunk/src/examples/src/org/apache/poi/hpsf/examples/ReadTitle.java (original) +++ poi/trunk/src/examples/src/org/apache/poi/hpsf/examples/ReadTitle.java Mon Jun 1 21:07:20 2009 @@ -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 @@ * * @author Rainer Klute <klute@rainer-klute.de> - * @version $Id$ - * @since 2003-02-01 */ public class ReadTitle { Modified: poi/trunk/src/examples/src/org/apache/poi/hpsf/examples/WriteAuthorAndTitle.java URL: http://svn.apache.org/viewvc/poi/trunk/src/examples/src/org/apache/poi/hpsf/examples/WriteAuthorAndTitle.java?rev=780832&r1=780831&r2=780832&view=diff ============================================================================== --- poi/trunk/src/examples/src/org/apache/poi/hpsf/examples/WriteAuthorAndTitle.java (original) +++ poi/trunk/src/examples/src/org/apache/poi/hpsf/examples/WriteAuthorAndTitle.java Mon Jun 1 21:07:20 2009 @@ -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 @@ * * @author Rainer Klute <klute@rainer-klute.de> - * @version $Id$ - * @since 2003-09-01 */ public class WriteAuthorAndTitle { Modified: poi/trunk/src/examples/src/org/apache/poi/hpsf/examples/WriteTitle.java URL: http://svn.apache.org/viewvc/poi/trunk/src/examples/src/org/apache/poi/hpsf/examples/WriteTitle.java?rev=780832&r1=780831&r2=780832&view=diff ============================================================================== --- poi/trunk/src/examples/src/org/apache/poi/hpsf/examples/WriteTitle.java (original) +++ poi/trunk/src/examples/src/org/apache/poi/hpsf/examples/WriteTitle.java Mon Jun 1 21:07:20 2009 @@ -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 @@ * * @author Rainer Klute <klute@rainer-klute.de> - * @version $Id$ - * @since 2003-09-12 */ public class WriteTitle { Modified: poi/trunk/src/java/org/apache/poi/ddf/EscherBitmapBlip.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ddf/EscherBitmapBlip.java?rev=780832&r1=780831&r2=780832&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/ddf/EscherBitmapBlip.java (original) +++ poi/trunk/src/java/org/apache/poi/ddf/EscherBitmapBlip.java Mon Jun 1 21:07:20 2009 @@ -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 @@ /** * @author Glen Stampoultzis - * @version $Id$ */ public class EscherBitmapBlip extends EscherBlipRecord { public static final short RECORD_ID_JPEG = (short) 0xF018 + 5; Modified: poi/trunk/src/java/org/apache/poi/hpsf/ClassID.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hpsf/ClassID.java?rev=780832&r1=780831&r2=780832&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hpsf/ClassID.java (original) +++ poi/trunk/src/java/org/apache/poi/hpsf/ClassID.java Mon Jun 1 21:07:20 2009 @@ -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 @@ * * @author Rainer Klute <klute@rainer-klute.de> - * @version $Id$ - * @since 2002-02-09 */ public class ClassID { Modified: poi/trunk/src/java/org/apache/poi/hpsf/Constants.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hpsf/Constants.java?rev=780832&r1=780831&r2=780832&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hpsf/Constants.java (original) +++ poi/trunk/src/java/org/apache/poi/hpsf/Constants.java Mon Jun 1 21:07:20 2009 @@ -22,8 +22,6 @@ * * @author Rainer Klute <klute@rainer-klute.de> - * @since 2004-06-20 - * @version $Id$ */ public class Constants { Modified: poi/trunk/src/java/org/apache/poi/hpsf/CustomProperties.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hpsf/CustomProperties.java?rev=780832&r1=780831&r2=780832&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hpsf/CustomProperties.java (original) +++ poi/trunk/src/java/org/apache/poi/hpsf/CustomProperties.java Mon Jun 1 21:07:20 2009 @@ -47,12 +47,10 @@ * 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 { Modified: poi/trunk/src/java/org/apache/poi/hpsf/CustomProperty.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hpsf/CustomProperty.java?rev=780832&r1=780831&r2=780832&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hpsf/CustomProperty.java (original) +++ poi/trunk/src/java/org/apache/poi/hpsf/CustomProperty.java Mon Jun 1 21:07:20 2009 @@ -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 @@ * * @author Rainer Klute <klute@rainer-klute.de> - * @version $Id$ - * @since 2003-02-19 */ public class MutablePropertySet extends PropertySet { Modified: poi/trunk/src/java/org/apache/poi/hpsf/MutableSection.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hpsf/MutableSection.java?rev=780832&r1=780831&r2=780832&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hpsf/MutableSection.java (original) +++ poi/trunk/src/java/org/apache/poi/hpsf/MutableSection.java Mon Jun 1 21:07:20 2009 @@ -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 @@ * *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 { Modified: poi/trunk/src/java/org/apache/poi/hpsf/NoFormatIDException.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hpsf/NoFormatIDException.java?rev=780832&r1=780831&r2=780832&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hpsf/NoFormatIDException.java (original) +++ poi/trunk/src/java/org/apache/poi/hpsf/NoFormatIDException.java Mon Jun 1 21:07:20 2009 @@ -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 @@ * * @author Rainer Klute <klute@rainer-klute.de> - * @version $Id$ - * @since 2002-09-03 */ public class NoFormatIDException extends HPSFRuntimeException { Modified: poi/trunk/src/java/org/apache/poi/hpsf/NoPropertySetStreamException.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hpsf/NoPropertySetStreamException.java?rev=780832&r1=780831&r2=780832&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hpsf/NoPropertySetStreamException.java (original) +++ poi/trunk/src/java/org/apache/poi/hpsf/NoPropertySetStreamException.java Mon Jun 1 21:07:20 2009 @@ -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 @@ * * @author Rainer Klute <klute@rainer-klute.de> - * @version $Id$ - * @since 2002-02-09 */ public class NoPropertySetStreamException extends HPSFException { Modified: poi/trunk/src/java/org/apache/poi/hpsf/NoSingleSectionException.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hpsf/NoSingleSectionException.java?rev=780832&r1=780831&r2=780832&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hpsf/NoSingleSectionException.java (original) +++ poi/trunk/src/java/org/apache/poi/hpsf/NoSingleSectionException.java Mon Jun 1 21:07:20 2009 @@ -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 @@ * * @author Rainer Klute <klute@rainer-klute.de> - * @version $Id$ - * @since 2002-02-09 */ public class NoSingleSectionException extends HPSFRuntimeException { Modified: poi/trunk/src/java/org/apache/poi/hpsf/Property.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hpsf/Property.java?rev=780832&r1=780831&r2=780832&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hpsf/Property.java (original) +++ poi/trunk/src/java/org/apache/poi/hpsf/Property.java Mon Jun 1 21:07:20 2009 @@ -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 @@ * @author Drew Varner (Drew.Varner InAndAround sc.edu) * @see Section * @see Variant - * @version $Id$ - * @since 2002-02-09 */ public class Property { Modified: poi/trunk/src/java/org/apache/poi/hpsf/PropertySet.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hpsf/PropertySet.java?rev=780832&r1=780831&r2=780832&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hpsf/PropertySet.java (original) +++ poi/trunk/src/java/org/apache/poi/hpsf/PropertySet.java Mon Jun 1 21:07:20 2009 @@ -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 @@ * @author Rainer Klute <klute@rainer-klute.de> * @author Drew Varner (Drew.Varner hanginIn sc.edu) - * @version $Id$ - * @since 2002-02-09 */ public class PropertySet { Modified: poi/trunk/src/java/org/apache/poi/hpsf/PropertySetFactory.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hpsf/PropertySetFactory.java?rev=780832&r1=780831&r2=780832&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hpsf/PropertySetFactory.java (original) +++ poi/trunk/src/java/org/apache/poi/hpsf/PropertySetFactory.java Mon Jun 1 21:07:20 2009 @@ -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 @@ * * @author Rainer Klute <klute@rainer-klute.de> - * @version $Id$ - * @since 2002-02-09 */ public class PropertySetFactory { Modified: poi/trunk/src/java/org/apache/poi/hpsf/ReadingNotSupportedException.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hpsf/ReadingNotSupportedException.java?rev=780832&r1=780831&r2=780832&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hpsf/ReadingNotSupportedException.java (original) +++ poi/trunk/src/java/org/apache/poi/hpsf/ReadingNotSupportedException.java Mon Jun 1 21:07:20 2009 @@ -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 @@ * * @author Rainer Klute <klute@rainer-klute.de> - * @since 2003-08-08 - * @version $Id$ */ public class ReadingNotSupportedException extends UnsupportedVariantTypeException Modified: poi/trunk/src/java/org/apache/poi/hpsf/Section.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hpsf/Section.java?rev=780832&r1=780831&r2=780832&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hpsf/Section.java (original) +++ poi/trunk/src/java/org/apache/poi/hpsf/Section.java Mon Jun 1 21:07:20 2009 @@ -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 @@ * @author Rainer Klute <klute@rainer-klute.de> * @author Drew Varner (Drew.Varner allUpIn sc.edu) - * @version $Id$ - * @since 2002-02-09 */ public class Section { Modified: poi/trunk/src/java/org/apache/poi/hpsf/SpecialPropertySet.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hpsf/SpecialPropertySet.java?rev=780832&r1=780831&r2=780832&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hpsf/SpecialPropertySet.java (original) +++ poi/trunk/src/java/org/apache/poi/hpsf/SpecialPropertySet.java Mon Jun 1 21:07:20 2009 @@ -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 @@ * * @author Rainer Klute <klute@rainer-klute.de> - * @version $Id$ - * @since 2002-02-09 */ public abstract class SpecialPropertySet extends MutablePropertySet { Modified: poi/trunk/src/java/org/apache/poi/hpsf/SummaryInformation.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hpsf/SummaryInformation.java?rev=780832&r1=780831&r2=780832&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hpsf/SummaryInformation.java (original) +++ poi/trunk/src/java/org/apache/poi/hpsf/SummaryInformation.java Mon Jun 1 21:07:20 2009 @@ -28,8 +28,6 @@ * @author Rainer Klute <klute@rainer-klute.de> * @see DocumentSummaryInformation - * @version $Id$ - * @since 2002-02-09 */ public class SummaryInformation extends SpecialPropertySet { Modified: poi/trunk/src/java/org/apache/poi/hpsf/Thumbnail.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hpsf/Thumbnail.java?rev=780832&r1=780831&r2=780832&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hpsf/Thumbnail.java (original) +++ poi/trunk/src/java/org/apache/poi/hpsf/Thumbnail.java Mon Jun 1 21:07:20 2009 @@ -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 @@ * * @author Drew Varner (Drew.Varner inOrAround sc.edu) * @see SummaryInformation#getThumbnail() - * @version $Id$ - * @since 2002-04-29 */ public class Thumbnail { Modified: poi/trunk/src/java/org/apache/poi/hpsf/TypeWriter.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hpsf/TypeWriter.java?rev=780832&r1=780831&r2=780832&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hpsf/TypeWriter.java (original) +++ poi/trunk/src/java/org/apache/poi/hpsf/TypeWriter.java Mon Jun 1 21:07:20 2009 @@ -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 @@ * * @author Rainer Klute <klute@rainer-klute.de> - * @version $Id$ - * @since 2003-02-20 */ public class TypeWriter { Modified: poi/trunk/src/java/org/apache/poi/hpsf/UnexpectedPropertySetTypeException.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hpsf/UnexpectedPropertySetTypeException.java?rev=780832&r1=780831&r2=780832&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hpsf/UnexpectedPropertySetTypeException.java (original) +++ poi/trunk/src/java/org/apache/poi/hpsf/UnexpectedPropertySetTypeException.java Mon Jun 1 21:07:20 2009 @@ -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 @@ * * @author Rainer Klute <klute@rainer-klute.de> - * @version $Id$ - * @since 2002-02-09 */ public class UnexpectedPropertySetTypeException extends HPSFException { Modified: poi/trunk/src/java/org/apache/poi/hpsf/UnsupportedVariantTypeException.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hpsf/UnsupportedVariantTypeException.java?rev=780832&r1=780831&r2=780832&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hpsf/UnsupportedVariantTypeException.java (original) +++ poi/trunk/src/java/org/apache/poi/hpsf/UnsupportedVariantTypeException.java Mon Jun 1 21:07:20 2009 @@ -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 @@ * * @author Rainer Klute <klute@rainer-klute.de> - * @since 2003-08-05 - * @version $Id$ */ public abstract class UnsupportedVariantTypeException extends VariantTypeException Modified: poi/trunk/src/java/org/apache/poi/hpsf/Util.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hpsf/Util.java?rev=780832&r1=780831&r2=780832&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hpsf/Util.java (original) +++ poi/trunk/src/java/org/apache/poi/hpsf/Util.java Mon Jun 1 21:07:20 2009 @@ -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 @@ *Provides various static utility methods.
* * @author Rainer Klute (klute@rainer-klute.de) - * @version $Id$ - * @since 2002-02-09 */ public class Util { Modified: poi/trunk/src/java/org/apache/poi/hpsf/Variant.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hpsf/Variant.java?rev=780832&r1=780831&r2=780832&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hpsf/Variant.java (original) +++ poi/trunk/src/java/org/apache/poi/hpsf/Variant.java Mon Jun 1 21:07:20 2009 @@ -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 @@ * [S] - may appear in a Safe Array. * * @author Rainer Klute (klute@rainer-klute.de) - * @version $Id$ - * @since 2002-02-09 */ public class Variant { Modified: poi/trunk/src/java/org/apache/poi/hpsf/VariantSupport.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hpsf/VariantSupport.java?rev=780832&r1=780831&r2=780832&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hpsf/VariantSupport.java (original) +++ poi/trunk/src/java/org/apache/poi/hpsf/VariantSupport.java Mon Jun 1 21:07:20 2009 @@ -45,8 +45,6 @@ * * @author Rainer Klute <klute@rainer-klute.de> - * @since 2003-08-08 - * @version $Id$ */ public class VariantSupport extends Variant { Modified: poi/trunk/src/java/org/apache/poi/hpsf/VariantTypeException.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hpsf/VariantTypeException.java?rev=780832&r1=780831&r2=780832&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hpsf/VariantTypeException.java (original) +++ poi/trunk/src/java/org/apache/poi/hpsf/VariantTypeException.java Mon Jun 1 21:07:20 2009 @@ -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 @@ * * @author Rainer Klute <klute@rainer-klute.de> - * @since 2004-06-21 - * @version $Id$ */ public abstract class VariantTypeException extends HPSFException { Modified: poi/trunk/src/java/org/apache/poi/hpsf/WritingNotSupportedException.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hpsf/WritingNotSupportedException.java?rev=780832&r1=780831&r2=780832&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hpsf/WritingNotSupportedException.java (original) +++ poi/trunk/src/java/org/apache/poi/hpsf/WritingNotSupportedException.java Mon Jun 1 21:07:20 2009 @@ -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 @@ * * @author Rainer Klute <klute@rainer-klute.de> - * @since 2003-08-08 - * @version $Id$ */ public class WritingNotSupportedException extends UnsupportedVariantTypeException Modified: poi/trunk/src/java/org/apache/poi/hpsf/wellknown/PropertyIDMap.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hpsf/wellknown/PropertyIDMap.java?rev=780832&r1=780831&r2=780832&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hpsf/wellknown/PropertyIDMap.java (original) +++ poi/trunk/src/java/org/apache/poi/hpsf/wellknown/PropertyIDMap.java Mon Jun 1 21:07:20 2009 @@ -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 @@ * * @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 Modified: poi/trunk/src/java/org/apache/poi/hpsf/wellknown/SectionIDMap.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hpsf/wellknown/SectionIDMap.java?rev=780832&r1=780831&r2=780832&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/hpsf/wellknown/SectionIDMap.java (original) +++ poi/trunk/src/java/org/apache/poi/hpsf/wellknown/SectionIDMap.java Mon Jun 1 21:07:20 2009 @@ -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 @@ * 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.
Modified: poi/trunk/src/java/org/apache/poi/util/ArrayUtil.java URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/util/ArrayUtil.java?rev=780832&r1=780831&r2=780832&view=diff ============================================================================== --- poi/trunk/src/java/org/apache/poi/util/ArrayUtil.java (original) +++ poi/trunk/src/java/org/apache/poi/util/ArrayUtil.java Mon Jun 1 21:07:20 2009 @@ -21,7 +21,6 @@ * Utility classes for dealing with arrays. * * @author Glen Stampoultzis - * @version $Id$ */ public class ArrayUtil { Modified: poi/trunk/src/testcases/org/apache/poi/hpsf/basic/AllDataFilesTester.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hpsf/basic/AllDataFilesTester.java?rev=780832&r1=780831&r2=780832&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hpsf/basic/AllDataFilesTester.java (original) +++ poi/trunk/src/testcases/org/apache/poi/hpsf/basic/AllDataFilesTester.java Mon Jun 1 21:07:20 2009 @@ -28,19 +28,14 @@ * * @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 { Modified: poi/trunk/src/testcases/org/apache/poi/hpsf/basic/POIFile.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hpsf/basic/POIFile.java?rev=780832&r1=780831&r2=780832&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hpsf/basic/POIFile.java (original) +++ poi/trunk/src/testcases/org/apache/poi/hpsf/basic/POIFile.java Mon Jun 1 21:07:20 2009 @@ -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 { Modified: poi/trunk/src/testcases/org/apache/poi/hpsf/basic/TestBasic.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hpsf/basic/TestBasic.java?rev=780832&r1=780831&r2=780832&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hpsf/basic/TestBasic.java (original) +++ poi/trunk/src/testcases/org/apache/poi/hpsf/basic/TestBasic.java Mon Jun 1 21:07:20 2009 @@ -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.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 { Modified: poi/trunk/src/testcases/org/apache/poi/hpsf/basic/TestEmptyProperties.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hpsf/basic/TestEmptyProperties.java?rev=780832&r1=780831&r2=780832&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hpsf/basic/TestEmptyProperties.java (original) +++ poi/trunk/src/testcases/org/apache/poi/hpsf/basic/TestEmptyProperties.java Mon Jun 1 21:07:20 2009 @@ -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 @@ * * @author Rainer Klute <klute@rainer-klute.de> - * @since 2003-07-25 - * @version $Id$ */ public class TestEmptyProperties extends TestCase { Modified: poi/trunk/src/testcases/org/apache/poi/hpsf/basic/TestMetaDataIPI.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hpsf/basic/TestMetaDataIPI.java?rev=780832&r1=780831&r2=780832&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hpsf/basic/TestMetaDataIPI.java (original) +++ poi/trunk/src/testcases/org/apache/poi/hpsf/basic/TestMetaDataIPI.java Mon Jun 1 21:07:20 2009 @@ -45,8 +45,6 @@ * 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 @@ 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 Modified: poi/trunk/src/testcases/org/apache/poi/hpsf/basic/TestReadAllFiles.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hpsf/basic/TestReadAllFiles.java?rev=780832&r1=780831&r2=780832&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hpsf/basic/TestReadAllFiles.java (original) +++ poi/trunk/src/testcases/org/apache/poi/hpsf/basic/TestReadAllFiles.java Mon Jun 1 21:07:20 2009 @@ -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 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 @@ 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); - } - } Modified: poi/trunk/src/testcases/org/apache/poi/hpsf/basic/TestUnicode.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hpsf/basic/TestUnicode.java?rev=780832&r1=780831&r2=780832&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hpsf/basic/TestUnicode.java (original) +++ poi/trunk/src/testcases/org/apache/poi/hpsf/basic/TestUnicode.java Mon Jun 1 21:07:20 2009 @@ -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.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 @@ 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 @@ 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); - } - } Modified: poi/trunk/src/testcases/org/apache/poi/hpsf/basic/TestWrite.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hpsf/basic/TestWrite.java?rev=780832&r1=780831&r2=780832&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hpsf/basic/TestWrite.java (original) +++ poi/trunk/src/testcases/org/apache/poi/hpsf/basic/TestWrite.java Mon Jun 1 21:07:20 2009 @@ -64,14 +64,10 @@ 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 @@ POIFile[] poiFiles; - - /** - *Constructor
- * - * @param name the test case's name - */ - public TestWrite(final String name) - { - super(name); - } - - - /** * @see TestCase#setUp() */ @@ -923,20 +906,4 @@ 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); - } - } Modified: poi/trunk/src/testcases/org/apache/poi/hpsf/basic/TestWriteWellKnown.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hpsf/basic/TestWriteWellKnown.java?rev=780832&r1=780831&r2=780832&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hpsf/basic/TestWriteWellKnown.java (original) +++ poi/trunk/src/testcases/org/apache/poi/hpsf/basic/TestWriteWellKnown.java Mon Jun 1 21:07:20 2009 @@ -54,33 +54,17 @@ 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 @@ 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); - } - } Modified: poi/trunk/src/testcases/org/apache/poi/hpsf/basic/Util.java URL: http://svn.apache.org/viewvc/poi/trunk/src/testcases/org/apache/poi/hpsf/basic/Util.java?rev=780832&r1=780831&r2=780832&view=diff ============================================================================== --- poi/trunk/src/testcases/org/apache/poi/hpsf/basic/Util.java (original) +++ poi/trunk/src/testcases/org/apache/poi/hpsf/basic/Util.java Mon Jun 1 21:07:20 2009 @@ -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 @@ *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 @@ System.out.println("Current directory: " + System.getProperty("user.dir")); } - - - } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org For additional commands, e-mail: commits-help@poi.apache.org