]> source.dussan.org Git - poi.git/commitdiff
Remove unnecesssary semicolons
authorDominik Stadler <centic@apache.org>
Wed, 26 Dec 2018 13:27:50 +0000 (13:27 +0000)
committerDominik Stadler <centic@apache.org>
Wed, 26 Dec 2018 13:27:50 +0000 (13:27 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1849761 13f79535-47bb-0310-9956-ffa450edef68

16 files changed:
src/java/org/apache/poi/sl/usermodel/PlaceholderDetails.java
src/java/org/apache/poi/ss/formula/functions/Trend.java
src/ooxml/java/org/apache/poi/openxml4j/opc/internal/marshallers/PackagePropertiesMarshaller.java
src/ooxml/java/org/apache/poi/xddf/usermodel/chart/ChartTypes.java
src/ooxml/java/org/apache/poi/xddf/usermodel/chart/LayoutMode.java
src/ooxml/java/org/apache/poi/xddf/usermodel/chart/LayoutTarget.java
src/ooxml/java/org/apache/poi/xddf/usermodel/chart/XDDFChartData.java
src/ooxml/java/org/apache/poi/xddf/usermodel/text/XDDFSpacing.java
src/ooxml/java/org/apache/poi/xddf/usermodel/text/XDDFTextParagraph.java
src/ooxml/java/org/apache/poi/xslf/usermodel/XSLFPictureShape.java
src/ooxml/java/org/apache/poi/xssf/usermodel/charts/AbstractXSSFChartSeries.java
src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFTable.java
src/ooxml/testcases/org/apache/poi/openxml4j/opc/ZipFileAssert.java
src/ooxml/testcases/org/apache/poi/sl/TestOleShape.java
src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestUnfixedBugs.java
src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFTable.java

index 377b5c5b769f1fbb991ec73c456bce4b620e51ca..7c4418f1645c473b65d9b7bb93244fe1a4f9cc01 100644 (file)
@@ -25,7 +25,7 @@ package org.apache.poi.sl.usermodel;
  */
 public interface PlaceholderDetails {
     enum PlaceholderSize {
-        quarter, half, full;
+        quarter, half, full
     }
     
     Placeholder getPlaceholder();
index 155c1a57a571513ad24398670d55df72e701bab3..ec10277d7e4e8bdc2276c9638f6f7f7d3aac3212 100644 (file)
@@ -207,7 +207,7 @@ public final class Trend implements Function {
                 allEquals = false;
                 break;
             }
-        };
+        }
         return allEquals;
 
     }
