From: PJ Fanning Date: Mon, 17 Jul 2017 08:24:24 +0000 (+0000) Subject: javadoc: replace invalid self enclosing elements X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=810d03f49970b59435d107e94283c52d0c9933a0;p=poi.git javadoc: replace invalid self enclosing elements git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1802110 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/examples/src/org/apache/poi/hssf/usermodel/examples/HSSFReadWrite.java b/src/examples/src/org/apache/poi/hssf/usermodel/examples/HSSFReadWrite.java index 1f56f7ec5e..2393b18122 100644 --- a/src/examples/src/org/apache/poi/hssf/usermodel/examples/HSSFReadWrite.java +++ b/src/examples/src/org/apache/poi/hssf/usermodel/examples/HSSFReadWrite.java @@ -140,15 +140,15 @@ public final class HSSFReadWrite { * Method main * * Given 1 argument takes that as the filename, inputs it and dumps the - * cell values/types out to sys.out.
+ * cell values/types out to sys.out.
* * given 2 arguments where the second argument is the word "write" and the * first is the filename - writes out a sample (test) spreadsheet - * see {@link HSSFReadWrite#testCreateSampleSheet(String)}.
+ * see {@link HSSFReadWrite#testCreateSampleSheet(String)}.
* * given 2 arguments where the first is an input filename and the second * an output filename (not write), attempts to fully read in the - * spreadsheet and fully write it out.
+ * spreadsheet and fully write it out.
* * given 3 arguments where the first is an input filename and the second an * output filename (not write) and the third is "modify1", attempts to read in the diff --git a/src/examples/src/org/apache/poi/hssf/view/SVSheetTable.java b/src/examples/src/org/apache/poi/hssf/view/SVSheetTable.java index c9e2090877..30ce49f8e5 100644 --- a/src/examples/src/org/apache/poi/hssf/view/SVSheetTable.java +++ b/src/examples/src/org/apache/poi/hssf/view/SVSheetTable.java @@ -64,11 +64,11 @@ public class SVSheetTable extends JTable { /** * This field is the magic number to convert from a Character width to a java * pixel width. - *

+ *

* When the "normal" font size in a workbook changes, this effects all of the * heights and widths. Unfortunately there is no way to retrieve this * information, hence the MAGIC number. - *

+ *

* This number may only work for the normal style font size of Arial size 10. */ private static final int magicCharFactor = 7; diff --git a/src/examples/src/org/apache/poi/hssf/view/brush/PendingPaintings.java b/src/examples/src/org/apache/poi/hssf/view/brush/PendingPaintings.java index 3b95c05ac1..a8b3849dc5 100644 --- a/src/examples/src/org/apache/poi/hssf/view/brush/PendingPaintings.java +++ b/src/examples/src/org/apache/poi/hssf/view/brush/PendingPaintings.java @@ -29,7 +29,7 @@ import java.util.List; * initial paint of the component, and then executed at the appropriate time, * such as at the end of the containing object's {@link * JComponent#paintChildren(Graphics)} method. - *

+ *

* It is up to the parent component to invoke the {@link #paint(Graphics2D)} * method of this objet at that appropriate time. * @@ -153,7 +153,7 @@ public class PendingPaintings { * is retrieved from the first object found that has a {@link * #PENDING_PAINTINGS} client property, starting with this component and * looking up its ancestors (parent, parent's parent, etc.) - *

+ *

* This allows any descendant of a component that has a {@link * PendingPaintings} property to add its own pending paintings. * diff --git a/src/examples/src/org/apache/poi/xssf/eventusermodel/XLSX2CSV.java b/src/examples/src/org/apache/poi/xssf/eventusermodel/XLSX2CSV.java index bd537c1d15..09ac0ed2c8 100644 --- a/src/examples/src/org/apache/poi/xssf/eventusermodel/XLSX2CSV.java +++ b/src/examples/src/org/apache/poi/xssf/eventusermodel/XLSX2CSV.java @@ -46,7 +46,7 @@ import org.xml.sax.XMLReader; * org.apache.poi.hssf.eventusermodel.examples. * As with the HSSF version, this tries to spot missing * rows and cells, and output empty entries for them. - *

+ *

* Data sheets are read using a SAX parser to keep the * memory footprint relatively small, so this should be * able to read enormous workbooks. The styles table and @@ -55,7 +55,7 @@ import org.xml.sax.XMLReader; * (read-only) class is used for the shared string table * because the standard POI SharedStringsTable grows very * quickly with the number of unique strings. - *

+ *

* For a more advanced implementation of SAX event parsing * of XLSX files, see {@link XSSFEventBasedExcelExtractor} * and {@link XSSFSheetXMLHandler}. Note that for many cases, diff --git a/src/examples/src/org/apache/poi/xwpf/usermodel/examples/UpdateEmbeddedDoc.java b/src/examples/src/org/apache/poi/xwpf/usermodel/examples/UpdateEmbeddedDoc.java index 77e04a7ef8..4b1641b97f 100644 --- a/src/examples/src/org/apache/poi/xwpf/usermodel/examples/UpdateEmbeddedDoc.java +++ b/src/examples/src/org/apache/poi/xwpf/usermodel/examples/UpdateEmbeddedDoc.java @@ -144,14 +144,14 @@ public class UpdateEmbeddedDoc { * Called to test whether or not the embedded workbook was correctly * updated. This method simply recovers the first cell from the first row * of the first workbook and tests the value it contains. - *

+ *

* Note that execution will not continue up to the assertion as the * embedded workbook is now corrupted and causes an IllegalArgumentException * with the following message - *

+ *

* java.lang.IllegalArgumentException: Your InputStream was neither an * OLE2 stream, nor an OOXML stream - *

+ *

* to be thrown when the WorkbookFactory.createWorkbook(InputStream) method * is executed. * diff --git a/src/excelant/testcases/org/apache/poi/ss/excelant/BuildFileTest.java b/src/excelant/testcases/org/apache/poi/ss/excelant/BuildFileTest.java index 2e0feae806..2a4d714980 100644 --- a/src/excelant/testcases/org/apache/poi/ss/excelant/BuildFileTest.java +++ b/src/excelant/testcases/org/apache/poi/ss/excelant/BuildFileTest.java @@ -37,7 +37,7 @@ import org.apache.tools.ant.ProjectHelper; /** * A BuildFileTest is a TestCase which executes targets from an Ant buildfile * for testing. - *

+ *

* This class provides a number of utility methods for particular build file * tests which extend this class. * @@ -73,7 +73,7 @@ public abstract class BuildFileTest extends TestCase { /** * Automatically calls the target called "tearDown" * from the build file tested if it exits. - *

+ *

* This allows to use Ant tasks directly in the build file * to clean up after each test. Note that no "setUp" target * is automatically called, since it's trivial to have a @@ -215,7 +215,7 @@ public abstract class BuildFileTest extends TestCase { /** * Gets the log the BuildFileTest object. - *

+ *

* Only valid if configureProject() has been called. * * @return The log value diff --git a/src/java/org/apache/poi/hssf/model/InternalSheet.java b/src/java/org/apache/poi/hssf/model/InternalSheet.java index 35723ae1bb..397c1f6e31 100644 --- a/src/java/org/apache/poi/hssf/model/InternalSheet.java +++ b/src/java/org/apache/poi/hssf/model/InternalSheet.java @@ -75,7 +75,7 @@ public final class InternalSheet { private PageSettingsBlock _psBlock; /** - * 'Worksheet Protection Block'
+ * 'Worksheet Protection Block'
* Aggregate object is always present, but possibly empty. */ private final WorksheetProtectionBlock _protectionBlock = new WorksheetProtectionBlock(); diff --git a/src/java/org/apache/poi/hssf/model/LinkTable.java b/src/java/org/apache/poi/hssf/model/LinkTable.java index cc40258382..3e12384e9d 100644 --- a/src/java/org/apache/poi/hssf/model/LinkTable.java +++ b/src/java/org/apache/poi/hssf/model/LinkTable.java @@ -40,21 +40,21 @@ import org.apache.poi.ss.formula.ptg.Ref3DPtg; import org.apache.poi.ss.usermodel.Workbook; /** - * Link Table (OOO pdf reference: 4.10.3 )

+ * Link Table (OOO pdf reference: 4.10.3 )

* * The main data of all types of references is stored in the Link Table inside the Workbook Globals * Substream (4.2.5). The Link Table itself is optional and occurs only if there are any * references in the document. - *

+ *

* * In BIFF8 the Link Table consists of *