diff --git a/build.xml b/build.xml index 2113f59d58..81637304bf 100644 --- a/build.xml +++ b/build.xml @@ -2178,7 +2178,6 @@ under the License. - diff --git a/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFSheetShiftRowsAndColumns.java b/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFSheetShiftRowsAndColumns.java index 3d4592fddf..86a71b8fb6 100644 --- a/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFSheetShiftRowsAndColumns.java +++ b/src/ooxml/testcases/org/apache/poi/xssf/usermodel/TestXSSFSheetShiftRowsAndColumns.java @@ -67,7 +67,7 @@ public class TestXSSFSheetShiftRowsAndColumns { for (int nCol = 0; nCol < numCols; ++nCol) { final XSSFCell cell = row.createCell(nCol); cell.setCellType(CellType.STRING); - cell.setCellValue(String.format("Row %d col %d", nRow, nCol)); + cell.setCellValue(String.format(Locale.US, "Row %d col %d", nRow, nCol)); } } /* @@ -75,7 +75,7 @@ public class TestXSSFSheetShiftRowsAndColumns { */ final CellRangeAddress range=new CellRangeAddress(FIRST_MERGE_ROW,LAST_MERGE_ROW,FIRST_MERGE_COL,LAST_MERGE_COL); sheet.addMergedRegion(range); - System.out.println(String.format("\n%s: mergeArea=%s", procName,range)); + System.out.println(String.format(Locale.US, "\n%s: mergeArea=%s", procName,range)); } @@ -123,7 +123,7 @@ public class TestXSSFSheetShiftRowsAndColumns { testCellAddresses(procName,0,0); testMergeRegion(procName,0,0); - System.out.println(String.format("%s: finished without error", procName)); + System.out.println(String.format(Locale.US, "%s: finished without error", procName)); } @Test @@ -134,7 +134,7 @@ public class TestXSSFSheetShiftRowsAndColumns { sheet.shiftRows(INSERT_ROW, numRows-1, nRowsToShift); testCellAddresses(procName,nRowsToShift,0); - System.out.println(String.format("%s: finished without error", procName)); + System.out.println(String.format(Locale.US, "%s: finished without error", procName)); } @Ignore("currently fails") @@ -146,7 +146,7 @@ public class TestXSSFSheetShiftRowsAndColumns { sheet.shiftRows(INSERT_ROW, numRows-1, nRowsToShift); testMergeRegion(procName,nRowsToShift,0); - System.out.println(String.format("%s: finished without error", procName)); + System.out.println(String.format(Locale.US, "%s: finished without error", procName)); } @Test @@ -157,7 +157,7 @@ public class TestXSSFSheetShiftRowsAndColumns { sheet.shiftColumns(INSERT_COLUMN, numCols-1, nShift); testCellAddresses(procName,0,nShift); - System.out.println(String.format("%s: finished without error", procName)); + System.out.println(String.format(Locale.US, "%s: finished without error", procName)); } @Ignore("currently fails") @@ -169,7 +169,7 @@ public class TestXSSFSheetShiftRowsAndColumns { sheet.shiftColumns(INSERT_COLUMN, numCols-1, nShift); testMergeRegion(procName,0,nShift); - System.out.println(String.format("%s: finished without error", procName)); + System.out.println(String.format(Locale.US, "%s: finished without error", procName)); } /** @@ -181,14 +181,14 @@ public class TestXSSFSheetShiftRowsAndColumns { for(int nRow=0;nRow