Github user skyluc commented on the pull request:

    https://github.com/apache/spark/pull/8433#issuecomment-135661207
  
    It indicates on which of the elements generated for the class parameter to 
apply the annotation.
    There are 4 possible elements generated for a class parameter: the 
constructor parameter, the field, the getter and the setter (and more for 
beans).
    I would expect `@(transient @field)` to be enough, for the cases when a 
field is actually created, but the warning is not resolve until `@param` is 
added too. I haven't dig on why the compiler complain in this case.
    
    The base question was mostly: do we want to remove the `@transient` 
annotation which have no effect at all (no field generated by the compiler).


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to