Jon Aquino's Mental Garden

Engineering beautiful software jon aquino labs | personal blog

Monday, May 31, 2004

To find Serializable classes that do not have a serialVersionUID defined (and vice versa)

find . -iname *.java | xargs grep --files-with-matches Serializable | xargs grep --files-without-match serialVersionUID

find . -iname *.java | xargs grep --files-with-matches serialVersionUID | xargs grep --files-without-match Serializable

0 Comments:

Post a Comment

<< Home