Skip to content

Commit 3169580

Browse files
committed
Polish
1 parent fe1480e commit 3169580

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

initializr-docs/src/main/asciidoc/configuration-guide.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,12 +131,12 @@ bean is available for extensions that wish to know if an attribute of the origin
131131
Once the description has been customized based on the available
132132
``ProjectDescriptionCustomizer``s, the generator uses a `ProjectAssetGenerator` to
133133
generate the project assets. The `initializr-generator` module provides a default
134-
implementation of this interface (``DefaultProjectAssetGenerator`) that generates a
134+
implementation of this interface (`DefaultProjectAssetGenerator`) that generates a
135135
directory structure using available `ProjectContributor` beans.
136136

137-
While the default `ProjectAssetGenerator` use the file system and invoke a particular set
137+
While the default `ProjectAssetGenerator` uses the file system and invoke a particular set
138138
of components, it is possible to use the same `ProjectGenerator` instance with a custom
139-
implementation that focus on something else entirely.
139+
implementation that focusses on something else entirely.
140140

141141

142142

@@ -578,7 +578,7 @@ available development build of the upcoming 2.1.0 release). For the `V2` format,
578578
simply `SNAPSHOT`, i.e. `2.1.0-SNAPSHOT`.
579579
* `RELEASE` for general availability (e.g. `2.0.0.RELEASE` is 2.0.0 proper)
580580

581-
TIP: snapshots are in a bit special in that scheme as they always represent the "latest
581+
TIP: Snapshots are in a bit special in that scheme as they always represent the "latest
582582
state" of a release. `M1` represents the oldest version for a given major, minor and
583583
patch revisions, and it can therefore be safely used when referring to the "first" release
584584
in that line.

initializr-web/src/main/java/io/spring/initializr/web/project/MetadataProjectDescriptionCustomizer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ private String cleanMavenCoordinate(String coordinate, String delimiter) {
9191
}
9292

9393
private boolean shouldAppendDelimiter(String element, StringBuilder builder) {
94-
if (builder.length() == 0) {
94+
if (builder.isEmpty()) {
9595
return false;
9696
}
9797
for (char c : VALID_MAVEN_SPECIAL_CHARACTERS) {

0 commit comments

Comments
 (0)