Changed Import Messages to be relavent to the type of data they import
This commit is contained in:
@@ -118,8 +118,8 @@ public class AirlineParser extends Parser {
|
||||
}
|
||||
}
|
||||
|
||||
return String.format("Entries Successfully Entered: %1$d.\n" +
|
||||
"Entries With Errors: %2$d", successful, error);
|
||||
return String.format("Airlines Successfully Entered: %1$d.\n" +
|
||||
"Airlines With Errors: %2$d", successful, error);
|
||||
}
|
||||
|
||||
public ArrayList<Airline> getResult(){
|
||||
|
||||
@@ -169,8 +169,8 @@ public class AirportParser extends Parser {
|
||||
}
|
||||
}
|
||||
|
||||
return String.format("Entries Successfully Entered: %1$d.\n" +
|
||||
"Entries With Errors: %2$d", successful, error);
|
||||
return String.format("Airports Successfully Entered: %1$d.\n" +
|
||||
"Airports With Errors: %2$d", successful, error);
|
||||
}
|
||||
|
||||
public ArrayList<Airport> getResult(){
|
||||
|
||||
@@ -147,8 +147,8 @@ public class FlightPathParser extends Parser {
|
||||
}
|
||||
}
|
||||
|
||||
return String.format("Entries Successfully Entered: %1$d.\n" +
|
||||
"Entries With Errors: %2$d", successful, error);
|
||||
return String.format("Flight Points Successfully Entered: %1$d.\n" +
|
||||
"Flight Points With Errors: %2$d", successful, error);
|
||||
}
|
||||
|
||||
public ArrayList<FlightPoint> getResult(){
|
||||
|
||||
@@ -149,8 +149,8 @@ public class RouteParser extends Parser {
|
||||
}
|
||||
}
|
||||
|
||||
return String.format("Entries Successfully Entered: %1$d.\n" +
|
||||
"Entries With Errors: %2$d", successful, error);
|
||||
return String.format("Routes Successfully Entered: %1$d.\n" +
|
||||
"Routes With Errors: %2$d", successful, error);
|
||||
}
|
||||
|
||||
public ArrayList<Route> getResult(){
|
||||
|
||||
Reference in New Issue
Block a user