Location test_location = new Location();
String test_string = new String("Load Test String For The Homies");
test_location.addTravelMode(Vehicle.TravelModes.RAIL);
test_location.setName(test_string);
test_location.Update();
System.out.println(test_location.getID());
}
Is printing out 0 for the id meaning the update function is not setting the id correctly
There is an issue with Location.Update.
The following code:
Is printing out 0 for the id meaning the update function is not setting the id correctly