Issue Details (XML | Word | Printable)

Key: DIRMINA-139
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Trustin Lee
Reporter: Trustin Lee
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
MINA

ByteBuffer.expand() for explicit expansion

Created: 07/Dec/05 01:04 PM   Updated: 07/Dec/05 01:06 PM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: 0.9.0

Time Tracking:
Not Specified

Resolution Date: 07/Dec/05 01:06 PM


 Description  « Hide
MINA ByteBuffer provides autoExpand property so users can put data not worrying about BufferOverflowException. Sometimes, expansion occurrs more than they expected. Let's give users more control on expansion by providing an explicit way to expand their buffer; ByteBuffer.expand().

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #354698 Wed Dec 07 04:06:01 UTC 2005 trustin Resolved issue: DIRMINA-139 (ByteBuffer.expand() for explicit expansion)
* Added ByteBuffer.expand()
* Pulled up most implementations of ByteBufferImpl to ByteBuffer to avoid unnecessary reimplementations
* Changed compareTo(ByteBuffer) to compareTo(Object) for JDK 1.4 compatibility; ByteBuffer now implements Comparable.
Files Changed
MODIFY /directory/network/trunk/src/java/org/apache/mina/common/ByteBuffer.java
MODIFY /directory/network/trunk/src/java/org/apache/mina/common/ByteBufferProxy.java

Trustin Lee made changes - 07/Dec/05 01:06 PM
Field Original Value New Value
Resolution Fixed [ 1 ]
Status Open [ 1 ] Closed [ 6 ]