Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 366448 - AtsBranchManagerCore.getEarliestTransactionId() throwing exception
Summary: AtsBranchManagerCore.getEarliestTransactionId() throwing exception
Status: CLOSED FIXED
Alias: None
Product: OSEE
Classification: Technology
Component: Action Tracking System (ATS) (show other bugs)
Version: 0.9.9   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 0.9.9   Edit
Assignee: S. Cook CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-12 14:13 EST by S. Cook CLA
Modified: 2012-01-25 13:57 EST (History)
1 user (show)

See Also:


Attachments
AtsBranchManagerCore.getEarliestTransactionId() throwing exception (1.25 KB, patch)
2011-12-12 14:15 EST, S. Cook CLA
ryan.d.brooks: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description S. Cook CLA 2011-12-12 14:13:11 EST
The method AtsBranchManagerCore.getEarliestTransactionId() is throwing a exception when the Collection of transactionIds is empty (see code). This is a normal occurence and the code is changed to return null if transactionIds is empty here.
Comment 1 S. Cook CLA 2011-12-12 14:15:18 EST
Created attachment 208278 [details]
AtsBranchManagerCore.getEarliestTransactionId() throwing exception
Comment 2 S. Cook CLA 2011-12-12 14:16:10 EST
Added code to the method:
      if (transactionIds.isEmpty()) {
         return null;
      }
Comment 3 S. Cook CLA 2012-01-25 13:56:30 EST
Pushed by: Roberto E. Escobar <roberto.e.escobar@boeing.com>  2011-12-12 14:50:54
Released: Tag: 0.9.9.v201112191206_SR4
Comment 4 S. Cook CLA 2012-01-25 13:57:06 EST
Released: Tag: 0.9.9.v201112191206_SR4