svn commit: r1750330 - /ofbiz/trunk/applications/content/src/org/ofbiz/content/openoffice/OpenOfficeWorker.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1750330 - /ofbiz/trunk/applications/content/src/org/ofbiz/content/openoffice/OpenOfficeWorker.java

Arun Patidar-4
Author: arunpatidar
Date: Mon Jun 27 13:18:59 2016
New Revision: 1750330

URL: http://svn.apache.org/viewvc?rev=1750330&view=rev
Log:
Applied patch from jira issue - OFBIZ-7391 - Enforce noninstantiability to OpenOfficeWorker Class. Thanks Rishi Solanki and Rohit Koushal  for your contribution.

Modified:
    ofbiz/trunk/applications/content/src/org/ofbiz/content/openoffice/OpenOfficeWorker.java

Modified: ofbiz/trunk/applications/content/src/org/ofbiz/content/openoffice/OpenOfficeWorker.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/src/org/ofbiz/content/openoffice/OpenOfficeWorker.java?rev=1750330&r1=1750329&r2=1750330&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/src/org/ofbiz/content/openoffice/OpenOfficeWorker.java (original)
+++ ofbiz/trunk/applications/content/src/org/ofbiz/content/openoffice/OpenOfficeWorker.java Mon Jun 27 13:18:59 2016
@@ -51,10 +51,12 @@ import com.sun.star.uri.ExternalUriRefer
  * Note that for this to work you must start OpenOffice with a command such as the following:
  *   <code>soffice -accept=socket,host=localhost,port=8100;urp;</code>
  */
-public class OpenOfficeWorker{
+public final class OpenOfficeWorker{
 
     public static final String module = OpenOfficeWorker.class.getName();
 
+    private OpenOfficeWorker() {}
+    
     /**
      * Use OpenOffice to convert documents between types
      */