What I do is have an enum with no instances for utility classes.


On 26 March 2014 08:04, Peter Veentjer <notifications@github.com> wrote:

> In
> chronicle-sandbox/src/test/java/net/openhft/chronicle/sandbox/TaskExecutionUtil.java:
>
> > @@ -0,0 +1,64 @@
> > +package net.openhft.chronicle.sandbox;
> > +
> > +import java.util.ArrayList;
> > +import java.util.List;
> > +import java.util.concurrent.Callable;
> > +
> > +public class TaskExecutionUtil {
> > +
>
> Perhaps add a private constructor + make this class final to indicate that
> no instances can be made of this utility class?
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/OpenHFT/Java-Chronicle/pull/55/files#r10967008>
> .
>