Not very hard to do if you are using the -Xlint compiler option you get the following warning:


TestCode15.java:167: warning: [empty] empty statement after if
if (member.getName().equals(name));...