Subversion Repositories SmartDukaan

Rev

Rev 37337 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 37337 Rev 37571
Line 93... Line 93...
93
                continue;
93
                continue;
94
            }
94
            }
95
            String scheme = scheme(token);
95
            String scheme = scheme(token);
96
            if (scheme != null) {
96
            if (scheme != null) {
97
                flush(pending, scheme, collected, rejected);
97
                flush(pending, scheme, collected, rejected);
98
            } else if ("M".equals(token)) {
-
 
99
                flush(pending, "NONE", collected, rejected);
-
 
100
            }
98
            }
-
 
99
            // "M" is the MONTH UNIT, not a separator. It used to flush, which meant
-
 
100
            // "3m,6m LCE" tokenised to 3, M, 6, M, LCE and each M banked its month as
-
 
101
            // NONE - so the LCE arrived with nothing pending and was silently lost.
-
 
102
            // 74 Sep'26 offers carried a scheme in the cell that never reached
-
 
103
            // offer_tenure, 22 of them through this path.
-
 
104
            //
-
 
105
            // Months with no marker are still handled: they stay pending and the
-
 
106
            // end-of-cell flush banks them as NONE, which is the same answer the M
-
 
107
            // branch used to give for a genuinely unmarked cell.
-
 
108
            //
-
 
109
            // It also fixes "3M (NCE), 6M & Above LCE", where the M flushed BOTH groups
-
 
110
            // before either marker was seen.
101
        }
111
        }
102
        // trailing months with no marker: CIB if the cell mentions it, else unscheme
112
        // trailing months with no marker: CIB if the cell mentions it, else unscheme
103
        if (!pending.isEmpty()) {
113
        if (!pending.isEmpty()) {
104
            flush(pending, upper.contains("CIB") ? "CIB" : "NONE", collected, rejected);
114
            flush(pending, upper.contains("CIB") ? "CIB" : "NONE", collected, rejected);
105
        }
115
        }