Quantcast
Channel: Alan's Ramblings - PMD: mostly good
Browsing latest articles
Browse All 30 View Live

Re: PMD: mostly good

Agreed about the priority. In fact when I wrote the PMD integration with the suggestions window (see the last screenshot in the original post) I wanted to have priorities, since I had that for other...

View Article



Re: PMD: mostly good

Hi Alan - I was curious about the SimplifyBooleanExpressions thing, so I did some javap and yup, (!x) and (x == false) both compile to the same bytecode. So it really is just a style preference in this...

View Article

Re: PMD: mostly good

Oh, I forgot - you can silence a PMD warning by using a //NOPMD comment... like this: try { foo(); } catch (Exception e) {} // NOPMD Yours, Tom

View Article
Browsing latest articles
Browse All 30 View Live




Latest Images