Simplify if-do-while loop with standard while loop
commit9f6b735f22d5270714fbceeaf91f04ef63f68d95
authorYann Simon <yann.simon.fr@gmail.com>
Sun, 1 Feb 2009 16:29:54 +0000 (1 17:29 +0100)
committerShawn O. Pearce <spearce@spearce.org>
Sun, 1 Feb 2009 18:01:31 +0000 (1 10:01 -0800)
treea8f5f0fd24bb950a39334013bc8c7605b5c8702c
parentfc21f3a7c573e256c0ed553466fc70b722b6cbeb
Simplify if-do-while loop with standard while loop

Replace this non-standard idiom:

  if (condition) {
    do {
} while (condition)
  }

with the much more typical:

  while (condition) {
  }

Signed-off-by: Yann Simon <yann.simon.fr@gmail.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.spearce.jgit/src/org/spearce/jgit/lib/Repository.java