Many command-line applications use the following code to invoke a builder:

builder.build(input, new NullProgressReporter(), new CancellationToken())

These applications do not monitor progress and do not care about cancellation. I would like to see a variant

builder.build(input)

which creates the progress monitor and the cancellation token behind the scenes.

Submitted by Guido Wachsmuth on 14 February 2017 at 12:34

On 14 February 2017 at 13:07 Gabriël Konat tagged documentation

On 14 February 2017 at 13:58 Gabriël Konat removed tag documentation

On 14 February 2017 at 13:58 Gabriël Konat tagged api

On 16 February 2017 at 11:13 Gabriël Konat commented:

Good idea, I added default methods to the interface for that: https://github.com/metaborg/spoofax/commit/112096a323ccab9d8140ce61f5880d52f112d372


On 16 February 2017 at 11:13 Gabriël Konat closed this issue.

Log in to post comments