Browse Source

Remove unnecesssary semicolons

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1849761 13f79535-47bb-0310-9956-ffa450edef68
tags/REL_4_1_0
Dominik Stadler 5 years ago
parent
commit
235f3e059c

+ 1
- 1
src/java/org/apache/poi/sl/usermodel/PlaceholderDetails.java View File

@@ -25,7 +25,7 @@ package org.apache.poi.sl.usermodel;
*/
public interface PlaceholderDetails {
enum PlaceholderSize {
quarter, half, full;
quarter, half, full
}
Placeholder getPlaceholder();

+ 1
- 1
src/java/org/apache/poi/ss/formula/functions/Trend.java View File

@@ -207,7 +207,7 @@ public final class Trend implements Function {
allEquals = false;
break;
}
};
}
return allEquals;

}

+ 2
- 2
src/ooxml/java/org/apache/poi/openxml4j/opc/internal/marshallers/PackagePropertiesMarshaller.java View 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";


+ 1
- 1
src/ooxml/java/org/apache/poi/xddf/usermodel/chart/ChartTypes.java View File

@@ -21,5 +21,5 @@ public enum ChartTypes {
LINE,
PIE,
RADAR,
SCATTER;
SCATTER
}

+ 1
- 1
src/ooxml/java/org/apache/poi/xddf/usermodel/chart/LayoutMode.java View 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),

+ 1
- 1
src/ooxml/java/org/apache/poi/xddf/usermodel/chart/LayoutTarget.java View 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),

+ 1
- 1
src/ooxml/java/org/apache/poi/xddf/usermodel/chart/XDDFChartData.java View 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());

+ 1
- 1
src/ooxml/java/org/apache/poi/xddf/usermodel/text/XDDFSpacing.java View 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;

+ 0
- 1
src/ooxml/java/org/apache/poi/xddf/usermodel/text/XDDFTextParagraph.java View File

@@ -242,7 +242,6 @@ public class XDDFTextParagraph {
public void setIndentation(Double points) {
if (points != null || _p.isSetPPr()) {
getOrCreateProperties().setIndentation(points);
;
}
}


+ 1
- 1
src/ooxml/java/org/apache/poi/xslf/usermodel/XSLFPictureShape.java View 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);
}

+ 1
- 1
src/ooxml/java/org/apache/poi/xssf/usermodel/charts/AbstractXSSFChartSeries.java View 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

+ 1
- 1
src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFTable.java View 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 }

+ 1
- 1
src/ooxml/testcases/org/apache/poi/openxml4j/opc/ZipFileAssert.java View 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 */

+ 3
- 3
src/ooxml/testcases/org/apache/poi/sl/TestOleShape.java View 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)

+ 1
- 1
src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestUnfixedBugs.java View 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();

+ 1
- 1
src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFTable.java View 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);

Loading…
Cancel
Save