Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: PicoContainer (Java)
-
Labels:None
-
Number of attachments :
Description
FolderContentPoller had some unnecessary members and a method used only for test. By choosing a better lock guard and using interrupt states of the thread, these could be removed. Additionally the run method now notifies waiting threads and therefore the test can do without sleep.
Activity

Field | Original Value | New Value |
---|---|---|
Attachment | FolderContentPoller.java.diff [ 11517 ] |

Attachment | FolderContentPollerTestCase.java.diff [ 11518 ] |

Resolution | Fixed [ 1 ] | |
Assignee | Aslak Hellesoy [ rinkrank ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Optimized version of FolderContentPoller.java