View | Details | Raw Unified | Return to bug 57840
Collapse All | Expand All

(-)src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFEvaluationSheet.java (-2 / +2 lines)
Lines 62-77 Link Here
62
    private static class CellKey {
62
    private static class CellKey {
63
        private final int _row;
63
        private final int _row;
64
        private final int _col;
64
        private final int _col;
65
        private final int _hash;
65
        private int _hash = -1;
66
        
66
        
67
        protected CellKey(int row, int col) {
67
        protected CellKey(int row, int col) {
68
            _row = row;
68
            _row = row;
69
            _col = col;
69
            _col = col;
70
            _hash = (17 * 37 + row) * 37 + col;
71
        }
70
        }
72
        
71
        
73
        @Override
72
        @Override
74
        public int hashCode() {
73
        public int hashCode() {
74
            if( _hash == -1 ) _hash = (17 * 37 + _row) * 37 + _col;
75
            return _hash;
75
            return _hash;
76
        }
76
        }

Return to bug 57840