util classes should be final with a private constructor

This commit is contained in:
Sebastian Sdorra
2013-01-31 10:26:16 +01:00
parent 2d5fa22ca4
commit 9adc65d9e5
34 changed files with 393 additions and 134 deletions

View File

@@ -63,7 +63,7 @@ import java.util.Map;
*
* @author Sebastian Sdorra
*/
public class GitUtil
public final class GitUtil
{
/** Field description */
@@ -84,6 +84,14 @@ public class GitUtil
/** the logger for GitUtil */
private static final Logger logger = LoggerFactory.getLogger(GitUtil.class);
//~--- constructors ---------------------------------------------------------
/**
* Constructs ...
*
*/
private GitUtil() {}
//~--- methods --------------------------------------------------------------
/**