Source:
<code>public String getContent() { StringBuilder resultBuilder = new StringBuilder(); List<BaseObject> objects = this.document.getObjects(this.extension.getClassName()); if (objects != null) { for (BaseObject sxObj : objects) { if (sxObj == null) { continue; } String sxContent = sxObj.getLargeStringValue(CONTENT_PROPERTY_NAME); int parse = sxObj.getIntValue(PARSE_CONTENT_PROPERTY_NAME); if ("LESS".equals(sxObj.getStringValue(CONTENT_TYPE_PROPERTY_NAME))) { LESSCompiler lessCompiler = Utils.getComponent(LESSCompiler.class); LESSResourceReferenceFactory lessResourceReferenceFactory = Utils.getComponent(LESSResourceReferenceFactory.class); ObjectPropertyReference objectPropertyReference = new ObjectPropertyReference(CONTENT_PROPERTY_NAME, sxObj.getReference()); LESSResourceReference lessResourceReference = lessResourceReferenceFactory.createReferenceForXObjectProperty(objectPropertyReference); try { sxContent = lessCompiler.compile(lessResourceReference, true, (parse == 1), <START> CachePolicy.FORBID.equals(getCachePolicy())); <END> } catch (LESSCompilerException e) { sxContent = String.format(" \n ", sxObj.getStringValue(NAME_PROPERTY_NAME), ExceptionUtils.getRootCauseMessage(e)); } } else if (parse == 1) { try { StringWriter writer = new StringWriter(); VelocityManager velocityManager = Utils.getComponent(VelocityManager.class); VelocityContext vcontext = velocityManager.getVelocityContext(); velocityManager.getVelocityEngine().evaluate(vcontext, writer, this.document.getPrefixedFullName(), sxContent); sxContent = writer.toString(); } catch (XWikiVelocityException ex) { LOGGER.warn("Velocity errors while parsing skin extension with content [{}]: ", this.document.getPrefixedFullName(), sxContent, ExceptionUtils.getRootCauseMessage(ex)); } } resultBuilder.append(sxContent + "\n"); } } return resultBuilder.toString(); }</code><technical_language>enum ==</technical_language>

Target:
public String getContent() { StringBuilder resultBuilder = new StringBuilder(); List<BaseObject> objects = this.document.getObjects(this.extension.getClassName()); if (objects != null) { for (BaseObject sxObj : objects) { if (sxObj == null) { continue; } String sxContent = sxObj.getLargeStringValue(CONTENT_PROPERTY_NAME); int parse = sxObj.getIntValue(PARSE_CONTENT_PROPERTY_NAME); if ("LESS".equals(sxObj.getStringValue(CONTENT_TYPE_PROPERTY_NAME))) { LESSCompiler lessCompiler = Utils.getComponent(LESSCompiler.class); LESSResourceReferenceFactory lessResourceReferenceFactory = Utils.getComponent(LESSResourceReferenceFactory.class); ObjectPropertyReference objectPropertyReference = new ObjectPropertyReference(CONTENT_PROPERTY_NAME, sxObj.getReference()); LESSResourceReference lessResourceReference = lessResourceReferenceFactory.createReferenceForXObjectProperty(objectPropertyReference); try { sxContent = lessCompiler.compile(lessResourceReference, true, (parse == 1), CachePolicy.FORBID == getCachePolicy()); } catch (LESSCompilerException e) { sxContent = String.format(" \n ", sxObj.getStringValue(NAME_PROPERTY_NAME), ExceptionUtils.getRootCauseMessage(e)); } } else if (parse == 1) { try { StringWriter writer = new StringWriter(); VelocityManager velocityManager = Utils.getComponent(VelocityManager.class); VelocityContext vcontext = velocityManager.getVelocityContext(); velocityManager.getVelocityEngine().evaluate(vcontext, writer, this.document.getPrefixedFullName(), sxContent); sxContent = writer.toString(); } catch (XWikiVelocityException ex) { LOGGER.warn("Velocity errors while parsing skin extension with content [{}]: ", this.document.getPrefixedFullName(), sxContent, ExceptionUtils.getRootCauseMessage(ex)); } } resultBuilder.append(sxContent + "\n"); } } return resultBuilder.toString(); }