Explorar o código

Removes debug prints

Andreas T. Meyer-Berg %!s(int64=6) %!d(string=hai) anos
pai
achega
2b16fecae0

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

@@ -336,7 +336,6 @@ public class ConnectionCreationPanel extends JScrollPane {
 				if(mutex)
 					return;
 				
-				// TODO: Improve ImportPopUp
 				/**
 				 * Old Protocol
 				 */
@@ -361,9 +360,6 @@ public class ConnectionCreationPanel extends JScrollPane {
 					System.out
 							.println("WARNING: Invalid Protocol Selected - restore last index");
 				} else if (connection.setProtocol(newProtocol)) {
-					System.out.println("Index"+cmbProtocolType.getSelectedIndex());
-					System.out.println("Protocol changed: ");
-					System.out.println(newProtocol.getClass().getSimpleName());
 					/**
 					 * New Roles as Strings
 					 */
@@ -421,7 +417,6 @@ public class ConnectionCreationPanel extends JScrollPane {
 		btnImportProtocol.setBounds(290, 100, 155, 20);
 		content.add(btnImportProtocol);
 		btnImportProtocol.addActionListener(a -> {
-			// TODO: Improve Import
 				ImportPopUp<Protocol> popUp = new ImportPopUp<Protocol>(this,
 						Protocol.class);
 
@@ -728,9 +723,6 @@ public class ConnectionCreationPanel extends JScrollPane {
 		// Set Index to selected Protocol
 		lastProtocolIndex = -1;
 		for (int i = 0; i < availableProtocols.size(); i++){
-			System.out.println("i: "+i);
-			System.out.println("Protocol is: "+connection.getProtocol().getClass().getSimpleName());
-			System.out.println("Protocol: "+availableProtocols.get(i).getSimpleName());
 			if (connection.getProtocol().getClass()
 					.equals(availableProtocols.get(i))) {
 				// Select the right protocol and save last index