// Find the Trace item within the current list\r
TraceItem item = findTraceItem(parent);\r
\r
- if (item == null) {\r
- // If the parent item is not found, make room for it in the current\r
- // array\r
- int length = 1;\r
- Object[] traces;\r
- if (_traces != null) {\r
- length = _traces.length + 1;\r
- traces = Arrays.copyOf(_traces, length);\r
- } else {\r
- traces = new Object[length];\r
- }\r
-\r
- // Add the new parent element to the end of the array.\r
- traces[length - 1] = parent;\r
-\r
- // update the filter array to accomodate a postion to the new\r
- // element\r
- traceFilter = new boolean[traces.length];\r
- java.util.Arrays.fill(traceFilter, true);\r
-\r
- // rebuild internal data\r
- _traces = traces;\r
- refreshData();\r
-\r
- // item must be there\r
- item = findTraceItem(parent);\r
- }\r
+// This method is not used (yet) so this code can be commented out for now\r
+// FIXME: Arrays.copyOf is a Java6 feature\r
+// if (item == null) {\r
+// // If the parent item is not found, make room for it in the current\r
+// // array\r
+// int length = 1;\r
+// Object[] traces;\r
+// if (_traces != null) {\r
+// length = _traces.length + 1;\r
+// traces = Arrays.copyOf(_traces, length);\r
+// } else {\r
+// traces = new Object[length];\r
+// }\r
+//\r
+// // Add the new parent element to the end of the array.\r
+// traces[length - 1] = parent;\r
+//\r
+// // update the filter array to accomodate a postion to the new\r
+// // element\r
+// traceFilter = new boolean[traces.length];\r
+// java.util.Arrays.fill(traceFilter, true);\r
+//\r
+// // rebuild internal data\r
+// _traces = traces;\r
+// refreshData();\r
+//\r
+// // item must be there\r
+// item = findTraceItem(parent);\r
+// }\r
\r
ITmfTimeAnalysisEntry localTraceItem = item._trace;\r
// Local trace found\r