]> source.dussan.org Git - poi.git/commitdiff
Remove unnecessary semicolons
authorDominik Stadler <centic@apache.org>
Sat, 16 Sep 2017 08:23:15 +0000 (08:23 +0000)
committerDominik Stadler <centic@apache.org>
Sat, 16 Sep 2017 08:23:15 +0000 (08:23 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808511 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/poi/common/usermodel/fonts/FontGroup.java
src/java/org/apache/poi/hpsf/Section.java
src/java/org/apache/poi/sl/draw/geom/Guide.java
src/java/org/apache/poi/sl/usermodel/PaintStyle.java
src/java/org/apache/poi/ss/usermodel/Row.java
src/scratchpad/testcases/org/apache/poi/hwpf/model/TestPAPBinTable.java
src/testcases/org/apache/poi/hpsf/basic/TestMetaDataIPI.java

index b1c294588ec698c8700ea5c77f57d74e98645fc2..671f84dff327387bb589d3569f2bab66845fc3a0 100644 (file)
@@ -101,7 +101,7 @@ public enum FontGroup {
         UCS_RANGES.put(0xFB1D,  new Range(0xFB4F, COMPLEX_SCRIPT));
         UCS_RANGES.put(0xFE50,  new Range(0xFE6F, LATIN));
         // All others EAST_ASIAN
-    };
+    }
 
 
     /**
index accb177cc6373d64811d19e13e770abb8624e05e..4f62eab80c7ffa50a2a4c4b3714dacdde811d538 100644 (file)
@@ -232,7 +232,7 @@ public class Section {
                     } catch (RuntimeException e) {
                         LOG.log(POILogger.INFO, "Dictionary fallback failed - ignoring property");
                     }
-                };
+                }
             } else {
                 setProperty(new Property(id, leis, pLen, codepage));
             }
index 4c34355e581e56ec9403de0cbb75a218ad6c8c58..7b60d9e551d7e7375cf114264f7b0059c59282f7 100644 (file)
@@ -37,7 +37,7 @@ import org.apache.poi.sl.draw.binding.CTGeomGuide;
  */
 public class Guide implements Formula {
     enum Op {
-        muldiv,addsub,adddiv,ifelse,val,abs,sqrt,max,min,at2,sin,cos,tan,cat2,sat2,pin,mod;
+        muldiv,addsub,adddiv,ifelse,val,abs,sqrt,max,min,at2,sin,cos,tan,cat2,sat2,pin,mod
     }
 
     private final String name, fmla;
index 70bea055f7adb566ab7fe22b020007b0aaa082c6..0ce32a1eb0bdf2f65b02ab84b840f00b19b2e993 100644 (file)
@@ -38,7 +38,7 @@ public interface PaintStyle {
         /** darken the paint/filling */
         DARKEN,
         /** darken (... a bit less) the paint/filling */
-        DARKEN_LESS;
+        DARKEN_LESS
     }
 
     interface SolidPaint extends PaintStyle {
index 71defe2e7c6f66466db3a438a561bf3c6bed9357..4f5645a0e033e078288349747e96fa9ae6144bc6 100644 (file)
@@ -237,7 +237,7 @@ public interface Row extends Iterable<Cell> {
     public enum MissingCellPolicy {
         RETURN_NULL_AND_BLANK,
         RETURN_BLANK_AS_NULL,
-        CREATE_NULL_AS_BLANK;
+        CREATE_NULL_AS_BLANK
     }
     
     /**
index 064648128154ae6e517ccf542fc9790b4f48fb32..1befadb5f470959c0d1b2d82b76d01a11230a7ef 100644 (file)
@@ -34,7 +34,7 @@ public final class TestPAPBinTable {
     @Test
     public void testObIs() throws IOException {
         // shall not fail with assertions on
-        HWPFTestDataSamples.openSampleFile( "ob_is.doc" ).close();;
+        HWPFTestDataSamples.openSampleFile( "ob_is.doc" ).close();
     }
 
     @Test
index ebcf7008bab49fd0fc067e798505ebc2d35b0627..de4dea27eff5f3d0ff0b7b66e7e5702342b9bbc6 100644 (file)
@@ -544,8 +544,8 @@ public final class TestMetaDataIPI {
         /* Read the document summary information. */
         DirectoryEntry dir = poifs.getRoot();
         
-        dsi = (DocumentSummaryInformation)PropertySetFactory.create(dir, DocumentSummaryInformation.DEFAULT_STREAM_NAME);;
-        si = (SummaryInformation)PropertySetFactory.create(dir, SummaryInformation.DEFAULT_STREAM_NAME);;
+        dsi = (DocumentSummaryInformation)PropertySetFactory.create(dir, DocumentSummaryInformation.DEFAULT_STREAM_NAME);
+        si = (SummaryInformation)PropertySetFactory.create(dir, SummaryInformation.DEFAULT_STREAM_NAME);
     }
 
     /**