Build sucessful

This commit is contained in:
Alexander Nozik 2018-07-21 11:26:07 +03:00
parent 0e8f295542
commit bf9e105c90
2 changed files with 4 additions and 2 deletions

View File

@ -72,6 +72,7 @@ interface NumassSet : Named, Metoid, Iterable<NumassPoint>, Provider {
return optPoint(java.lang.Double.parseDouble(voltage)) return optPoint(java.lang.Double.parseDouble(voltage))
} }
@JvmDefault
override fun getDefaultTarget(): String { override fun getDefaultTarget(): String {
return NUMASS_POINT_PROVIDER_KEY return NUMASS_POINT_PROVIDER_KEY
} }

View File

@ -16,6 +16,7 @@
package inr.numass.models; package inr.numass.models;
import hep.dataforge.exceptions.NotDefinedException; import hep.dataforge.exceptions.NotDefinedException;
import hep.dataforge.names.NameList;
import hep.dataforge.values.ValueProvider; import hep.dataforge.values.ValueProvider;
import hep.dataforge.values.Values; import hep.dataforge.values.Values;
import org.apache.commons.math3.analysis.UnivariateFunction; import org.apache.commons.math3.analysis.UnivariateFunction;
@ -44,8 +45,8 @@ public class GunTailSpectrum implements RangedNamedSetSpectrum {
} }
@Override @Override
public Names getNames() { public NameList getNames() {
return Names.of(list); return new NameList(list);
} }
@Override @Override