diff --git a/jenkins/create_jobs.groovy b/jenkins/create_jobs.groovy index 2f413f4f7e..656914c795 100644 --- a/jenkins/create_jobs.groovy +++ b/jenkins/create_jobs.groovy @@ -691,7 +691,7 @@ Unfortunately we often see builds break because of changes/new machines...''') 'adoptopenjdk_hotspot_8u282', 'ibmjdk_1.8.0_261' ) - // Note H50 is reserved according to it's node-descripion + // Note H50 is reserved according to its node-description label('Nodes','H22','H23','H24','H25','H26','H27','H28','H29','H30','H31','H32','H33','H34','H35','H36','H37','H38','H39','H40','H41','H42','H43','H44','H48','lucene1','lucene2','master') } steps { diff --git a/poi-examples/src/main/java/org/apache/poi/examples/ss/AddDimensionedImage.java b/poi-examples/src/main/java/org/apache/poi/examples/ss/AddDimensionedImage.java index 67fbb68142..56ee62d271 100644 --- a/poi-examples/src/main/java/org/apache/poi/examples/ss/AddDimensionedImage.java +++ b/poi-examples/src/main/java/org/apache/poi/examples/ss/AddDimensionedImage.java @@ -135,7 +135,7 @@ import java.util.Locale; *
* Note that the final four method calls all pass the same value and seem to * indicate that the images top left hand corner is aligned with the top left - * hand corner of cell A1 and that it's bottom right hand corner is also + * hand corner of cell A1 and that its bottom right hand corner is also * aligned with the top left hand corner of cell A1. Yet, running this code * would see the image fully occupying cell A1. That is the result of the * values passed to parameters three and four; these I have referred to as @@ -406,7 +406,7 @@ public class AddDimensionedImage { * the image, adjusts the columns width if necessary and creates then * returns a ClientAnchorDetail object that facilitates construction of * an ClientAnchor that will fix the image on the sheet and establish - * it's size. + * its size. * * @param sheet A reference to the sheet that will 'contain' the image. * @param colNumber A primitive int that contains the index number of a @@ -483,7 +483,7 @@ public class AddDimensionedImage { // Mow many co-ordinate positions are there per millimetre? colCoordinatesPerMM = ConvertImageUnits.TOTAL_COLUMN_COORDINATE_POSITIONS / colWidthMM; - // Given the width of the image, what should be it's co-ordinate? + // Given the width of the image, what should be its co-ordinate? pictureWidthCoordinates = (int) (reqImageWidthMM * colCoordinatesPerMM); } else { pictureWidthCoordinates = (int) reqImageWidthMM * @@ -500,7 +500,7 @@ public class AddDimensionedImage { * the image, adjusts the rows height if necessary and creates then * returns a ClientAnchorDetail object that facilitates construction of * a ClientAnchor that will fix the image on the sheet and establish - * it's size. + * its size. * * @param sheet A reference to the sheet that will 'contain' the image. * @param rowNumber A primitive int that contains the index number of a @@ -528,7 +528,7 @@ public class AddDimensionedImage { int pictureHeightCoordinates; ClientAnchorDetail rowClientAnchorDetail = null; - // Get the row and it's height + // Get the row and its height row = sheet.getRow(rowNumber); if (row == null) { // Create row if it does not exist. @@ -624,7 +624,7 @@ public class AddDimensionedImage { colWidthMM = ConvertImageUnits.widthUnits2Millimetres( (short) (sheet.getColumnWidth(toColumn))); // Note use of the cell border width constant. Testing with an image - // declared to fit exactly into one column demonstrated that it's + // declared to fit exactly into one column demonstrated that its // width was greater than the width of the column the POI returned. // Further, this difference was a constant value that I am assuming // related to the cell's borders. Either way, that difference needs diff --git a/poi-examples/src/main/java/org/apache/poi/examples/ss/LinkedDropDownLists.java b/poi-examples/src/main/java/org/apache/poi/examples/ss/LinkedDropDownLists.java index 106b3c14f9..68c78adf15 100644 --- a/poi-examples/src/main/java/org/apache/poi/examples/ss/LinkedDropDownLists.java +++ b/poi-examples/src/main/java/org/apache/poi/examples/ss/LinkedDropDownLists.java @@ -77,7 +77,7 @@ public class LinkedDropDownLists { LinkedDropDownLists.buildDataSheet(sheet); // Build the first data validation to occupy cell A1. Note - // that it retrieves it's data from the named area or region called + // that it retrieves its data from the named area or region called // CHOICES. Further information about this can be found in the // static buildDataSheet() method below. CellRangeAddressList addressList = new CellRangeAddressList(0, 0, 0, 0); diff --git a/poi-examples/src/main/java/org/apache/poi/examples/ss/ToCSV.java b/poi-examples/src/main/java/org/apache/poi/examples/ss/ToCSV.java index 3716c5c4eb..7053d3bba9 100644 --- a/poi-examples/src/main/java/org/apache/poi/examples/ss/ToCSV.java +++ b/poi-examples/src/main/java/org/apache/poi/examples/ss/ToCSV.java @@ -327,7 +327,7 @@ public class ToCSV { } // Step through each of the files in the source folder and for each - // open the workbook, convert it's contents to CSV format and then + // open the workbook, convert its contents to CSV format and then // save the resulting file away into the folder specified by the // contents of the destination variable. Note that the name of the // csv file will be created by taking the name of the Excel file, @@ -342,7 +342,7 @@ public class ToCSV { // Open the workbook this.openWorkbook(excelFile); - // Convert it's contents into a CSV file + // Convert its contents into a CSV file this.convertToCSV(); // Build the name of the csv folder from that of the Excel workbook. @@ -451,7 +451,7 @@ public class ToCSV { // from this 'row' ArrayList one at a time and to write the Strings // away to a StringBuilder thus assembling a single line for inclusion // in the CSV file. If a row was empty or if it was short, then - // the ArrayList that contains it's data will also be shorter than + // the ArrayList that contains its data will also be shorter than // some of the others. Therefore, it is necessary to check within // the for loop to ensure that the ArrayList contains data to be // processed. If it does, then an element will be recovered and diff --git a/poi-examples/src/main/java/org/apache/poi/examples/xslf/AddVideoToPptx.java.txt b/poi-examples/src/main/java/org/apache/poi/examples/xslf/AddVideoToPptx.java.txt index 910d264236..0b6225b6ee 100644 --- a/poi-examples/src/main/java/org/apache/poi/examples/xslf/AddVideoToPptx.java.txt +++ b/poi-examples/src/main/java/org/apache/poi/examples/xslf/AddVideoToPptx.java.txt @@ -236,7 +236,7 @@ public class AddVideoToPptx { if (mLastPtsWrite == Global.NO_PTS) mLastPtsWrite = Math.max(0, evtTS - MICRO_SECONDS_BETWEEN_FRAMES); - // if it's time to write the next frame + // if its time to write the next frame if (evtTS - mLastPtsWrite >= MICRO_SECONDS_BETWEEN_FRAMES) { if (!hasFired) { image = event.getImage(); diff --git a/poi-excelant/src/main/java/org/apache/poi/ss/excelant/ExcelAntHandlerTask.java b/poi-excelant/src/main/java/org/apache/poi/ss/excelant/ExcelAntHandlerTask.java index b2f9266d76..f996c978df 100644 --- a/poi-excelant/src/main/java/org/apache/poi/ss/excelant/ExcelAntHandlerTask.java +++ b/poi-excelant/src/main/java/org/apache/poi/ss/excelant/ExcelAntHandlerTask.java @@ -37,7 +37,7 @@ import org.apache.tools.ant.Task; *
* In order to use this tag you must write a class that implements the
* {@code IExcelAntWorkbookHandler} interface. After writing the
- * class you should package it and it's dependencies into a jar file to
+ * class you should package it and its dependencies into a jar file to
* add as library in your Ant build file.
*/
public class ExcelAntHandlerTask extends Task {
diff --git a/poi-ooxml/src/main/java/org/apache/poi/xslf/usermodel/XMLSlideShow.java b/poi-ooxml/src/main/java/org/apache/poi/xslf/usermodel/XMLSlideShow.java
index 9c9fd0ad1d..40441588a4 100644
--- a/poi-ooxml/src/main/java/org/apache/poi/xslf/usermodel/XMLSlideShow.java
+++ b/poi-ooxml/src/main/java/org/apache/poi/xslf/usermodel/XMLSlideShow.java
@@ -509,7 +509,7 @@ public class XMLSlideShow extends POIXMLDocument
if (shape instanceof XSLFGroupShape) {
removePictureRelations(slide, (XSLFGroupShape)shape, picture);
}
- // ... or the picture shape with this picture data and remove it's relation to the picture data.
+ // ... or the picture shape with this picture data and remove its relation to the picture data.
if (shape instanceof XSLFPictureShape) {
XSLFPictureShape pic = (XSLFPictureShape) shape;
if (pic.getPictureData() == picture) {
diff --git a/poi-ooxml/src/main/java/org/apache/poi/xslf/usermodel/XSLFShape.java b/poi-ooxml/src/main/java/org/apache/poi/xslf/usermodel/XSLFShape.java
index 1dbaee537f..3ab4c7c6bd 100644
--- a/poi-ooxml/src/main/java/org/apache/poi/xslf/usermodel/XSLFShape.java
+++ b/poi-ooxml/src/main/java/org/apache/poi/xslf/usermodel/XSLFShape.java
@@ -106,7 +106,7 @@ public abstract class XSLFShape implements Shape
- *
*