Merge "Remove the alarmDefinitionId field in the Alarm JSON"

This commit is contained in:
Jenkins 2014-10-22 16:13:53 +00:00 committed by Gerrit Code Review
commit c6802b8816
1 changed files with 0 additions and 8 deletions

View File

@ -78,10 +78,6 @@ public class Alarm extends AbstractEntity implements Linked {
this.metrics = metrics;
}
/**
* TODO - Remove this when the API no longer uses it
* @return
*/
public AlarmDefinitionShort getAlarmDefinition() {
return alarmDefinition;
}
@ -90,10 +86,6 @@ public class Alarm extends AbstractEntity implements Linked {
this.alarmDefinition = alarmDefinition;
}
public String getAlarmDefinitionId() {
return this.alarmDefinition.getId();
}
@Override
public int hashCode() {
final int prime = 31;