From 6117cacec458149d80c2e51b78264e20d10a47fe Mon Sep 17 00:00:00 2001 From: Arun Patidar Date: Mon, 27 Jun 2016 13:18:59 +0000 Subject: [PATCH] Applied patch from jira issue - OFBIZ-7391 - Enforce noninstantiability to OpenOfficeWorker Class. Thanks Rishi Solanki and Rohit Koushal for your contribution. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1750330 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/org/ofbiz/content/openoffice/OpenOfficeWorker.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/applications/content/src/org/ofbiz/content/openoffice/OpenOfficeWorker.java b/applications/content/src/org/ofbiz/content/openoffice/OpenOfficeWorker.java index f248c5fd6e0..a50965426fc 100644 --- a/applications/content/src/org/ofbiz/content/openoffice/OpenOfficeWorker.java +++ b/applications/content/src/org/ofbiz/content/openoffice/OpenOfficeWorker.java @@ -51,10 +51,12 @@ * Note that for this to work you must start OpenOffice with a command such as the following: * soffice -accept=socket,host=localhost,port=8100;urp; */ -public class OpenOfficeWorker{ +public final class OpenOfficeWorker{ public static final String module = OpenOfficeWorker.class.getName(); + private OpenOfficeWorker() {} + /** * Use OpenOffice to convert documents between types */