summaryrefslogtreecommitdiff
path: root/xmerge/source/xmerge/java/org/openoffice/xmerge/merger/diff/TextNodeEntry.java
diff options
context:
space:
mode:
authorrbuj <robert.buj@gmail.com>2014-09-04 15:58:32 +0200
committerNoel Grandin <noelgrandin@gmail.com>2014-09-04 09:08:09 -0500
commita5a9457609e8bbe76a8c6d620b81b8666c2e4491 (patch)
tree9651dc29fa39243b87b0ffc79b20b6d5305f0a42 /xmerge/source/xmerge/java/org/openoffice/xmerge/merger/diff/TextNodeEntry.java
parent8e4dc1d760d85e09bbc3f3bbb5b8be2947db1b63 (diff)
xmerge: javadoc maintenance and minor code formatting
Javadoc: * Replaces <code>..</code> tags with {@code ..}. * Replaces HTML entities with {@literal ..} * Removes <p>..</p> tags in the first sentence. * Reduces code snippet spacing. * Adds tables. * Uses only one space after a comment delimiter. * Adjusts the margins. Minor code formating: * Removes some extra blank lines (very few). * Fixes some indentations (very few). * Adjusts the margins in some method headers (very few). Change-Id: I01bd9df58e4cb41bc3a38a2b2d3d7d2612081c32 Reviewed-on: https://gerrit.libreoffice.org/11202 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'xmerge/source/xmerge/java/org/openoffice/xmerge/merger/diff/TextNodeEntry.java')
-rw-r--r--xmerge/source/xmerge/java/org/openoffice/xmerge/merger/diff/TextNodeEntry.java34
1 files changed, 16 insertions, 18 deletions
diff --git a/xmerge/source/xmerge/java/org/openoffice/xmerge/merger/diff/TextNodeEntry.java b/xmerge/source/xmerge/java/org/openoffice/xmerge/merger/diff/TextNodeEntry.java
index d20a0055e9c3..ebe234fdadf7 100644
--- a/xmerge/source/xmerge/java/org/openoffice/xmerge/merger/diff/TextNodeEntry.java
+++ b/xmerge/source/xmerge/java/org/openoffice/xmerge/merger/diff/TextNodeEntry.java
@@ -21,10 +21,11 @@ package org.openoffice.xmerge.merger.diff;
import org.w3c.dom.Node;
/**
- * A small class to hold the start/end character position and the
- * <code>Node</code> pointer in a text <code>Node</code>. It is
- * mainly used for character parser to make a list of text
- * <code>Node</code> cache entries.
+ * A small class to hold the start/end character position and the {@code Node}
+ * pointer in a text {@code Node}.
+ *
+ * <p>It is mainly used for character parser to make a list of text {@code Node}
+ * cache entries.</p>
*/
public class TextNodeEntry {
@@ -33,11 +34,11 @@ public class TextNodeEntry {
private Node node_;
/**
- * Constructor
+ * Constructor
*
- * @param startChar The start character position.
- * @param endChar The end character position.
- * @param node The text <code>Node</code>.
+ * @param startChar The start character position.
+ * @param endChar The end character position.
+ * @param node The text {@code Node}.
*/
public TextNodeEntry(int startChar, int endChar, Node node) {
startChar_ = startChar;
@@ -46,32 +47,29 @@ public class TextNodeEntry {
}
/**
- * Returns the start character.
+ * Returns the start character.
*
- * @return The start character.
+ * @return The start character.
*/
public int startChar() {
return startChar_;
}
-
/**
- * Returns the end character.
+ * Returns the end character.
*
- * @return The end character.
+ * @return The end character.
*/
public int endChar() {
return endChar_;
}
-
/**
- * Returns the <code>Node</code>.
+ * Returns the {@code Node}.
*
- * @return The <code>Node</code>.
+ * @return The {@code Node}.
*/
public Node node() {
return node_;
}
-}
-
+} \ No newline at end of file