Skip to content

Commit

Permalink
Revert "Avoid the safari driver info blowing up node autoconfiguration"
Browse files Browse the repository at this point in the history
This reverts commit 7a03253.
  • Loading branch information
barancev committed Oct 16, 2018
1 parent c49eec1 commit 7a0e25f
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,7 @@ public static void addSystemDrivers(LocalNode.Builder node) {

// Same
List<DriverService.Builder> builders = new ArrayList<>();
ServiceLoader.load(DriverService.Builder.class).forEach(builder -> {
try {
builders.add(builder);
} catch (Exception e) {
// Alright. Don't add the builder
}
});
ServiceLoader.load(DriverService.Builder.class).forEach(builders::add);

infos.forEach(info -> {
Capabilities caps = info.getCanonicalCapabilities();
Expand Down

0 comments on commit 7a0e25f

Please sign in to comment.