You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by GitBox <gi...@apache.org> on 2022/09/20 16:59:32 UTC

[GitHub] [solr] dsmiley commented on a diff in pull request #1027: Add logs and comments to split workflow

dsmiley commented on code in PR #1027:
URL: https://github.com/apache/solr/pull/1027#discussion_r975612880


##########
solr/core/src/java/org/apache/solr/cloud/api/collections/SplitShardCmd.java:
##########
@@ -80,6 +80,15 @@
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
+/**
+ * Credits to Megan Carey for documentation

Review Comment:
   (1) the first line/sentence of Javadoc of any class should be about the class, not meta information like this.
   (2) at the ASF there is a policy (maybe not strict) against attributing an author of code within the code/docs.  I've found this anti-author policy useful for non open-source as well.  Source control metadata is superior.  And referencing people is a slippery slope of adding more people.  Instead we can reference her in the metadata of the commit message and/or CHANGES.txt if applicable.
     I'm not sure if this is general ASF policy but we don't attribute source code to individuals, and I take this approach to inside companies as well.  



-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org