Fix spotbugs issues in network topologies module