mirror of https://github.com/apache/poi.git
bug 59383: getFormat should cache data formatter (fix from Nick C), accidentally deleted in bug 58532 r1710407.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1741114 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9afa005e63
commit
9fa0c96a63
|
@ -344,6 +344,7 @@ public class DataFormatter implements Observer {
|
|||
|
||||
// Build a formatter, and cache it
|
||||
format = createFormat(cellValue, formatIndex, formatStr);
|
||||
formats.put(formatStr, format);
|
||||
return format;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue