Skip to content

Commit 9a117e6

Browse files
committed
Improve some links in javadocs.
DEVSIX-3096 Autoported commit. Original commit hash: [2a0ee3fcd] Manual files: io/src/main/java/com/itextpdf/io/image/AwtImageDataFactory.java
1 parent 751d9c4 commit 9a117e6

File tree

7 files changed

+27
-24
lines changed

7 files changed

+27
-24
lines changed

itext/itext.io/itext/io/image/DrawingImageFactory.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ source product.
4848

4949
namespace iText.IO.Image {
5050
internal class DrawingImageFactory {
51-
/// <summary>Gets an instance of an Image from a java.awt.Image</summary>
52-
/// <param name="image">the java.awt.Image to convert</param>
51+
/// <summary>Gets an instance of an Image from <see cref="System.Drawing.Image"/></summary>
52+
/// <param name="image">the <see cref="System.Drawing.Image"/> to convert</param>
5353
/// <param name="color">if different from <CODE>null</CODE> the transparency pixels are replaced by this color
5454
/// </param>
5555
/// <returns>RawImage</returns>
@@ -59,9 +59,9 @@ public static ImageData GetImage(System.Drawing.Image image, Color? color) {
5959
}
6060

6161
/// <summary>
62-
/// Gets an instance of an Image from a System.Drwaing.Image.
62+
/// Gets an instance of an Image from a <see cref="System.Drawing.Image"/>.
6363
/// </summary>
64-
/// <param name="image">the System.Drawing.Image to convert</param>
64+
/// <param name="image">the <see cref="System.Drawing.Image"/> to convert</param>
6565
/// <param name="color">
6666
/// if different from null the transparency
6767
/// pixels are replaced by this color

itext/itext.io/itext/io/source/RAFRandomAccessSource.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@ internal class RAFRandomAccessSource : IRandomAccessSource {
5757
/// <summary>The length of the underling RAF.</summary>
5858
/// <remarks>
5959
/// The length of the underling RAF. Note that the length is cached at construction time to avoid the possibility
60-
/// of java.io.IOExceptions when reading the length.
60+
/// of
61+
/// <see cref="System.IO.IOException"/>
62+
/// s when reading the length.
6163
/// </remarks>
6264
private readonly long length;
6365

itext/itext.io/itext/io/util/HashCode.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ namespace iText.IO.Util {
5252
/// This class is a convenience method to sequentially calculate hash code of the
5353
/// object based on the field values. The result depends on the order of elements
5454
/// appended. The exact formula is the same as for
55-
/// <code>java.util.List.hashCode</code>.
55+
/// <see cref="System.Collections.IList{E}.GetHashCode()"/>
56+
/// .
5657
/// If you need order independent hash code just summate, multiply or XOR all
5758
/// elements.
5859
/// <p>

itext/itext.kernel/itext/kernel/pdf/PdfStream.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ public virtual PdfOutputStream GetOutputStream() {
190190
/// <remarks>
191191
/// Gets compression level of this PdfStream.
192192
/// For more details @see
193-
/// <see cref="Java.Util.Zip.Deflater"/>
193+
/// <see cref="iText.IO.Source.DeflaterOutputStream"/>
194194
/// .
195195
/// </remarks>
196196
/// <returns>compression level.</returns>
@@ -202,7 +202,7 @@ public virtual int GetCompressionLevel() {
202202
/// <remarks>
203203
/// Sets compression level of this PdfStream.
204204
/// For more details @see
205-
/// <see cref="Java.Util.Zip.Deflater"/>
205+
/// <see cref="iText.IO.Source.DeflaterOutputStream"/>
206206
/// .
207207
/// </remarks>
208208
/// <param name="compressionLevel">the compression level (0 = best speed, 9 = best compression, -1 is default)

itext/itext.kernel/itext/kernel/pdf/PdfWriter.cs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public virtual bool IsFullCompression() {
126126
/// <remarks>
127127
/// Gets default compression level for @see PdfStream.
128128
/// For more details @see
129-
/// <see cref="Java.Util.Zip.Deflater"/>
129+
/// <see cref="iText.IO.Source.DeflaterOutputStream"/>
130130
/// .
131131
/// </remarks>
132132
/// <returns>compression level.</returns>
@@ -138,7 +138,7 @@ public virtual int GetCompressionLevel() {
138138
/// <remarks>
139139
/// Sets default compression level for @see PdfStream.
140140
/// For more details @see
141-
/// <see cref="Java.Util.Zip.Deflater"/>
141+
/// <see cref="iText.IO.Source.DeflaterOutputStream"/>
142142
/// .
143143
/// </remarks>
144144
/// <param name="compressionLevel">compression level.</param>
@@ -315,11 +315,11 @@ protected internal virtual void WriteHeader() {
315315

316316
/// <summary>Flushes all objects which have not been flushed yet.</summary>
317317
/// <param name="forbiddenToFlush">
318-
///
318+
/// a
319319
/// <see cref="Java.Util.Set{E}"/>
320-
/// &lt;
321-
/// <see cref="PdfIndirectReference"/>
322-
/// &gt; of references that are forbidden to be flushed automatically.
320+
/// of
321+
/// <see cref="PdfIndirectReference">references</see>
322+
/// that are forbidden to be flushed automatically.
323323
/// </param>
324324
protected internal virtual void FlushWaitingObjects(ICollection<PdfIndirectReference> forbiddenToFlush) {
325325
PdfXrefTable xref = document.GetXref();
@@ -347,11 +347,11 @@ protected internal virtual void FlushWaitingObjects(ICollection<PdfIndirectRefer
347347
/// <summary>Flushes all modified objects which have not been flushed yet.</summary>
348348
/// <remarks>Flushes all modified objects which have not been flushed yet. Used in case incremental updates.</remarks>
349349
/// <param name="forbiddenToFlush">
350-
///
350+
/// a
351351
/// <see cref="Java.Util.Set{E}"/>
352-
/// &lt;
353-
/// <see cref="PdfIndirectReference"/>
354-
/// &gt; of references that are forbidden to be flushed automatically.
352+
/// of
353+
/// <see cref="PdfIndirectReference">references</see>
354+
/// that are forbidden to be flushed automatically.
355355
/// </param>
356356
protected internal virtual void FlushModifiedWaitingObjects(ICollection<PdfIndirectReference> forbiddenToFlush
357357
) {

itext/itext.sign/itext/signatures/CertificateInfo.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -210,12 +210,12 @@ public override String ToString() {
210210
}
211211
}
212212

213-
/// <summary>Class for breaking up an X500 Name into it's component tokens, similar to java.util.StringTokenizer.
214-
/// </summary>
215-
/// <remarks>
216-
/// Class for breaking up an X500 Name into it's component tokens, similar to java.util.StringTokenizer.
213+
/// <summary>
214+
/// Class for breaking up an X500 Name into it's component tokens, similar to
215+
/// <see cref="iText.IO.Util.StringTokenizer"/>
216+
/// .
217217
/// We need this class as some of the lightweight Java environments don't support classes such as StringTokenizer.
218-
/// </remarks>
218+
/// </summary>
219219
public class X509NameTokenizer {
220220
private String oid;
221221

port-hash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ea6f4a1a6cf30fc080fa44b34006a82bfa568f71
1+
2a0ee3fcd028074a30aceddb3d21660fa981e88f

0 commit comments

Comments
 (0)