Explorar el Código

Removes Debug Printouts

Andreas T. Meyer-Berg hace 6 años
padre
commit
5cdaba0f1d

+ 0 - 1
src/main/java/de/tu_darmstadt/tk/SmartHomeNetworkSim/view/VisualisationInteractor.java

@@ -486,7 +486,6 @@ public class VisualisationInteractor implements MouseInputListener,
 		LinkedList<Pair<Connection,Pair<Port,Port>>> edges = new LinkedList<Pair<Connection,Pair<Port,Port>>>();
 		// Check is device is inside visualization radius
 		for(Connection c: model.getConnections()){
-			System.out.println(c.getClass()+":"+c.getName());
 			if(c.getProtocol()==null)
 				continue;
 			for(Pair<Port, Port> p: c.getProtocol().getTopology()){

+ 0 - 6
src/main/java/de/tu_darmstadt/tk/SmartHomeNetworkSim/view/popups/ConnectionCreationPanel.java

@@ -156,12 +156,6 @@ public class ConnectionCreationPanel extends JScrollPane {
 
 	@SuppressWarnings("unchecked")
 	private void initializePanel() {
-		System.out.println("Connection null?: " + (connection==null));
-		if(connection!=null){
-			System.out.println("Connection name: "+connection.getName());
-			System.out.println("Connection protocol null: "+(connection.getProtocol()==null));
-		}
-		
 		if(connection != null && connection.getProtocol()!=null)
 			disconnectedIndex = connection.getProtocol().getNumberOfRoles();
 		else