mezuro / kalibro_processor

Reimplementation of Kalibro processing
GNU Affero General Public License v3.0
2 stars 10 forks source link

Prevent wrong type MetricResult creation #217

Open rafamanzo opened 8 years ago

rafamanzo commented 8 years ago

As of https://github.com/mezuro/kalibro_processor/pull/214#discussion_r71339138 we've found that is possible to create TreeMetricResults with Hotspot MetricConfigurations (and probably the opposite).

We should add validators that prevent such errors to happen.