Remove assertion making locations mandatory
This change finishes work started in SPR-12133. Issue: SPR-12133
This commit is contained in:
parent
da8771d5a9
commit
2ef20f63bc
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue