Since HtmlView is immutable this is the preferred way to create a copy of the existing HtmlView instance with a different threadSafe state. @param visitorSupplier @param threadSafe
(
Supplier<HtmlVisitor> visitorSupplier,
boolean threadSafe
)
| 128 | * @param threadSafe |
| 129 | */ |
| 130 | protected HtmlView<M> clone( |
| 131 | Supplier<HtmlVisitor> visitorSupplier, |
| 132 | boolean threadSafe |
| 133 | ) { |
| 134 | return new HtmlView<>(visitorSupplier, template, threadSafe); |
| 135 | } |
| 136 | |
| 137 | /** |
| 138 | * Returns a new instance of HtmlFlow with the same properties of this object but with indented |
no outgoing calls
no test coverage detected