Skip to content

Commit 55afed0

Browse files
committed
Merge branch 'master' of github.com:yegor256/qulice
2 parents 6edd2ed + 145ec3a commit 55afed0

File tree

18 files changed

+47
-45
lines changed

18 files changed

+47
-45
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<img alt="logo" src="https://www.qulice.com/logo.svg" width="200px" height="55px"/>
1+
# Qulice
2+
3+
![logo](https://www.qulice.com/logo.svg)
24

35
[![EO principles respected here](https://www.elegantobjects.org/badge.svg)](https://www.elegantobjects.org)
46
[![DevOps By Rultor.com](https://www.rultor.com/b/yegor256/qulice)](https://www.rultor.com/p/yegor256/qulice)
@@ -72,7 +74,7 @@ they don't violate our quality standards. To avoid frustration, before
7274
sending us your pull request please run full Maven build:
7375

7476
```bash
75-
$ mvn clean install -Pqulice
77+
mvn clean install -Pqulice
7678
```
7779

7880
Keep in mind that JDK 11+ and Maven 3.8+ are the lowest versions you may use.

qulice-checkstyle/src/main/java/com/qulice/checkstyle/MethodsOrderCheck.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -198,11 +198,11 @@ private enum Modifiers {
198198

199199
/**
200200
* Constructor.
201-
* @param typ TokenType of DetailAST which represents modifier
201+
* @param type TokenType of DetailAST which represents modifier
202202
* @param ord Order of the modifier in class definition
203203
*/
204-
Modifiers(final Integer typ, final Integer ord) {
205-
this.type = typ;
204+
Modifiers(final Integer type, final Integer ord) {
205+
this.type = type;
206206
this.order = ord;
207207
}
208208

qulice-checkstyle/src/main/java/com/qulice/checkstyle/MultilineJavadocTagsCheck.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* * method by another class
2222
* * &#64;todo #123 I will implement it later, when more information
2323
* * come to light and I have documentation supplied by
24-
* * AAA team in the office accross the street
24+
* * AAA team in the office across the street
2525
* *&#47;
2626
* public void func() {
2727
* // ...

qulice-checkstyle/src/main/java/com/qulice/checkstyle/parameters/Arguments.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public class Arguments {
2525

2626
/**
2727
* Secondary ctor.
28-
* @param node Constructor or method defenition node.
28+
* @param node Constructor or method definition node.
2929
*/
3030
public Arguments(final DetailAST node) {
3131
this(

qulice-checkstyle/src/main/java/com/qulice/checkstyle/parameters/Parameters.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,23 +29,23 @@ public class Parameters {
2929
private final int parent;
3030

3131
/**
32-
* Childs TokenType (TYPE_PARAMETER or PARAMETER_DEF).
32+
* Children TokenType (TYPE_PARAMETER or PARAMETER_DEF).
3333
* @see com.puppycrawl.tools.checkstyle.api.TokenTypes
3434
*/
35-
private final int childs;
35+
private final int children;
3636

3737
/**
3838
* Primary ctor.
3939
* @param node Class, interface, constructor or method definition node.
4040
* @param parent Parent TokenType (TYPE_PARAMETERS or PARAMETERS).
41-
* @param childs Childs TokenType (TYPE_PARAMETER or PARAMETER_DEF).
41+
* @param children Children TokenType (TYPE_PARAMETER or PARAMETER_DEF).
4242
*/
4343
public Parameters(
44-
final DetailAST node, final int parent, final int childs
44+
final DetailAST node, final int parent, final int children
4545
) {
4646
this.node = node;
4747
this.parent = parent;
48-
this.childs = childs;
48+
this.children = children;
4949
}
5050

5151
/**
@@ -58,7 +58,7 @@ public final int count() {
5858
if (params == null) {
5959
result = 0;
6060
} else {
61-
result = params.getChildCount(this.childs);
61+
result = params.getChildCount(this.children);
6262
}
6363
return result;
6464
}
@@ -77,7 +77,7 @@ public final List<DetailAST> parameters() {
7777
result = new ArrayList<>(count);
7878
DetailAST child = params.getFirstChild();
7979
while (child != null) {
80-
if (child.getType() == this.childs) {
80+
if (child.getType() == this.children) {
8181
result.add(child);
8282
}
8383
child = child.getNextSibling();

qulice-checkstyle/src/main/java/com/qulice/checkstyle/parameters/TypeParameters.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public class TypeParameters {
2525

2626
/**
2727
* Secondary ctor.
28-
* @param node Class, interface, constructor or method defenition node.
28+
* @param node Class, interface, constructor or method definition node.
2929
*/
3030
public TypeParameters(final DetailAST node) {
3131
this(

qulice-checkstyle/src/test/resources/com/qulice/checkstyle/AtClauseOrder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public static int secondMethod() {
5252
}
5353

5454
/**
55-
* Just a class with inavlid Javadoc.
55+
* Just a class with invalid Javadoc.
5656
*
5757
* @since 1.0
5858
*/

qulice-checkstyle/src/test/resources/com/qulice/checkstyle/BlankLinesInsideMethodsFail.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*/
1010
public final class BlankLinesInsideMethodsFail {
1111
/**
12-
* Method with space inbetween anonymous innter class methods.
12+
* Method with space between anonymous innter class methods.
1313
*/
1414
public void methodwithAnonymousInnerClass() {
1515

qulice-checkstyle/src/test/resources/com/qulice/checkstyle/BlankLinesOutsideMethodsPass.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*/
1010
public final class BlankLinesOutsideMethodsPass {
1111
/**
12-
* Method with space inbetween anonymous innter class methods.
12+
* Method with space between anonymous innter class methods.
1313
*/
1414
public void methodwithAnonymousInnerClass() {
1515
final Runnable runnable = new Runnable() {

qulice-checkstyle/src/test/resources/com/qulice/checkstyle/ChecksTest/NonStaticMethodCheck/Invalid.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public String name() {
1111
}
1212
@Deprecated
1313
public String name() {
14-
return "method with non-overide annotation";
14+
return "method with non-override annotation";
1515
}
1616
public synchronized String name() {
1717
return "method with non-native and non-abstract modifier";

0 commit comments

Comments
 (0)