If the code has a call to the println method and nothing is printed, that means the code is not being executed.including a system.out.println statement in them doesn't generate anything
Check to see if there is another version of the class that is being executed instead of the one that has the added println statements.
Don't add any main methods. The debugging is supposed to be of the whole program when it is executed normally.I create a main method, attempt to invoke the method, can't do so
The object of the print statements is to show the contents of items after something is added to it and when its contents are supposed to be displayed in the toString method.
The current code shows that the City object being added to items is lost before the call to the toString method.
Can you post the version of the Repository class that has the debug println statements?