Skip to content

Commit 2ed2d07

Browse files
committed
fix(#185): qulice
1 parent 8487bc5 commit 2ed2d07

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

src/main/java/com/jcabi/xml/XSLDocument.java

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -128,13 +128,6 @@ public final class XSLDocument implements XSL {
128128
*/
129129
private final transient String sid;
130130

131-
/**
132-
* Cached transformer.
133-
* @since 0.26
134-
*/
135-
private final transient AtomicReference<Transformer> cached =
136-
new AtomicReference<>();
137-
138131
/**
139132
* Public ctor, from XML as a source.
140133
* @param src XSL document body
@@ -475,7 +468,7 @@ private void transformInto(final XML xml, final Result result) {
475468
private Transformer transformer() {
476469
final TransformerFactory factory = TransformerFactory.newInstance();
477470
factory.setURIResolver(this.sources);
478-
Transformer trans;
471+
final Transformer trans;
479472
try {
480473
trans = factory.newTransformer(
481474
new StreamSource(new StringReader(this.xsl), this.sid)

0 commit comments

Comments
 (0)