Skip to content

Commit 060db9e

Browse files
committed
typos
1 parent 91c98a6 commit 060db9e

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
Project architect: [@victornoel](https://github.com/victornoel)
1818

1919
**ATTENTION**: We're still in a very early alpha version, the API
20-
may and _will_ change frequently. Please, use it at your own risk,
20+
may and _will_ change frequently. Please use it at your own risk
2121
until we release version 1.0. You can view our progress towards
2222
this release [here](https://github.com/yegor256/cactoos/milestone/1).
2323

@@ -184,7 +184,7 @@ new ForEach<>(
184184
input -> System.out.printf(
185185
"Item: %s\n", input
186186
)
187-
).exec(new IterableOf("how", "are", "you", "?"));
187+
).exec(new IterableOf<>("how", "are", "you", "?"));
188188
```
189189

190190
To sort a list of words in the file:
@@ -224,14 +224,14 @@ final Set<String> unique = new SetOf<>(
224224
);
225225
```
226226

227-
To create a set of elements from existing iterable:
227+
To create a set of elements from an existing iterable:
228228
```java
229229
final Set<String> words = new SetOf<>(
230230
new IterableOf<>("abc", "bcd", "abc", "ccc")
231231
);
232232
```
233233

234-
To create a sorted iterable with unique elements from existing iterable:
234+
To create a sorted iterable with unique elements from an existing iterable:
235235
```java
236236
final Iterable<String> sorted = new Sorted<>(
237237
new SetOf<>(
@@ -240,15 +240,15 @@ final Iterable<String> sorted = new Sorted<>(
240240
);
241241
```
242242

243-
To create a sorted set from existing vararg elements using comparator:
243+
To create a sorted set from existing vararg elements using a comparator:
244244
```java
245245
final Set<String> sorted = new org.cactoos.set.Sorted<>(
246246
(first, second) -> first.compareTo(second),
247247
"abc", "bcd", "abc", "ccc", "acd"
248248
);
249249
```
250250

251-
To create a sorted set from existing iterable using comparator:
251+
To create a sorted set from an existing iterable using a comparator:
252252
```java
253253
final Set<String> sorted = new org.cactoos.set.Sorted<>(
254254
(first, second) -> first.compareTo(second),
@@ -358,12 +358,12 @@ Ask your questions related to cactoos library on [Stackoverflow](https://stackov
358358
Just fork the repo and send us a pull request.
359359

360360
Make sure your branch builds without any warnings/issues:
361-
```
361+
```bash
362362
mvn clean verify -Pqulice
363363
```
364364

365365
To run a build similar to the CI with Docker only, use:
366-
```
366+
```bash
367367
docker run \
368368
--tty \
369369
--interactive \
@@ -376,7 +376,7 @@ docker run \
376376
```
377377

378378
To remove the cache used by Docker-based build:
379-
```
379+
```bash
380380
docker volume rm cactoos-mvn-cache
381381
```
382382

0 commit comments

Comments
 (0)