mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 23:45:44 +01:00
util classes should be final with a private constructor
This commit is contained in:
@@ -41,9 +41,17 @@ import sonia.scm.util.SystemUtil;
|
||||
*
|
||||
* @author Sebastian Sdorra
|
||||
*/
|
||||
public class HgInstallerFactory
|
||||
public final class HgInstallerFactory
|
||||
{
|
||||
|
||||
/**
|
||||
* Constructs ...
|
||||
*
|
||||
*/
|
||||
private HgInstallerFactory() {}
|
||||
|
||||
//~--- methods --------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Method description
|
||||
*
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
*/
|
||||
|
||||
|
||||
|
||||
package sonia.scm.repository;
|
||||
|
||||
//~--- non-JDK imports --------------------------------------------------------
|
||||
@@ -55,7 +56,7 @@ import java.io.IOException;
|
||||
*
|
||||
* @author Sebastian Sdorra
|
||||
*/
|
||||
public class HgPyFix
|
||||
public final class HgPyFix
|
||||
{
|
||||
|
||||
/** Field description */
|
||||
@@ -72,6 +73,14 @@ public class HgPyFix
|
||||
*/
|
||||
private static final Logger logger = LoggerFactory.getLogger(HgUtil.class);
|
||||
|
||||
//~--- constructors ---------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Constructs ...
|
||||
*
|
||||
*/
|
||||
private HgPyFix() {}
|
||||
|
||||
//~--- methods --------------------------------------------------------------
|
||||
|
||||
/**
|
||||
@@ -108,7 +117,6 @@ public class HgPyFix
|
||||
* Visible for testing
|
||||
*
|
||||
*
|
||||
* @param hg
|
||||
*
|
||||
* @param hgBat
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user