Update Community.java

removed duplicated method for merge