Skip to content
This repository has been archived by the owner on Jun 7, 2021. It is now read-only.

APEXCORE-747 Provide additional ToStringStyle options #550

Merged
merged 1 commit into from Jun 27, 2017

Conversation

vrozov
Copy link
Member

@vrozov vrozov commented Jun 25, 2017

@PramodSSImmaneni Please review

super();
}

private static class ShortClassNameToStringStyle extends ToStringStyle
Copy link
Contributor

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
Copy link
Contributor

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.

Copy link
Member Author

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.

Copy link
Contributor

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.

@pramodin
Copy link
Contributor

Can you rebase

@vrozov
Copy link
Member Author

vrozov commented Jun 27, 2017

Done.

@pramodin
Copy link
Contributor

Did you push? Still seeing it on top of a prior commit.

@vrozov
Copy link
Member Author

vrozov commented Jun 27, 2017

Rebased

@asfgit asfgit merged commit 1f78515 into apache:master Jun 27, 2017
@vrozov vrozov deleted the APEXCORE-747 branch June 27, 2017 23:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants