Commit b676ea7c authored by Bert Leunis's avatar Bert Leunis

ESSCOM-7 trivial code update. updated license header.

parent dfb3fe7d
/*
* Copyright 2014-2015 Hippo B.V. (http://www.onehippo.com)
* Copyright 2014-2016 Hippo B.V. (http://www.onehippo.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
......@@ -31,8 +31,7 @@ public class HippoHtmlAdapter extends XmlAdapter<String, HippoHtml> {
return null;
}
final HstRequestContext context = RequestContextProvider.get();
final String rewrittenContent = new SimpleContentRewriter().rewrite(html.getContent(), html.getNode(), context);
return rewrittenContent;
return new SimpleContentRewriter().rewrite(html.getContent(), html.getNode(), context);
}
@Override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment