-
Notifications
You must be signed in to change notification settings - Fork 111
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
Fields should be marked transient only if class is Serializable #675
Comments
@yegor256 What do you think about the above? |
@krzyk well... what's wrong with |
@yegor256 I haven't thought of it as a protection, more like wasted keystrokes :) |
@krzyk OK, I'm convinced, let's remove this check |
@davvd valid bug |
@davvd this is urgent |
…dependency-validator
@vkuchyn please pick this up, and keep in mind these instructions. Any technical questions - ask right here; The budget here is 30 mins, which is exactly how much time will be paid for, when the task is completed |
@krzyk many thanks, 30 mins added to your acc for reporting this bug, pmt ID |
@vkuchyn it is a good practice to add reference to the PR, even before it was merged |
@vkuchyn I'm not sure who actually completed this task, since there were no messages from you above (correct me if I'm wrong) |
@vkuchyn you have to always inform David about PR in the issue you are solving, and after it was merged ask issue creator to close IT (unless creator notices it earlier, like in this case). After you add the reference, please ask davdd for payment. |
@davvd issue was fixed 7 days ago, but still no payments. Please, recheck status of it. |
@davvd this is not urgent |
@yegor256 again need your help. Please, see comment above |
@yegor256 please, see http://at.teamed.io/policy.html#14 I didn't received any points, but got payment - what I am talking about |
@vkuchyn you still don't have rating points in your account in Netbout? |
@yegor256 still don't have this ticket in my rating. You can take a look by the reference http://www.netbout.com/b/36353?open=rating if you have access |
@vkuchyn that's because the payment was done not in a normal mode. won't happen in the future, I hope. we have to move on here, can't do anything with it. |
Currently we have a PMD rule
BeanMembersShouldSerialize
with rationale:Most of the time we don't follow the rules for Java Beans (see getters/setters) so I think that the rule requiring fields to be
transient
should be loose up to onlySerializable
classes - and there is already such rule enabled in Findbugs (SE_BAD_FIELD):We should remove rule
BeanMembersShouldSerialize
and create a test that ensures we can create classes without transient fields.The text was updated successfully, but these errors were encountered: