Adidas has canceled its contract with the German swimming federation in the wake of swimmers’ complaints since the Beijing Olympics that the Adidas suits were not competitive.