Skip to content

Commit 6f0141d

Browse files
Mark redundant LayoutRect and X509ExtensionBase classes as deprecated
LayoutRect is an artifact of early porting to .NET stages, and X509ExtensionBase class was added by mistake. ITXT-CR-1116
1 parent 739c74f commit 6f0141d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

itext/itext.kernel/bouncycastle/x509/X509ExtensionBase.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
namespace Org.BouncyCastle.X509
88
{
9+
[System.ObsoleteAttribute(@"Will be removed in iText 7.2. Use the same class from BouncyCastle.Crypto dependency.")]
910
public abstract class X509ExtensionBase
1011
: IX509Extension
1112
{

itext/itext.layout/itext/layout/layout/LayoutRect.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ source product.
4343
*/
4444
namespace com.itextpdf.layout.layout
4545
{
46+
[System.ObsoleteAttribute(@"Will be removed in iText 7.2. Use iText.Kernel.Geom.Rectangle instead.")]
4647
public class LayoutRect
4748
{
4849
protected internal float x;

0 commit comments

Comments
 (0)