Skip to content

Commit

Permalink
Improve default JsonView handling.
Browse files Browse the repository at this point in the history
  • Loading branch information
noboomu committed Dec 30, 2019
1 parent f19edfc commit f341af5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ Proteus Changelog.
## Unreleased
### No issue

**Restructure pom files.**


[f19edfc200c612a](https://github.com/noboomu/proteus/commit/f19edfc200c612a) Joshua Bauer *2020-12-30 01:17:28*

**Update README.md**


[af53f9619d7afbc](https://github.com/noboomu/proteus/commit/af53f9619d7afbc) JL Bauer *2019-12-28 07:27:28*

**Next snapshot.**


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,11 @@ public HttpHandler wrap(HttpHandler handler)
.orElse(DEFAULT_VIEW_CLASS);


Class viewClass = CLASS_MAP.get(className);
if(className != null) {
Class viewClass = CLASS_MAP.get(className.toLowerCase());

exchange.putAttachment(JSON_VIEW_KEY, viewClass);
exchange.putAttachment(JSON_VIEW_KEY, viewClass);
}


}
Expand Down

0 comments on commit f341af5

Please sign in to comment.