Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 2CC54200B14 for ; Sat, 18 Jun 2016 13:51:07 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 2B2FF160A4E; Sat, 18 Jun 2016 11:51:07 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 98B1C160A26 for ; Sat, 18 Jun 2016 13:51:06 +0200 (CEST) Received: (qmail 89624 invoked by uid 500); 18 Jun 2016 11:51:05 -0000 Mailing-List: contact dev-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ofbiz.apache.org Delivered-To: mailing list dev@ofbiz.apache.org Received: (qmail 89611 invoked by uid 99); 18 Jun 2016 11:51:05 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Jun 2016 11:51:05 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 4E4A52C033A for ; Sat, 18 Jun 2016 11:51:05 +0000 (UTC) Date: Sat, 18 Jun 2016 11:51:05 +0000 (UTC) From: "Pratik Kulshreshth (JIRA)" To: dev@ofbiz.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (OFBIZ-7428) WidgetContentWorker Class MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 18 Jun 2016 11:51:07 -0000 [ https://issues.apache.org/jira/browse/OFBIZ-7428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pratik Kulshreshth updated OFBIZ-7428: -------------------------------------- Attachment: OFBIZ-7428.patch Here is the patch for this task. Thanks [~arunpati] for description and [~rishisolankii] for guidance. > WidgetContentWorker Class > ------------------------- > > Key: OFBIZ-7428 > URL: https://issues.apache.org/jira/browse/OFBIZ-7428 > Project: OFBiz > Issue Type: Sub-task > Components: framework > Reporter: Arun Patidar > Priority: Minor > Attachments: OFBIZ-7428.patch > > > - Make class as final. > - Add a private constructor. > - Make the following public static variables as private > {code} > public static ContentWorkerInterface contentWorker = null; > {code} > - Add a static getContentWorker() and replace use of WidgetContentWorker.contentWorker in classes 'MenuWrapTransform', 'MacroScreenRenderer' 'HtmlScreenRenderer', 'HtmlMenuRendererImage', -- This message was sent by Atlassian JIRA (v6.3.4#6332)