Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev] Checkin: Enhance IOUtil of birt.core

- Summary:
Enhance IOUtil of birt.core in processing NULL object value.


- Bugzilla Bug (s) Resolved:
N/A


- Description:
Add a new data type index TYPE_NULL, which indicates an object value is null. The new approach for write an object and read an object is below,

1)      In writing an object, first check whether it is null,

a)        If yes, write the value of TYPE and return immediately

b)        If no, write the real type of this object, and write its primitive value

2)      In reading an object, first check whether the type index is TYPE_NULL

a)        If yes, return NULL immediately

b)        If no, read the real type of this object, and read out its value to return


- Tests Description:
Junit Test


- Files Edited:
/org.eclipse.birt.core/src/org/eclipse/birt/core/util/IOUtil.java
 

- Notes to Build Team:
N/A


- Notes to Developers:
N/A


- Notes to QA: 
 

N/A

 

- Notes to Documentation:  
N/A

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


Back to the top