Explorar o código

Removed unused removeV2GCommunicationSession method

It was never used, and it contained an error, that could cause problems
if someone were using this method.
Nagy Attila Gabor %!s(int64=7) %!d(string=hai) anos
pai
achega
52d5ee093b

+ 0 - 5
RISE-V2G-SECC/src/main/java/com/v2gclarity/risev2g/secc/session/V2GCommunicationSessionHandlerSECC.java

@@ -25,7 +25,6 @@ package com.v2gclarity.risev2g.secc.session;
 
 import java.net.DatagramPacket;
 import java.net.Inet6Address;
-import java.net.InetAddress;
 import java.util.Arrays;
 import java.util.HashMap;
 import java.util.Observable;
@@ -211,10 +210,6 @@ public class V2GCommunicationSessionHandlerSECC implements Observer {
 		return Byte.compare(getSecurity(), GlobalValues.V2G_SECURITY_WITH_TLS.getByteValue()) == 0 ? true : false;
 	}
 	
-	public void removeV2GCommunicationSession(InetAddress requesterAddress) {
-		getV2gCommunicationSessions().remove(getV2gCommunicationSessions().get(requesterAddress));
-	}
-
 	public HashMap<String, V2GCommunicationSessionSECC> getV2gCommunicationSessions() {
 		return v2gCommunicationSessions;
 	}