EGCompara.java

fix a bug