RemoteServersManagerState () { RemoteServersManagerState state = new RemoteServersManagerState(); for (RemoteServer<?> server : myServers) { state.myServers.add(createServerState(server)); } state.myServers.addAll(myUnknownServers); return state; }