-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Added the control to use self closing tag in XML module and added two unit cases to test the same. #754
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
… unit cases to test the same.
|
Sure. Will do it. Thanks @stleary |
@@ -853,8 +870,15 @@ private static String toString(final Object object, final String tagName, final | |||
sb.append(indent(indent)); | |||
sb.append('<'); | |||
sb.append(key); | |||
sb.append("/>"); | |||
if(indentFactor > 0){ | |||
if (!keepSelfClosingTags) { |
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.
if (!condition) code1 else code2
can be replaces with
if (condition) code2 else code1
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.
Yeah, sure. I'll change it. I am thinking to change my approach though.
|
Since July 24, there have been no changes. Therefore, I believe it would be appropriate to consider canceling the pull request. |
@madhavgupta2011 Are you able to make the recommended corrections for this PR? |
Thanks, but not accepting this PR. The issue has been reopened. |
Added the control to use self closing tag in XML module and added two unit cases to test the same.