Skip to content

Commit d995464

Browse files
committed
build(qulice): upgrade to 0.35.2 and fix all reported violations
Bump qulice-maven-plugin from 0.31.1 to 0.35.2 and resolve every violation the new checks report: missing blank lines before javadoc block tags, unclosed paragraph tags in javadoc, two implicit constructors made explicit with javadoc, and one single-use constant inlined at its call site. Qulice checked 55 files against 1020 rules with zero violations.
1 parent 2fd0169 commit d995464

56 files changed

Lines changed: 151 additions & 42 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@
484484
<plugin>
485485
<groupId>com.qulice</groupId>
486486
<artifactId>qulice-maven-plugin</artifactId>
487-
<version>0.31.1</version>
487+
<version>0.35.2</version>
488488
<configuration>
489489
<excludes combine.children="append">
490490
<exclude>xml:/src/it/settings.xml</exclude>

‎src/main/java/org/xembly/AddDirective.java‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
/**
1515
* ADD directive.
1616
*
17-
* <p>The class is immutable and thread-safe.
17+
* <p>The class is immutable and thread-safe.</p>
1818
*
1919
* @since 0.1
2020
*/
@@ -28,6 +28,7 @@ final class AddDirective implements Directive {
2828

2929
/**
3030
* Public ctor.
31+
*
3132
* @param node Name of node to add
3233
* @throws XmlContentException If invalid input
3334
*/

‎src/main/java/org/xembly/AddIfDirective.java‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
/**
1515
* ADDIF directive.
1616
*
17-
* <p>The class is immutable and thread-safe.
17+
* <p>The class is immutable and thread-safe.</p>
1818
*
1919
* @since 0.1
2020
*/
@@ -28,6 +28,7 @@ final class AddIfDirective implements Directive {
2828

2929
/**
3030
* Public ctor.
31+
*
3132
* @param node Name of node to add
3233
* @throws XmlContentException If invalid input
3334
*/

‎src/main/java/org/xembly/Arg.java‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
/**
1010
* Argument properly escaped.
1111
*
12-
* <p>The class is immutable and thread-safe.
12+
* <p>The class is immutable and thread-safe.</p>
1313
*
1414
* @since 0.1
1515
*/
@@ -23,6 +23,7 @@ final class Arg {
2323

2424
/**
2525
* Public ctor.
26+
*
2627
* @param val Value of it
2728
* @throws XmlContentException If fails
2829
*/
@@ -32,6 +33,7 @@ final class Arg {
3233

3334
/**
3435
* Primary ctor.
36+
*
3537
* @param chars Validated characters
3638
*/
3739
private Arg(final char... chars) {
@@ -45,6 +47,7 @@ public String toString() {
4547

4648
/**
4749
* Get it's raw value.
50+
*
4851
* @return Value
4952
*/
5053
String raw() {
@@ -53,6 +56,7 @@ String raw() {
5356

5457
/**
5558
* Un-escape all XML symbols.
59+
*
5660
* @param text XML text
5761
* @return Clean text
5862
* @throws XmlContentException If fails

‎src/main/java/org/xembly/AttrDirective.java‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
/**
1212
* ATTR directive.
1313
*
14-
* <p>The class is immutable and thread-safe.
14+
* <p>The class is immutable and thread-safe.</p>
1515
*
1616
* @since 0.1
1717
*/
@@ -30,6 +30,7 @@ final class AttrDirective implements Directive {
3030

3131
/**
3232
* Public ctor.
33+
*
3334
* @param attr Attribute name
3435
* @param val Text value to set
3536
* @throws XmlContentException If invalid input

‎src/main/java/org/xembly/Callback.java‎

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

77
/**
88
* A task that returns a result and may throw an {@link XmlContentException}.
9+
*
910
* @param <V> Type of computed result
1011
* @since 0.31.0
1112
*/
@@ -14,6 +15,7 @@ public interface Callback<V> {
1415

1516
/**
1617
* Computes a result.
18+
*
1719
* @return The computed result
1820
* @throws XmlContentException If unable to compute a result
1921
*/

‎src/main/java/org/xembly/CdataDirective.java‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
/**
1212
* CDATA directive.
1313
*
14-
* <p>The class is immutable and thread-safe.
14+
* <p>The class is immutable and thread-safe.</p>
1515
*
1616
* @since 0.17
1717
*/
@@ -25,6 +25,7 @@ final class CdataDirective implements Directive {
2525

2626
/**
2727
* Public ctor.
28+
*
2829
* @param val Text value to set
2930
* @throws XmlContentException If invalid input
3031
*/

‎src/main/java/org/xembly/CommentDirective.java‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
/**
1212
* COMMENT directive.
1313
*
14-
* <p>The class is immutable and thread-safe.
14+
* <p>The class is immutable and thread-safe.</p>
1515
*
1616
* @since 0.23
1717
*/
@@ -25,6 +25,7 @@ final class CommentDirective implements Directive {
2525

2626
/**
2727
* Public ctor.
28+
*
2829
* @param val Text value to set
2930
* @throws XmlContentException If invalid input
3031
*/

‎src/main/java/org/xembly/Directive.java‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
* <p>Use {@link Directives} to create a collection of them. You don't
1414
* need to use this interface directly and make instances of it. Everything
15-
* is done through {@link Directives} and {@link Xembler}.
15+
* is done through {@link Directives} and {@link Xembler}.</p>
1616
*
1717
* @since 0.1
1818
*/
@@ -21,6 +21,7 @@ public interface Directive {
2121

2222
/**
2323
* Execute it in the given document with current position at the given node.
24+
*
2425
* @param dom Document
2526
* @param cursor Nodes we're currently at
2627
* @param stack Execution stack
@@ -32,25 +33,29 @@ Directive.Cursor exec(Node dom, Directive.Cursor cursor,
3233

3334
/**
3435
* Cursor.
36+
*
3537
* @since 0.16
3638
*/
3739
interface Cursor extends Collection<Node> {
3840
}
3941

4042
/**
4143
* Stack.
44+
*
4245
* @since 0.16
4346
*/
4447
interface Stack {
4548

4649
/**
4750
* Push cursor (runtime exception if stack is full).
51+
*
4852
* @param cursor Cursor to push
4953
*/
5054
void push(Directive.Cursor cursor);
5155

5256
/**
5357
* Pop cursor (runtime exception if stack is empty).
58+
*
5459
* @return Cursor recently added
5560
* @throws ImpossibleModificationException If fails
5661
*/

0 commit comments

Comments
 (0)