commit | dd146c0668311e1383a08508639e8fa7b8a12945 | [log] [tgz] |
---|---|---|
author | Andreas Veithen <veithen@apache.org> | Fri Oct 14 20:12:26 2011 +0000 |
committer | Andreas Veithen <veithen@apache.org> | Fri Oct 14 20:12:26 2011 +0000 |
tree | fc79251ffb4faf345f466234df15c46a27d0b819 | |
parent | 58314ef1834d2dd0991173c3dd008dce14761678 [diff] |
Use a simple List instead of a Hashtable to store MIME part headers. A typical MIME part has 3 headers, so that a List may actually be more efficient than a Hashtable, especially if we normalize keys to lower case. This also solves AXIOM-389 because String#equalsIgnoreCase is not locale aware (in contrast to String#toLowerCase).