From 4cd64d7bed7034064bd2930f97f8cfd062f8442e Mon Sep 17 00:00:00 2001 From: Simon Barner <barner@fortiss.org> Date: Mon, 8 Feb 2016 12:19:23 +0000 Subject: [PATCH] YELLOW - Add missing "private" declaration to several field - While here, convert protected field into private one refs 2490 --- .../view/generic/GenericAnnotationView.java | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/org.fortiss.tooling.base.ui/trunk/src/org/fortiss/tooling/base/ui/annotation/view/generic/GenericAnnotationView.java b/org.fortiss.tooling.base.ui/trunk/src/org/fortiss/tooling/base/ui/annotation/view/generic/GenericAnnotationView.java index 857e9bfec..686274e52 100644 --- a/org.fortiss.tooling.base.ui/trunk/src/org/fortiss/tooling/base/ui/annotation/view/generic/GenericAnnotationView.java +++ b/org.fortiss.tooling.base.ui/trunk/src/org/fortiss/tooling/base/ui/annotation/view/generic/GenericAnnotationView.java @@ -79,15 +79,14 @@ import org.fortiss.tooling.base.ui.annotation.view.generic.filter.AnnotationFilt * @author eder, diewald, barner * @author $Author$ * @version $Rev$ - * @ConQAT.Rating YELLOW Hash: 205EF0E23C3CC15A06716C7C85725416 + * @ConQAT.Rating YELLOW Hash: B8768F20E831C6F1435128A3609D0A8D */ public class GenericAnnotationView extends AnnotationViewPartBase { /** Root composite of {@link GenericAnnotationView}. */ - // TODO (FH): why package private and not protected - Composite rootComposite; + private Composite rootComposite; /** The table viewer used to implement the view. */ - protected TableViewer tableViewer; + private TableViewer tableViewer; /** Row and column filter for annotations. */ private AnnotationFilter annotationFilter; @@ -104,16 +103,16 @@ public class GenericAnnotationView extends AnnotationViewPartBase { private Collection<AnnotationEntry> lastAnnotationEntries; /** Number of fixed columns shown for every model element (e.g., name, comment). */ - int fixedColumnCount; + private int fixedColumnCount; /** * Map used to preserve column width of annotation columns during update of the view (fixed * columns are not deleted hence caching the width is not necessary). */ - Map<String, Integer> columnWidthCache; + private Map<String, Integer> columnWidthCache; /** Default width of columns. */ - static final int COLUMN_DEFAULT_WIDTH = 125; + private static final int COLUMN_DEFAULT_WIDTH = 125; /** Default height of rows. */ private int defaultRowHeight; -- GitLab