Remove assertion making locations mandatory
This change finishes work started in SPR-12133. Issue: SPR-12133
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user