From e81984fcc16c06a8982e4a392df0ab981ae63d07 Mon Sep 17 00:00:00 2001 From: m_broelemann Date: Wed, 6 Jan 2021 08:29:35 +0100 Subject: [PATCH] Code Conventions --- .../src/main/java/com/example/aped/utils/TestXML.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/APED/app/src/main/java/com/example/aped/utils/TestXML.java b/APED/app/src/main/java/com/example/aped/utils/TestXML.java index ed10000..1207ba1 100644 --- a/APED/app/src/main/java/com/example/aped/utils/TestXML.java +++ b/APED/app/src/main/java/com/example/aped/utils/TestXML.java @@ -8,6 +8,9 @@ import java.util.List; public class TestXML implements IXML { + /** + * @return + */ @Override public List getDeviceNames() { List returnList = new ArrayList<>(); @@ -17,8 +20,12 @@ public class TestXML implements IXML { return returnList; } + /** + * @param deviceName the name of the relevant device + * @return + */ @Override - public Dictionary getPort(String deviceName) { + public Dictionary getPort(final String deviceName) { Dictionary returnDict = new Hashtable<>(); returnDict.put("protocol", "DI"); Dictionary pins = new Hashtable<>();