Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: fix minor issues #2081 #427 #2119

Merged
merged 1 commit into from
Jul 1, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/se/config/04_property-mapping.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ If your application converts to the same
target type in several places in the code, this approach allows you to change which mapper it uses by
changing only the _registration_ of the mapper, not each use of it.
[[WebConfig]]
==== Continuing the `Web` Example
The following examples build on the example configuration from the
<<config/01_introduction.adoc#create-simple-config-props,`application.properties`>>
Expand Down Expand Up @@ -287,6 +288,8 @@ uses reflection to invoke the methods and to map configuration values to fields/
If you can change the target class you can add any one of the following methods or
constructors to the POJO class which the config system will find and use for mapping.
Continuing with the <<WebConfig,WebConfig>> example introduced earlier:
.Methods Supporting Auto-mapping
|===
Expand Down
2 changes: 1 addition & 1 deletion docs/se/webserver/06_static-content-support.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ You can combine dynamic handlers with `StaticContentSupport` objects: if no file
[source,java]
----
Routing.builder()
.register("/pictures", StaticContentSupport.create(Paths.get("/some/WEB/pics")) // <1>
.register("/pictures", StaticContentSupport.create(Paths.get("/some/WEB/pics"))) // <1>
.register("/", StaticContentSupport.builder("/static-content") // <2>
.welcomeFileName("index.html") // <3>
.build());
Expand Down