Good afternoon,

I've used this.

public Progress[] getProgress() {
  return new Progress[] { new
ProgressImpl(number_of_completed_artifacts, -1, Progress.ENTITIES,
true) };
}

At least it does compile and run. Is it semantically correct, too?

Cheers,
Armin

On 10/8/13, Burn Lewis <[email protected]> wrote:
> Yes, is optional, but applications that use the information typically treat
> -1 as "unknown"
>
> ~Burn
>
>
> On Mon, Oct 7, 2013 at 9:15 AM, Renaud Richardet
> <[email protected]>wrote:
>
>> Hi Armin,
>> Just return null. I rarely implement that method...
>> Best, Renaud
>>
>>
>> On Sat, Oct 5, 2013 at 11:44 AM, Dr. Armin Wegner <
>> [email protected]> wrote:
>>
>> > What to return from method Progress of CasCollectionReader_ImplBase
>> > when I do not know the total number of artifacts?
>> >
>>
>

Reply via email to