Skip to content
Snippets Groups Projects
Commit dcb59640 authored by Simon Barner's avatar Simon Barner
Browse files

Merge branch '4310' of https://git.fortiss.org/af3/kernel.git into 4310


Conflicts:
	org.fortiss.tooling.ext.quality.ui/src/org/fortiss/tooling/ext/quality/ui/view/fx/.ratings
	org.fortiss.tooling.ext.quality.ui/src/org/fortiss/tooling/ext/quality/ui/view/fx/ModelQualityFXController.java

Signed-off-by: default avatarSimon Barner <barner@fortiss.org>
parents 3b066cac b89cbebf
No related branches found
No related tags found
1 merge request!210Setting up Metric extraction plugin for AF3 : Issue 4310
IModelQualityViewPart.java 708f8089645df12098ea67190805cce343045d2e GREEN
ModelQualityFXController.java 91a82ea532fda6ef6b6db0430cece98016add60f RED
ModelQualityFXController.java 0d87d4084efc965e813f3f36ccf9cb96bf2096cb YELLOW
ModelQualityFXViewPart.java 9cfc7f60a86ea5b915c726b16712f8be7dec2c5f GREEN
......@@ -328,9 +328,9 @@ public class ModelQualityFXController extends CompositeFXControllerBase<SplitPan
private SpiderChartViewer buildSpiderChart() {
// Calculate the intersection of the keys, i.e. a set of keys which have a non-null value in
// all elements of the lastViewedElements list
// TODO (SB): Add check that lastViewedElements is non empty, and add a corresponding
// comment
// to the .get(0) statement
// lastViewedElements is never empty due to the fact, that updateLastViewedElements() is
// always executed before in updateCharts(), which ensure that there is at least one element
Set<MetricKey> keysIntersection = lastViewedElements.get(0).getValue();
for(var p : lastViewedElements) {
keysIntersection.retainAll(p.getValue());
......@@ -437,7 +437,7 @@ public class ModelQualityFXController extends CompositeFXControllerBase<SplitPan
*/
private void updateLastViewedElements(MetricTreeNode node) {
// Create set of keys which store values in the ndoe
// Create set of keys which store values in the node
Set<MetricKey> keys = new HashSet<>();
keys.addAll(node.getDoubleMetrics().keySet());
keys.addAll(node.getIntegerMetrics().keySet());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment