Skip to content

Commit e481f70

Browse files
committed
Deprecate Cell#add(Table) method.
1 parent 637c5e1 commit e481f70

File tree

1 file changed

+2
-0
lines changed
  • layout/src/main/java/com/itextpdf/layout/element

1 file changed

+2
-0
lines changed

layout/src/main/java/com/itextpdf/layout/element/Cell.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,9 @@ public Cell add(Image element) {
178178
*
179179
* @param element a nested {@link Table}
180180
* @return this Element
181+
* @deprecated use {@link #add(IBlockElement)} instead.
181182
*/
183+
@Deprecated
182184
public Cell add(Table element) {
183185
childElements.add(element);
184186
return this;

0 commit comments

Comments
 (0)