master
Juergen Hoeller 14 years ago
parent 4e3227441b
commit 3f68ccadd9
  1. 4
      org.springframework.context/src/main/java/org/springframework/context/annotation/AnnotationConfigApplicationContext.java
  2. 2
      org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/support/RequestContext.java

@ -1,5 +1,5 @@
/*
* Copyright 2002-2009 the original author or authors.
* Copyright 2002-2010 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -49,7 +49,7 @@ public class AnnotationConfigApplicationContext extends GenericApplicationContex
/**
* Create a new AnnotationConfigApplicationContext that needs to be populated
* through {@link #add} calls and then manually {@link #refresh refreshed}.
* through {@link #register} calls and then manually {@link #refresh refreshed}.
*/
public AnnotationConfigApplicationContext() {
}

@ -350,7 +350,7 @@ public class RequestContext {
* Falls back to <code>false</code> in case of no explicit default given.
*/
public boolean isDefaultHtmlEscape() {
return (this.defaultHtmlEscape != null && this.defaultHtmlEscape);
return (this.defaultHtmlEscape != null && this.defaultHtmlEscape.booleanValue());
}
/**

Loading…
Cancel
Save