mirror of https://github.com/apache/cloudstack.git
Adding pretty toString() to AffinityGroup
This commit is contained in:
parent
4a1eaf45bd
commit
6ec7e25993
|
|
@ -104,4 +104,11 @@ public class AffinityGroupVO implements AffinityGroup {
|
|||
return type;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder buf = new StringBuilder("AffinityGroup[");
|
||||
buf.append(id).append("|").append(name).append("|").append(type).append("]");
|
||||
return buf.toString();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue