Skip to content
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.

Commit

Permalink
[Minor] Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jvelo committed Dec 8, 2015
1 parent 13aa7aa commit 96b780b
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,8 @@ public void requestInitialized(ServletRequestEvent servletRequestEvent)

// 2. Configurations

//if (tenant != null) {
Map<Class, Serializable> configurations = configurationService.getSettings();
context.setSettings(configurations);
//}
Map<Class, Serializable> configurations = configurationService.getSettings();
context.setSettings(configurations);

// 3. User

Expand Down Expand Up @@ -230,7 +228,7 @@ private String getPath(ServletRequestEvent event)

private boolean isSecure(ServletRequestEvent event)
{
return ((HttpServletRequest) event.getServletRequest()).isSecure();
return event.getServletRequest().isSecure();
}

private String getHeaderValue(ServletRequestEvent event, String headerName)
Expand Down

0 comments on commit 96b780b

Please sign in to comment.