remove deprecated methods from CommentsTable

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1801692 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2017-07-12 08:15:44 +00:00
parent 1f8de11b31
commit f11bb182e9

View File

@ -89,15 +89,6 @@ public class CommentsTable extends POIXMLDocumentPart {
out.close();
}
/**
* Called after the reference is updated, so that
* we can reflect that in our cache
* @deprecated 2015-11-23 (circa POI 3.14beta1). Use {@link #referenceUpdated(CellAddress, CTComment)} instead
*/
public void referenceUpdated(String oldReference, CTComment comment) {
referenceUpdated(new CellAddress(oldReference), comment);
}
/**
* Called after the reference is updated, so that
* we can reflect that in our cache
@ -133,17 +124,6 @@ public class CommentsTable extends POIXMLDocumentPart {
return addNewAuthor(author);
}
/**
* Finds the cell comment at cellAddress, if one exists
*
* @param cellRef the address of the cell to find a comment
* @return cell comment if one exists, otherwise returns null
* @deprecated 2015-11-23 (circa POI 3.14beta1). Use {@link #findCellComment(CellAddress)} instead
*/
public XSSFComment findCellComment(String cellRef) {
return findCellComment(new CellAddress(cellRef));
}
/**
* Finds the cell comment at cellAddress, if one exists
*
@ -155,19 +135,6 @@ public class CommentsTable extends POIXMLDocumentPart {
return ct == null ? null : new XSSFComment(this, ct, null);
}
/**
* Get the underlying CTComment xmlbean for a comment located at cellRef, if it exists
*
* @param ref the location of the cell comment
* @return CTComment xmlbean if comment exists, otherwise return null.
* @deprecated 2015-11-23 (circa POI 3.14beta1). Use {@link CommentsTable#getCTComment(CellAddress)} instead
*/
@Internal
public CTComment getCTComment(String ref) {
return getCTComment(new CellAddress(ref));
}
/**
* Get the underlying CTComment xmlbean for a comment located at cellRef, if it exists
*
@ -214,18 +181,6 @@ public class CommentsTable extends POIXMLDocumentPart {
}
}
/**
* Create a new comment located at cell address
*
* @param ref the location to add the comment
* @return a new CTComment located at ref with default author
* @deprecated 2015-11-23 (circa POI 3.14beta1). Use {@link #newComment(CellAddress)} instead
*/
@Internal
public CTComment newComment(String ref) {
return newComment(new CellAddress(ref));
}
/**
* Create a new comment located` at cell address
*
@ -243,17 +198,6 @@ public class CommentsTable extends POIXMLDocumentPart {
}
return ct;
}
/**
* Remove the comment at cellRef location, if one exists
*
* @param cellRef the location of the comment to remove
* @return returns true if a comment was removed
* @deprecated 2015-11-23 (circa POI 3.14beta1). Use {@link #removeComment(CellAddress)} instead
*/
public boolean removeComment(String cellRef) {
return removeComment(new CellAddress(cellRef));
}
/**
* Remove the comment at cellRef location, if one exists