minor syntax improvements

This commit is contained in:
Jonathan Shook 2023-12-09 17:17:20 -06:00
parent c23878a0e6
commit 3547c04c41

View File

@ -83,7 +83,7 @@ public class StandardActivity<R extends Op, S> extends SimpleActivity implements
}
Optional<String> defaultDriverName = activityDef.getParams().getOptionalString("driver");
Optional<DriverAdapter> defaultAdapter = activityDef.getParams().getOptionalString("driver")
Optional<DriverAdapter<?,?>> defaultAdapter = activityDef.getParams().getOptionalString("driver")
.flatMap(name -> ServiceSelector.of(name,ServiceLoader.load(DriverAdapterLoader.class)).get())
.map(l -> l.load(this,NBLabels.forKV()));