RATIONALE: Chemoprevention therapy is the use of certain drugs to try to prevent the development or recurrence of cancer. It is not yet known whether ciprofloxacin is more effective than cephalexin in preventing cancer recurrence in patients who are undergoing surgery to treat bladder cancer.