Commit c1ac2fe5 authored by Kristof Szabados's avatar Kristof Szabados
Browse files

class that have only private constructors should be final

parent 6f8aadcc
......@@ -20,7 +20,7 @@ import org.eclipse.ui.dialogs.PreferencesUtil;
* @author Gabor
*
*/
public class ErrorMessage {
public final class ErrorMessage {
public static final String LOG_ENTRY_NOTE = " (see error log for further information)";
......
......@@ -32,7 +32,7 @@ import edu.uci.ics.jung.graph.DirectedSparseGraph;
*
* @author Gobor Daniel
*/
public class ClusteringTools {
public final class ClusteringTools {
private static List<String> prefixes = createPrefix();
......
......@@ -15,7 +15,7 @@ import java.awt.Color;
*
* @author Gabor Jenei
*/
public class NodeColours {
public final class NodeColours {
public static final Color LIGHT_GREEN = new Color(137, 186, 23);
public static final Color DARK_GREEN = new Color(0, 123, 120);
public static final Color LIGHT_YELLOW = new Color(250, 187, 0);
......
......@@ -17,7 +17,7 @@ import org.eclipse.titanium.graph.gui.utils.LayoutEntry;
*
* @author Gabor Jenei
*/
public class Layouts {
public final class Layouts {
/**
* layout button for ISOM layout <b><font color="red">It must be used
......
......@@ -16,7 +16,7 @@ import org.eclipse.titanium.markers.types.CodeSmellType;
import org.eclipse.titanium.preferences.ProblemTypePreference;
import org.eclipse.titanium.preferences.pages.MarkersPreferencePage;
public class AnalyzerCache {
public final class AnalyzerCache {
/**
* Private constructor.
* */
......
......@@ -21,7 +21,7 @@ import org.eclipse.ui.texteditor.AbstractTextEditor;
/**
* Helper class: helps in converting a location object into an open editor, where the location is highlighted.
**/
public class LocationHighlighter {
public final class LocationHighlighter {
private LocationHighlighter() {
//private constructor to disable instantiation
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment