Code Conventions

This commit is contained in:
m_broelemann 2021-01-06 08:29:35 +01:00
parent 465c9aa9ba
commit e81984fcc1

View File

@ -8,6 +8,9 @@ import java.util.List;
public class TestXML implements IXML { public class TestXML implements IXML {
/**
* @return
*/
@Override @Override
public List<String> getDeviceNames() { public List<String> getDeviceNames() {
List<String> returnList = new ArrayList<>(); List<String> returnList = new ArrayList<>();
@ -17,8 +20,12 @@ public class TestXML implements IXML {
return returnList; return returnList;
} }
/**
* @param deviceName the name of the relevant device
* @return
*/
@Override @Override
public Dictionary<String, Object> getPort(String deviceName) { public Dictionary<String, Object> getPort(final String deviceName) {
Dictionary<String, Object> returnDict = new Hashtable<>(); Dictionary<String, Object> returnDict = new Hashtable<>();
returnDict.put("protocol", "DI"); returnDict.put("protocol", "DI");
Dictionary<String, Object> pins = new Hashtable<>(); Dictionary<String, Object> pins = new Hashtable<>();