minor refactoring; change log updated
authorVictor Kirhenshtein <victor@netxms.org>
Fri, 26 Aug 2016 09:38:55 +0000 (12:38 +0300)
committerVictor Kirhenshtein <victor@netxms.org>
Fri, 26 Aug 2016 09:38:55 +0000 (12:38 +0300)
ChangeLog
src/java/netxms-eclipse/PerfView/src/org/netxms/ui/eclipse/perfview/widgets/helpers/TableLabelProvider.java
webui/webapp/PerfView/src/org/netxms/ui/eclipse/perfview/widgets/helpers/TableLabelProvider.java

index 5ddae48..3101474 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -18,6 +18,7 @@
 - Management console
        - New editors for Agent Config Policy and Log Parser Policy. 
        - DCI summary tables with empty menu path not shown in object context menu
+       - Fixed glitches in table value view
 - Fixed issues: #92, #906, #909, #942, #959, #992, #999, #1006, #1051, #1096, #1100, #1159, #1187, #1191, #1230, #1237, #1245, #1254, #1263, #1273, #1275
 
 
index d4ce17d..e8794eb 100644 (file)
@@ -86,17 +86,13 @@ public class TableLabelProvider extends LabelProvider implements ITableLabelProv
        @Override
        public String getColumnText(Object element, int columnIndex)
        {
-               row = (TableRow)element;
-               
-               if (columnIndex >= row.size()) {
-                       return null;
-               }
-               else if (useMultipliers) {
-                return getValueForFormat(columnIndex);
-                  
-               }
-               
-               return row.get(columnIndex).getValue();
+      row = (TableRow)element;
+
+      if (columnIndex >= row.size())
+         return null;
+      if (useMultipliers)
+         return getValueForFormat(columnIndex);
+      return row.get(columnIndex).getValue();
        }
 
        /* (non-Javadoc)
index d4ce17d..e8794eb 100644 (file)
@@ -86,17 +86,13 @@ public class TableLabelProvider extends LabelProvider implements ITableLabelProv
        @Override
        public String getColumnText(Object element, int columnIndex)
        {
-               row = (TableRow)element;
-               
-               if (columnIndex >= row.size()) {
-                       return null;
-               }
-               else if (useMultipliers) {
-                return getValueForFormat(columnIndex);
-                  
-               }
-               
-               return row.get(columnIndex).getValue();
+      row = (TableRow)element;
+
+      if (columnIndex >= row.size())
+         return null;
+      if (useMultipliers)
+         return getValueForFormat(columnIndex);
+      return row.get(columnIndex).getValue();
        }
 
        /* (non-Javadoc)