You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openmeetings.apache.org by GitBox <gi...@apache.org> on 2021/02/03 12:54:56 UTC

[GitHub] [openmeetings] ShangwenWang opened a new pull request #125: Change the method name "toXml" to "writeOutput"

ShangwenWang opened a new pull request #125:
URL: https://github.com/apache/openmeetings/pull/125


   Generally speaking, the method outputs data to a Xml file. Nonetheless, we have already known that the output is in XML format through the class name (_XmlExport_). Therefore, there is no need to mention XML in the method name.
   On the contrary, "writeOutput" seems clearer since it explictly describes what the method does.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [openmeetings] solomax closed pull request #125: Change the method name "toXml" to "writeOutput"

Posted by GitBox <gi...@apache.org>.
solomax closed pull request #125:
URL: https://github.com/apache/openmeetings/pull/125


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [openmeetings] solomax commented on pull request #125: Change the method name "toXml" to "writeOutput"

Posted by GitBox <gi...@apache.org>.
solomax commented on pull request #125:
URL: https://github.com/apache/openmeetings/pull/125#issuecomment-772511791


   Hello @ShangwenWang,
   
   Thanks for your PR!
   Unfortunately it can't be merged :(
   
   1. as it is it will break the build (you change the method name, but not the code calling the method)
   
   According renaming: I'm -0 for it.
   I do prefer shorter names, and `XmlExport.toXml` not confusing
   In case static import will be used the call will be `toXml` - not confusing at all ...
   ```
   
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [openmeetings] solomax edited a comment on pull request #125: Change the method name "toXml" to "writeOutput"

Posted by GitBox <gi...@apache.org>.
solomax edited a comment on pull request #125:
URL: https://github.com/apache/openmeetings/pull/125#issuecomment-772511791


   Hello @ShangwenWang,
   
   Thanks for your PR!
   Unfortunately it can't be merged :(
   
   - as it is it will break the build (you change the method name, but not the code calling the method)
   
   According renaming: I'm -0 for it.
   I do prefer shorter names, and `XmlExport.toXml` not confusing
   In case static import will be used the call will be `toXml` - not confusing at all ...
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [openmeetings] ShangwenWang commented on pull request #125: Change the method name "toXml" to "writeOutput"

Posted by GitBox <gi...@apache.org>.
ShangwenWang commented on pull request #125:
URL: https://github.com/apache/openmeetings/pull/125#issuecomment-772562834


   OK. Thanks
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org