diff --git a/src/ooxml/java/org/apache/poi/xssf/model/SharedStringsTable.java b/src/ooxml/java/org/apache/poi/xssf/model/SharedStringsTable.java
index bbd77398a9..241d06f63d 100644
--- a/src/ooxml/java/org/apache/poi/xssf/model/SharedStringsTable.java
+++ b/src/ooxml/java/org/apache/poi/xssf/model/SharedStringsTable.java
@@ -143,7 +143,7 @@ public class SharedStringsTable extends POIXMLDocumentPart {
*
* @param idx index of item to return.
* @return the item at the specified position in this Shared String table.
- * @deprecated use addSharedStringItem(RichTextString string)
instead
+ * @deprecated use getItemAt(int idx)
instead
*/
@Removal(version = "4.2")
public CTRst getEntryAt(int idx) {