Browse Source

Addedd suppresswarnings to some of the unused fields and methods

These methods are likely to be used later or in actual implementations, so
the removal is not preferred at the moment
Nagy Attila Gabor 7 years ago
parent
commit
d559f168d9

+ 1 - 0
RISE-V2G-SECC/src/main/java/com/v2gclarity/risev2g/secc/evseController/DummyACEVSEController.java

@@ -39,6 +39,7 @@ import com.v2gclarity.risev2g.shared.v2gMessages.msgDef.UnitSymbolType;
 
 
 public class DummyACEVSEController implements IACEVSEController {
 public class DummyACEVSEController implements IACEVSEController {
 
 
+	@SuppressWarnings("unused")
 	private V2GCommunicationSessionSECC commSessionContext;
 	private V2GCommunicationSessionSECC commSessionContext;
 	
 	
 	public DummyACEVSEController(V2GCommunicationSessionSECC commSessionContext) {
 	public DummyACEVSEController(V2GCommunicationSessionSECC commSessionContext) {

+ 3 - 0
RISE-V2G-SECC/src/main/java/com/v2gclarity/risev2g/secc/evseController/DummyDCEVSEController.java

@@ -43,8 +43,11 @@ public class DummyDCEVSEController implements IDCEVSEController {
 	private V2GCommunicationSessionSECC commSessionContext;
 	private V2GCommunicationSessionSECC commSessionContext;
 	private PhysicalValueType targetCurrent;
 	private PhysicalValueType targetCurrent;
 	private PhysicalValueType targetVoltage;
 	private PhysicalValueType targetVoltage;
+	@SuppressWarnings("unused")
 	private PhysicalValueType maximumEVVoltageLimit;
 	private PhysicalValueType maximumEVVoltageLimit;
+	@SuppressWarnings("unused")
 	private PhysicalValueType maximumEVCurrentLimit;
 	private PhysicalValueType maximumEVCurrentLimit;
+	@SuppressWarnings("unused")
 	private PhysicalValueType maximumEVPowerLimit;
 	private PhysicalValueType maximumEVPowerLimit;
 	private IsolationLevelType isolationLevel;
 	private IsolationLevelType isolationLevel;
 	
 	

+ 1 - 0
RISE-V2G-Shared/src/main/java/com/v2gclarity/risev2g/shared/exiCodec/EXIficientCodec.java

@@ -222,6 +222,7 @@ public final class EXIficientCodec extends ExiCodec {
 		this.exiFactory = exiFactory;
 		this.exiFactory = exiFactory;
 	}
 	}
 
 
+	@SuppressWarnings("unused")
 	private GrammarFactory getGrammarFactory() {
 	private GrammarFactory getGrammarFactory() {
 		return grammarFactory;
 		return grammarFactory;
 	}
 	}

+ 1 - 0
RISE-V2G-Shared/src/main/java/com/v2gclarity/risev2g/shared/exiCodec/OpenEXICodec.java

@@ -246,6 +246,7 @@ public final class OpenEXICodec extends ExiCodec {
 		this.exiSchemaFactory = exiSchemaFactory;
 		this.exiSchemaFactory = exiSchemaFactory;
 	}
 	}
 
 
+	@SuppressWarnings("unused")
 	private InputStream getSchemaMsgDefIS() {
 	private InputStream getSchemaMsgDefIS() {
 		return schemaMsgDefIS;
 		return schemaMsgDefIS;
 	}
 	}