Removed toString overrides for port-related classes in Java