connectivity/com.nokia.carbide.remoteConnections.tests/src/com/nokia/carbide/remoteconnections/tests/extensions/IntervalConnection.java
equal
deleted
inserted
replaced
29 |
29 |
30 private int msInterval; |
30 private int msInterval; |
31 |
31 |
32 public IntervalConnection(IConnectionType connectionType) { |
32 public IntervalConnection(IConnectionType connectionType) { |
33 super(connectionType, new HashMap<String, String>()); |
33 super(connectionType, new HashMap<String, String>()); |
|
34 msInterval = Integer.parseInt(IntervalConnectionType.VALUE); |
34 getSettings().put(IntervalConnectionType.KEY, Integer.toString(msInterval)); |
35 getSettings().put(IntervalConnectionType.KEY, Integer.toString(msInterval)); |
35 } |
36 } |
36 |
37 |
37 public void updateSettings(Map<String, String> newSettings) { |
38 public void updateSettings(Map<String, String> newSettings) { |
38 Check.checkContract(newSettings.containsKey(IntervalConnectionType.KEY)); |
39 Check.checkContract(newSettings.containsKey(IntervalConnectionType.KEY)); |