1
0
Fork 0
mirror of https://github.com/graphhopper/jsprit.git synced 2020-01-24 07:45:05 +01:00

[#173] Updated all logging statements to use parameter substitution

This commit is contained in:
Heinrich Filter 2015-08-10 17:45:18 +02:00
parent af9e75c18d
commit 44aeb38151
36 changed files with 79 additions and 79 deletions

View file

@ -111,7 +111,7 @@ public class ChristofidesReader {
reader.close();
} catch (IOException e) {
e.printStackTrace();
logger.error(e);
logger.error("Exception:", e);
System.exit(1);
}
}
@ -121,7 +121,7 @@ public class ChristofidesReader {
return reader.readLine();
} catch (IOException e) {
e.printStackTrace();
logger.error(e);
logger.error("Exception:", e);
System.exit(1);
return null;
}
@ -139,7 +139,7 @@ public class ChristofidesReader {
reader = new BufferedReader(new FileReader(solomonFile));
} catch (FileNotFoundException e1) {
e1.printStackTrace();
logger.error(e1);
logger.error("Exception:", e1);
System.exit(1);
}
return reader;

View file

@ -141,7 +141,7 @@ public class CordeauReader {
reader.close();
} catch (IOException e) {
e.printStackTrace();
logger.error(e);
logger.error("Exception:", e);
System.exit(1);
}
}
@ -151,7 +151,7 @@ public class CordeauReader {
return reader.readLine();
} catch (IOException e) {
e.printStackTrace();
logger.error(e);
logger.error("Exception:", e);
System.exit(1);
return null;
}
@ -169,7 +169,7 @@ public class CordeauReader {
reader = new BufferedReader(new FileReader(solomonFile));
} catch (FileNotFoundException e1) {
e1.printStackTrace();
logger.error(e1);
logger.error("Exception:", e1);
System.exit(1);
}
return reader;

View file

@ -142,7 +142,7 @@ public class LiLimReader {
reader = new BufferedReader(new FileReader(file));
} catch (FileNotFoundException e1) {
e1.printStackTrace();
logger.error(e1);
logger.error("Exception:", e1);
System.exit(1);
}
return reader;

View file

@ -90,7 +90,7 @@ public class LopezIbanezBlumReader {
reader.close();
} catch (IOException e) {
e.printStackTrace();
logger.error(e);
logger.error("Exception:", e);
System.exit(1);
}
}
@ -100,7 +100,7 @@ public class LopezIbanezBlumReader {
return reader.readLine();
} catch (IOException e) {
e.printStackTrace();
logger.error(e);
logger.error("Exception:", e);
System.exit(1);
return null;
}
@ -112,7 +112,7 @@ public class LopezIbanezBlumReader {
reader = new BufferedReader(new FileReader(solomonFile));
} catch (FileNotFoundException e1) {
e1.printStackTrace();
logger.error(e1);
logger.error("Exception:", e1);
System.exit(1);
}
return reader;

View file

@ -154,7 +154,7 @@ public class LuiShenReader {
reader.close();
} catch (IOException e) {
e.printStackTrace();
logger.error(e);
logger.error("Exception:", e);
System.exit(1);
}
}
@ -164,7 +164,7 @@ public class LuiShenReader {
return reader.readLine();
} catch (IOException e) {
e.printStackTrace();
logger.error(e);
logger.error("Exception:", e);
System.exit(1);
return null;
}
@ -182,7 +182,7 @@ public class LuiShenReader {
reader = new BufferedReader(new FileReader(solomonFile));
} catch (FileNotFoundException e1) {
e1.printStackTrace();
logger.error(e1);
logger.error("Exception:", e1);
System.exit(1);
}
return reader;

View file

@ -130,7 +130,7 @@ public class SolomonReader {
reader.close();
} catch (IOException e) {
e.printStackTrace();
logger.error(e);
logger.error("Exception:", e);
System.exit(1);
}
}
@ -140,7 +140,7 @@ public class SolomonReader {
return reader.readLine();
} catch (IOException e) {
e.printStackTrace();
logger.error(e);
logger.error("Exception:", e);
System.exit(1);
return null;
}
@ -158,7 +158,7 @@ public class SolomonReader {
reader = new BufferedReader(new FileReader(solomonFile));
} catch (FileNotFoundException e1) {
e1.printStackTrace();
logger.error(e1);
logger.error("Exception:", e1);
System.exit(1);
}
return reader;