Skip to content

Commit 2ac6434

Browse files
authored
Merge pull request #1799 from saleemasekrea000/fix/ci-typos-issue
fix typos
2 parents b595234 + 2ee36a5 commit 2ac6434

23 files changed

+41
-41
lines changed

src/main/java/org/cactoos/func/BiFuncEnvelope.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import org.cactoos.BiFunc;
88

99
/**
10-
* Enveloppe of {@link BiFunc}.
10+
* Envelope of {@link BiFunc}.
1111
*
1212
* @param <X> Type of input
1313
* @param <Y> Type of input

src/main/java/org/cactoos/iterator/IteratorOfBytes.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@ public IteratorOfBytes(final Bytes bytes) {
5757

5858
/**
5959
* Ctor.
60-
* @param itms Items to iterate
60+
* @param items Items to iterate
6161
*/
6262
@SuppressWarnings("PMD.ArrayIsStoredDirectly")
63-
public IteratorOfBytes(final byte... itms) {
64-
this.items = itms;
63+
public IteratorOfBytes(final byte... items) {
64+
this.items = items;
6565
this.position = new AtomicInteger(0);
6666
}
6767

src/main/java/org/cactoos/iterator/IteratorOfDoubles.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ public final class IteratorOfDoubles implements Iterator<Double> {
2929

3030
/**
3131
* Ctor.
32-
* @param itms Items to iterate
32+
* @param items Items to iterate
3333
*/
3434
@SuppressWarnings("PMD.ArrayIsStoredDirectly")
35-
public IteratorOfDoubles(final double... itms) {
36-
this.items = itms;
35+
public IteratorOfDoubles(final double... items) {
36+
this.items = items;
3737
this.position = new AtomicInteger(0);
3838
}
3939

src/main/java/org/cactoos/iterator/IteratorOfFloats.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ public final class IteratorOfFloats implements Iterator<Float> {
2828

2929
/**
3030
* Ctor.
31-
* @param itms Items to iterate
31+
* @param items Items to iterate
3232
*/
3333
@SuppressWarnings("PMD.ArrayIsStoredDirectly")
34-
public IteratorOfFloats(final float... itms) {
35-
this.items = itms;
34+
public IteratorOfFloats(final float... items) {
35+
this.items = items;
3636
this.position = new AtomicInteger(0);
3737
}
3838

src/main/java/org/cactoos/iterator/IteratorOfInts.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ public final class IteratorOfInts implements Iterator<Integer> {
2828

2929
/**
3030
* Ctor.
31-
* @param itms Items to iterate
31+
* @param items Items to iterate
3232
*/
3333
@SuppressWarnings("PMD.ArrayIsStoredDirectly")
34-
public IteratorOfInts(final int... itms) {
35-
this.items = itms;
34+
public IteratorOfInts(final int... items) {
35+
this.items = items;
3636
this.position = new AtomicInteger(0);
3737
}
3838

src/main/java/org/cactoos/iterator/IteratorOfLongs.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ public final class IteratorOfLongs implements Iterator<Long> {
2929

3030
/**
3131
* Ctor.
32-
* @param itms Items to iterate
32+
* @param items Items to iterate
3333
*/
3434
@SuppressWarnings("PMD.ArrayIsStoredDirectly")
35-
public IteratorOfLongs(final long... itms) {
36-
this.items = itms;
35+
public IteratorOfLongs(final long... items) {
36+
this.items = items;
3737
this.position = new AtomicInteger(0);
3838
}
3939

src/main/java/org/cactoos/iterator/IteratorOfShorts.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ public final class IteratorOfShorts implements Iterator<Short> {
3030

3131
/**
3232
* Ctor.
33-
* @param itms Items to iterate
33+
* @param items Items to iterate
3434
*/
3535
@SuppressWarnings("PMD.ArrayIsStoredDirectly")
36-
public IteratorOfShorts(final short... itms) {
37-
this.items = itms;
36+
public IteratorOfShorts(final short... items) {
37+
this.items = items;
3838
this.position = new AtomicInteger(0);
3939
}
4040

src/main/java/org/cactoos/scalar/Strict.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public final class Strict<T> extends ScalarEnvelope<T> {
2121
/**
2222
* Ctor.
2323
*
24-
* @param origin The value to test againts the {@code rule}.
24+
* @param origin The value to test against the {@code rule}.
2525
* @param rule The rule, that validates {@code origin}.
2626
* @param exception The exception, that is thrown if validation fails.
2727
*/

src/main/java/org/cactoos/text/FormattedText.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
import org.cactoos.list.ListOf;
1212

1313
/**
14-
* Text in Sprinf format.
14+
* Text in Sprintf format.
1515
*
1616
* <p>There is no thread-safety guarantee.
1717
*

src/main/java/org/cactoos/text/HexOf.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ public HexOf(final Bytes bytes) {
3434
final byte[] bts = bytes.asBytes();
3535
final char[] hex = new char[bts.length * 2];
3636
int chr = -1;
37-
for (final byte byt: bts) {
38-
final int value = 0xff & (int) byt;
37+
for (final byte currentbyte: bts) {
38+
final int value = 0xff & (int) currentbyte;
3939
hex[++chr] = HexOf.HEX_CHARS[value >>> 4];
4040
hex[++chr] = HexOf.HEX_CHARS[value & 0x0f];
4141
}

0 commit comments

Comments
 (0)