Skip to content

Commit

Permalink
Fix minor doc issues #2081 #427 (#2119)
Browse files Browse the repository at this point in the history
  • Loading branch information
barchetta authored Jul 1, 2020
1 parent 598e3f4 commit e32e83a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
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

0 comments on commit e32e83a

Please sign in to comment.