index 6daffae21cf0ba41afeea206b72bcd442000bdca..4e858067fef1b5269e3dd9c230583b68053e46a8 100644 (file)
@@ -37,11 +37,11 @@ public class PackagePropertiesMarshaller implements PartMarshaller {
     private final static NamespaceImpl namespaceDC =
             new NamespaceImpl("dc", PackagePropertiesPart.NAMESPACE_DC_URI);
     private final static NamespaceImpl namespaceCoreProperties =
-            new NamespaceImpl("cp", PackagePropertiesPart.NAMESPACE_CP_URI);;
+            new NamespaceImpl("cp", PackagePropertiesPart.NAMESPACE_CP_URI);
     private final static NamespaceImpl namespaceDcTerms =
             new NamespaceImpl("dcterms", PackagePropertiesPart.NAMESPACE_DCTERMS_URI);
     private final static NamespaceImpl namespaceXSI =
-            new NamespaceImpl("xsi", XMLConstants.W3C_XML_SCHEMA_INSTANCE_NS_URI);;
+            new NamespaceImpl("xsi", XMLConstants.W3C_XML_SCHEMA_INSTANCE_NS_URI);
 
     protected static final String KEYWORD_CATEGORY = "category";
 
index 9dbec09aaab314b33cb840a940447dbf72009e7f..7ecaab06993c86d8e283dab950498f110575bec6 100644 (file)
@@ -21,5 +21,5 @@ public enum ChartTypes {
     LINE,
     PIE,
     RADAR,
-    SCATTER;
+    SCATTER
 }
index 398d71b3c8ac921236d4869b9426984d5d1b6616..31ad6e7a490e2d7f41599ed3ec172fb8f7ac656f 100644 (file)
@@ -19,7 +19,7 @@ package org.apache.poi.xddf.usermodel.chart;
 
 import java.util.HashMap;
 
-import org.openxmlformats.schemas.drawingml.x2006.chart.STLayoutMode;;
+import org.openxmlformats.schemas.drawingml.x2006.chart.STLayoutMode;
 
 public enum LayoutMode {
     EDGE(STLayoutMode.EDGE),
index b4ba3513c0bc02df3c16a3c3eec05127bc5cac4b..9ef337e4171ca4954cfaddd606ba0a084968c03f 100644 (file)
@@ -19,7 +19,7 @@ package org.apache.poi.xddf.usermodel.chart;
 
 import java.util.HashMap;
 
-import org.openxmlformats.schemas.drawingml.x2006.chart.STLayoutTarget;;
+import org.openxmlformats.schemas.drawingml.x2006.chart.STLayoutTarget;
 
 public enum LayoutTarget {
     INNER(STLayoutTarget.INNER),
index 8c3f6a7559b95538662a990ccf76437d83d91d42..e23b51a46ca8cdb5aa928ea494fbbd91ce7b4891 100644 (file)
@@ -132,7 +132,7 @@ public abstract class XDDFChartData {
                 }
                 if (cache.sizeOfPtArray() < 1) {
                     cache.addNewPtCount().setVal(1);
-                    cache.addNewPt().setIdx(0);;
+                    cache.addNewPt().setIdx(0);
                 }
                 cache.getPtArray(0).setV(title);
                 ref.setF(titleRef.formatAsString());
index 56970386c2439055810135b8886bbb557dbe1974..39da4a4c367aac1467320b5ccfb3f22c09bda7d7 100644 (file)
@@ -25,7 +25,7 @@ import org.openxmlformats.schemas.drawingml.x2006.main.CTTextSpacing;
 public abstract class XDDFSpacing {
     public static enum Kind {
         PERCENT,
-        POINTS;
+        POINTS
     }
 
     protected CTTextSpacing spacing;
index fffa2da81af2161c1601b84cbfe43996de435394..0b595241f5f24a7ee3d3dcda3eed64f398c42c4a 100644 (file)
@@ -242,7 +242,6 @@ public class XDDFTextParagraph {
     public void setIndentation(Double points) {
         if (points != null || _p.isSetPPr()) {
             getOrCreateProperties().setIndentation(points);
-            ;
         }
     }
 
index 07b2f01726ce6de1ed3efa7bb8928c2c7c70c683..9c4e23f060f204f2acbbb0fac42ae6903b64346a 100644 (file)
@@ -238,7 +238,7 @@ public class XSLFPictureShape extends XSLFSimpleShape
             cur.dispose();
         }
 
-        final int svgId = getExt(extLst, SVG_URI);;
+        final int svgId = getExt(extLst, SVG_URI);
         if (svgId != -1) {
             extLst.removeExt(svgId);
         }
index 7756abdf8667dee9849d3fcea995c3851768b426..e053c7eea7db349bdf0e97a383c96ff3bf82acf9 100644 (file)
@@ -22,7 +22,7 @@ import org.apache.poi.ss.usermodel.charts.TitleType;
 import org.apache.poi.ss.util.CellReference;
 import org.apache.poi.util.Removal;
 import org.openxmlformats.schemas.drawingml.x2006.chart.CTSerTx;
-import org.apache.poi.xddf.usermodel.chart.XDDFChartData.Series;;
+import org.apache.poi.xddf.usermodel.chart.XDDFChartData.Series;
 
 /**
  * Base of all XSSF Chart Series
index 9352fe8a1d5a0d55980a5ad636e4b83bcaa3acd8..df607fd5177e4fb537ba58ab653a0f432bce3ef3 100644 (file)
@@ -65,7 +65,7 @@ public class XWPFTable implements IBodyElement, ISDTContents {
         THIN_THICK_MEDIUM_GAP, THICK_THIN_MEDIUM_GAP, THIN_THICK_THIN_MEDIUM_GAP,
         THIN_THICK_LARGE_GAP, THICK_THIN_LARGE_GAP, THIN_THICK_THIN_LARGE_GAP,
         WAVE, DOUBLE_WAVE, DASH_SMALL_GAP, DASH_DOT_STROKED, THREE_D_EMBOSS, THREE_D_ENGRAVE,
-        OUTSET, INSET;
+        OUTSET, INSET
     }
 
     private enum Border { INSIDE_V, INSIDE_H, LEFT, TOP, BOTTOM, RIGHT }
index 05325791ff4f821047ead856920b907272d9feed..56f4a9baece491d81ee36bf775b11715edffe3b3 100644 (file)
@@ -99,7 +99,7 @@ public final class ZipFileAssert {
         BufferedInputStream buffi = new BufferedInputStream(file_decompress);
 
         /* Open the file with the buffer */
-        ZipArchiveInputStream zis = new ZipArchiveInputStream(buffi);
+        ZipArchiveInputStream zis = new ZipArchiveInputStream(buffi)
         ) {
 
             /* Processing entries of the zip file */
index 00614e21020557fab50948cc4969ce6c9c83e0e3..44f901d5e0aaf08e8961f33edc5cfaa471ca09d0 100644 (file)
@@ -95,9 +95,9 @@ public class TestOleShape {
         "jHkKLEAUFMA+04XC1EzX6UdMAALxcERgK444+wB0Go1CA3jANCNRGdj1UoyIZhlpPsMobf48GmkeI1Pp8xi" +
         "Nsm0eo9O3/mAoAvIFEKIQ58wPgrAtK+oJwyjAmL0+bBEPBugzGsUoiKAKhSQGmYjD4y3trXD/AmBc9IeqBwAA";
     
-    enum Api { HSLF, XSLF };
-    
-    
+    enum Api { HSLF, XSLF }
+
+
     @Parameter(value = 0)
     public Api api;
     @Parameter(value = 1)
index bc058c8f20b5cf8b6a4c4c89566b09ba81d54ecd..45b130578aea0c0a58ffd43610e6ae15429d90f0 100644 (file)
@@ -343,7 +343,7 @@ public final class TestUnfixedBugs {
     @Test
     public void bug57423_shiftRowsByLargeOffset() throws IOException {
         try (
-                XSSFWorkbook wb = new XSSFWorkbook();
+                XSSFWorkbook wb = new XSSFWorkbook()
                 //OutputStream out = new FileOutputStream("/tmp/57423." + wb.getClass().getName() + ".xlsx"));
         ) {
             Sheet sh = wb.createSheet();
index b00431942680505bf6249f251352872bf883fbc0..5a949d6caf21a62e913b83661774969107ad31f4 100644 (file)
@@ -451,7 +451,7 @@ public final class TestXSSFTable {
 
     @Test(expected = IllegalArgumentException.class)
     public void testCreateColumnInvalidIndex() throws IOException {
-        try (XSSFWorkbook wb = new XSSFWorkbook();) {
+        try (XSSFWorkbook wb = new XSSFWorkbook()) {
             XSSFSheet sh = wb.createSheet();
             AreaReference tableArea = new AreaReference("D2:D3", wb.getSpreadsheetVersion());
             XSSFTable table = sh.createTable(tableArea);