for (int i = 0; i < lineData.length; i++)
lineData[i] = lineData[i].trim();
if (first) {
for (int i = 2; i < (2 + segmentWidth); i++) { //first two are for row and column
String columnName = lineData[i].toLowerCase();
<BUG>boolean isFemale = columnName.contains("female");
boolean mandatory = columnName.contains("mandatory");
boolean inbound = columnName.contains("inbound");
segmentIndex[new BikeLogsumSegment(isFemale,mandatory,inbound).getSegmentId()] = i;
}</BUG>
first = false;

for (int i = 0; i < lineData.length; i++)
lineData[i] = lineData[i].trim();
if (first) {
for (int i = 2; i < (2 + segmentWidth); i++) { //first two are for row and column
String columnName = lineData[i].toLowerCase();
if (columnName.contains("logsum"))
logsumIndex = i;
if (columnName.contains("time"))
timeIndex = i;
}
first = false;
