Getter Service.getName() matches property name

This commit is contained in:
Eugene Livis 2015-07-20 10:15:30 -04:00
parent 0844aa2814
commit 1637b75ca8

View File

@ -88,14 +88,14 @@ public class ServicesMonitor {
*/
MESSAGING("Messaging Service");
private final String displayName;
private final String serviceName;
private Service(String displayName) {
this.displayName = displayName;
this.serviceName = displayName;
}
public String getName() {
return displayName;
return serviceName;
}
};