remove macro java sources duplicate