APEXCORE-747 Provide additional ToStringStyle options #550
Conversation
super(); | ||
} | ||
|
||
private static class ShortClassNameToStringStyle extends ToStringStyle |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why can't these directly extend apache ToStringStyle
import org.apache.hadoop.classification.InterfaceStability.Evolving; | ||
|
||
@Evolving | ||
public abstract class ToStringStyle extends org.apache.commons.lang.builder.ToStringStyle |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why does this class need to extend apache ToStringStyle. Looks like this is a container of other StringStyles.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is a base common class for Apex ToStringStyle. In future, if we want to modify common behavior for all ToStringStyle classes, it can be done in this class.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good. I will merge it tomorrow giving others a chance to look and comment.
Can you rebase |
Done. |
Did you push? Still seeing it on top of a prior commit. |
Rebased |
@PramodSSImmaneni Please review