Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 4cb8ae48

Přidáno uživatelem Alex Konig před téměř 4 roky(ů)

re #8842 Fixing MergeAttendance

Zobrazit rozdíly:

Server/ServerApp/Parser/Parsers/DataParser.cs
128 128
            int indexJis = 0, indexLogin = 0;
129 129
            while (true)
130 130
            {
131
                if (indexJis >= jisList.Count && indexLogin >= loginList.Count)
131
                if (indexJis >= jisList.Count || indexLogin >= loginList.Count)
132 132
                    break;
133 133

  
134 134
                ActivityInfo jis = jisList[indexJis];
......
177 177

  
178 178
            }
179 179

  
180
            // add all not yet processed
181
            if (indexJis < jisList.Count)
182
                res.AddRange(jisList.GetRange(indexJis, jisList.Count - indexJis));
183
                    
184
                    
185
            if (indexLogin < loginList.Count)
186
                res.AddRange(jisList.GetRange(indexLogin, loginList.Count - indexLogin));
187

  
180 188
            return res;
181 189
        }
182 190

  

Také k dispozici: Unified diff