Remove assertion making locations mandatory

This change finishes work started in SPR-12133.

Issue: SPR-12133
This commit is contained in:
Brian Clozel 2014-09-02 10:44:08 +02:00
parent da8771d5a9
commit 2ef20f63bc
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ public class ResourceHttpRequestHandler extends WebContentGenerator implements H
* for serving static resources.
*/
public void setLocations(List<Resource> locations) {
Assert.notEmpty(locations, "Locations list must not be empty");
Assert.notNull(locations, "Locations list must not be null");
this.locations.clear();
this.locations.addAll(locations);
}