Create a default implementation of ProgressListener

Description

It would be useful to have a default implementation of ProgressListener tha retains exceptions and warnings rather than doing nothing about them like the NullProgressListener.

Environment

None

Activity

Show:
codehaus
April 10, 2015, 3:18 PM

CodeHaus Comment From: simboss - Time: Tue, 22 Mar 2011 13:46:39 -0500
---------------------
ops

codehaus
April 10, 2015, 3:18 PM

CodeHaus Comment From: aaime - Time: Sat, 9 Apr 2011 04:53:01 -0500
---------------------
So Jody, shall we just go ahead and commit?

codehaus
April 10, 2015, 3:18 PM

CodeHaus Comment From: jgarnett - Time: Sat, 9 Apr 2011 07:14:09 -0500
---------------------
Review now, one spelling mistake: particolar > particular

I assume the split between these two:

  • Queue<Throwable> getExceptions();

  • boolean hasExceptions();

Is based on being threadsafe? That is no direct access to the exceptions list; getExceptions().isEmpty()?

The clear method needs to clear warnings (not only exceptions); with that change it is ready to go.

codehaus
April 10, 2015, 3:18 PM

CodeHaus Comment From: simboss - Time: Wed, 20 Apr 2011 08:20:14 -0500
---------------------
Improve clear method and fixed typo. I am going to commit.

codehaus
April 10, 2015, 3:18 PM

CodeHaus Comment From: aaime - Time: Sat, 28 May 2011 04:19:53 -0500
---------------------
Mass closing all issues that have been in "resolved" state for more than one month without further comments

Fixed

Assignee

Unassigned

Reporter

codehaus

Triage

None

Components

Fix versions

Affects versions

Priority

Low
Configure