--- android/TrainInfoService/src/dk/thoerup/traininfoservice/banedk/DepartureFetcher.java 2010/11/06 06:42:09 1187 +++ android/TrainInfoService/src/dk/thoerup/traininfoservice/banedk/DepartureFetcher.java 2010/11/08 12:39:27 1188 @@ -145,19 +145,19 @@ if (table != null) { Elements tableRows = table.getElementsByTag("tr"); - boolean tidsstregExists = (table.getElementsByAttributeValue("class", "Tidsstreg").size() > 0); - boolean passedTidsstreg = false; + //boolean tidsstregExists = (table.getElementsByAttributeValue("class", "Tidsstreg").size() > 0); + //boolean passedTidsstreg = false; for (Element currentRow : tableRows) { String rowClass = currentRow.attr("class"); - + /* if (tidsstregExists == true && passedTidsstreg == false) { if (currentRow.getElementsByAttributeValue("class", "Tidsstreg").size() > 0) { passedTidsstreg = true; } else { continue; } - } + }*/ if (rowClass != null && rowClass.toLowerCase().contains("station") ) { @@ -253,19 +253,19 @@ if (table != null) { Elements tableRows = table.getElementsByTag("tr"); - boolean passedTidsstreg = false; - boolean tidsstregExists = (table.getElementsByAttributeValue("class", "Tidsstreg").size() > 0); + //boolean passedTidsstreg = false; + //boolean tidsstregExists = (table.getElementsByAttributeValue("class", "Tidsstreg").size() > 0); for (Element currentRow : tableRows) { String rowClass = currentRow.attr("class"); - + /* if (tidsstregExists == true && passedTidsstreg == false) { if (currentRow.getElementsByAttributeValue("class", "Tidsstreg").size() > 0) { passedTidsstreg = true; } else { continue; } - } + }*/ if (rowClass != null && rowClass.toLowerCase().contains("station") ) {