Skip to content

Commit

Permalink
fixed interface name
Browse files Browse the repository at this point in the history
  • Loading branch information
dep11007 committed Feb 9, 2015
1 parent b20f382 commit ccfcf35
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package thermostat;

public interface Device {
public interface Deviceable {
public void sensorUpdateEvent(Sensorable sensor);
}
4 changes: 2 additions & 2 deletions src/thermostat/TemperatureSensor.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

public class TemperatureSensor implements Sensorable{

Device owner;
Deviceable owner;

public TemperatureSensor(Device owner){
public TemperatureSensor(Deviceable owner){
this.owner = owner;
}

Expand Down
2 changes: 1 addition & 1 deletion src/thermostat/ThermostatDevice.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import networking.*;

public class ThermostatDevice implements Device {
public class ThermostatDevice implements Deviceable {

List<Sensorable> sensorList;
List<Actuatorable> actuatorList;
Expand Down

0 comments on commit ccfcf35

Please sign in to comment.