File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
spring-webmvc/src/main/java/org/springframework/web/servlet/view/tiles3 Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 11/*
2- * Copyright 2002-2014 the original author or authors.
2+ * Copyright 2002-2016 the original author or authors.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
@@ -293,9 +293,8 @@ protected AbstractTilesContainerFactory createContainerFactory(ApplicationContex
293293 private class SpringTilesContainerFactory extends BasicTilesContainerFactory {
294294
295295 @ Override
296- public TilesContainer createContainer (ApplicationContext context ) {
297- TilesContainer container = super .createContainer (context );
298- return (useMutableTilesContainer ? new CachingTilesContainer (container ) : container );
296+ protected TilesContainer createDecoratedContainer (TilesContainer originalContainer , ApplicationContext context ) {
297+ return (useMutableTilesContainer ? new CachingTilesContainer (originalContainer ) : originalContainer );
299298 }
300299
301300 @ Override
You can’t perform that action at this time.
0 commit comments