Small clean-up. Use for loop rather than while.
Small clean-up. Use for loop rather than while.

Swift SVN r16901

Ivacker/swift,shahmishal/swift,kentya6/swift,CodaFi/swift,lorentey/swift,JaSpa/swift,danielmartin/swift,xwu/swift,SwiftAndroid/swift,calebd/swift,djwbrown/swift,IngmarStein/swift,slavapestov/swift,ben-ng/swift,codestergit/swift,tinysun212/swift-windows,airspeedswift/swift,arvedviehweger/swift,sdulal/swift,swiftix/swift.old,shahmishal/swift,allevato/swift,parkera/swift,karwa/swift,atrick/swift,CodaFi/swift,jtbandes/swift,kstaring/swift,CodaFi/swift,johnno1962d/swift,slavapestov/swift,austinzheng/swift,jopamer/swift,shajrawi/swift,kusl/swift,natecook1000/swift,kusl/swift,LeoShimonaka/swift,modocache/swift,ahoppen/swift,slavapestov/swift,kperryua/swift,alblue/swift,hughbe/swift,return/swift,kperryua/swift,jmgc/swift,nathawes/swift,johnno1962d/swift,felix91gr/swift,glessard/swift,aschwaighofer/swift,gregomni/swift,IngmarStein/swift,shajrawi/swift,gmilos/swift,parkera/swift,cbrentharris/swift,karwa/swift,ken0nek/swift,roambotics/swift,gregomni/swift,sschiau/swift,johnno1962d/swift,therealbnut/swift,swiftix/swift.old,hughbe/swift,djwbrown/swift,xedin/swift,swiftix/swift,kentya6/swift,kentya6/swift,MukeshKumarS/Swift,shajrawi/swift,austinzheng/swift,mightydeveloper/swift,aschwaighofer/swift,atrick/swift,natecook1000/swift,dduan/swift,huonw/swift,cbrentharris/swift,zisko/swift,swiftix/swift.old,therealbnut/swift,LeoShimonaka/swift,sschiau/swift,arvedviehweger/swift,swiftix/swift,jopamer/swift,emilstahl/swift,djwbrown/swift,deyton/swift,bitjammer/swift,dduan/swift,tkremenek/swift,cbrentharris/swift,practicalswift/swift,lorentey/swift,austinzheng/swift,KrishMunot/swift,swiftix/swift.old,bitjammer/swift,frootloops/swift,manavgabhawala/swift,OscarSwanros/swift,sdulal/swift,russbishop/swift,JGiola/swift,amraboelela/swift,LeoShimonaka/swift,frootloops/swift,dduan/swift,bitjammer/swift,emilstahl/swift,calebd/swift,gottesmm/swift,modocache/swift,cbrentharris/swift,sschiau/swift,tinysun212/swift-windows,karwa/swift,kentya6/swift,harlanhaskins/swift,xedin/swift,rudkx/swift,OscarSwanros/swift,practicalswift/swift,benlangmuir/swift,deyton/swift,ben-ng/swift,emilstahl/swift,adrfer/swift,karwa/swift,airspeedswift/swift,ahoppen/swift,hughbe/swift,kentya6/swift,tardieu/swift,lorentey/swift,return/swift,kentya6/swift,devincoughlin/swift,russbishop/swift,xwu/swift,Jnosh/swift,karwa/swift,sschiau/swift,swiftix/swift.old,jopamer/swift,arvedviehweger/swift,uasys/swift,arvedviehweger/swift,cbrentharris/swift,emilstahl/swift,MukeshKumarS/Swift,kstaring/swift,karwa/swift,JGiola/swift,benlangmuir/swift,shajrawi/swift,allevato/swift,IngmarStein/swift,gregomni/swift,uasys/swift,roambotics/swift,ben-ng/swift,khizkhiz/swift,swiftix/swift,shajrawi/swift,glessard/swift,swiftix/swift,Ivacker/swift,gmilos/swift,sdulal/swift,jckarter/swift,practicalswift/swift,kstaring/swift,harlanhaskins/swift,karwa/swift,lorentey/swift,xedin/swift,therealbnut/swift,codestergit/swift,johnno1962d/swift,IngmarStein/swift,huonw/swift,OscarSwanros/swift,glessard/swift,harlanhaskins/swift,russbishop/swift,amraboelela/swift,danielmartin/swift,gribozavr/swift,huonw/swift,brentdax/swift,apple/swift,gribozavr/swift,zisko/swift,roambotics/swift,kperryua/swift,MukeshKumarS/Swift,ken0nek/swift,MukeshKumarS/Swift,airspeedswift/swift,parkera/swift,Ivacker/swift,alblue/swift,hooman/swift,shahmishal/swift,modocache/swift,Ivacker/swift,allevato/swift,shahmishal/swift,parkera/swift,dduan/swift,apple/swift,LeoShimonaka/swift,hughbe/swift,jtbandes/swift,jtbandes/swift,ken0nek/swift,russbishop/swift,MukeshKumarS/Swift,kperryua/swift,lorentey/swift,modocache/swift,kusl/swift,atrick/swift,ken0nek/swift,JaSpa/swift,glessard/swift,shajrawi/swift,mightydeveloper/swift,gottesmm/swift,sschiau/swift,IngmarStein/swift,felix91gr/swift,bitjammer/swift,xwu/swift,calebd/swift,tkremenek/swift,kstaring/swift,allevato/swift,ben-ng/swift,sdulal/swift,nathawes/swift,kentya6/swift,zisko/swift,amraboelela/swift,OscarSwanros/swift,khizkhiz/swift,xedin/swift,kstaring/swift,amraboelela/swift,airspeedswift/swift,milseman/swift,devincoughlin/swift,parkera/swift,deyton/swift,modocache/swift,gribozavr/swift,mightydeveloper/swift,therealbnut/swift,dduan/swift,gribozavr/swift,KrishMunot/swift,devincoughlin/swift,emilstahl/swift,emilstahl/swift,shahmishal/swift,benlangmuir/swift,hooman/swift,brentdax/swift,dduan/swift,SwiftAndroid/swift,LeoShimonaka/swift,benlangmuir/swift,LeoShimonaka/swift,frootloops/swift,xwu/swift,tardieu/swift,brentdax/swift,return/swift,codestergit/swift,danielmartin/swift,hooman/swift,LeoShimonaka/swift,JaSpa/swift,djwbrown/swift,johnno1962d/swift,codestergit/swift,cbrentharris/swift,return/swift,zisko/swift,swiftix/swift,jopamer/swift,KrishMunot/swift,lorentey/swift,gribozavr/swift,IngmarStein/swift,calebd/swift,xwu/swift,ken0nek/swift,natecook1000/swift,Jnosh/swift,OscarSwanros/swift,KrishMunot/swift,uasys/swift,glessard/swift,slavapestov/swift,OscarSwanros/swift,airspeedswift/swift,practicalswift/swift,sdulal/swift,gribozavr/swift,jmgc/swift,IngmarStein/swift,lorentey/swift,huonw/swift,gottesmm/swift,jopamer/swift,stephentyrone/swift,adrfer/swift,codestergit/swift,deyton/swift,nathawes/swift,devincoughlin/swift,tinysun212/swift-windows,jckarter/swift,jmgc/swift,stephentyrone/swift,tardieu/swift,devincoughlin/swift,stephentyrone/swift,JaSpa/swift,karwa/swift,bitjammer/swift,kstaring/swift,rudkx/swift,danielmartin/swift,tjw/swift,tinysun212/swift-windows,KrishMunot/swift,tkremenek/swift,dreamsxin/swift,aschwaighofer/swift,tardieu/swift,ken0nek/swift,zisko/swift,kusl/swift,manavgabhawala/swift,johnno1962d/swift,kusl/swift,rudkx/swift,jmgc/swift,manavgabhawala/swift,swiftix/swift,gregomni/swift,calebd/swift,austinzheng/swift,natecook1000/swift,ben-ng/swift,Ivacker/swift,stephentyrone/swift,nathawes/swift,ben-ng/swift,ahoppen/swift,uasys/swift,sdulal/swift,Jnosh/swift,jckarter/swift,alblue/swift,felix91gr/swift,milseman/swift,sdulal/swift,arvedviehweger/swift,swiftix/swift.old,practicalswift/swift,bitjammer/swift,glessard/swift,roambotics/swift,tkremenek/swift,hooman/swift,huonw/swift,ahoppen/swift,KrishMunot/swift,KrishMunot/swift,dreamsxin/swift,harlanhaskins/swift,practicalswift/swift,mightydeveloper/swift,gmilos/swift,Jnosh/swift,xwu/swift,frootloops/swift,CodaFi/swift,alblue/swift,zisko/swift,austinzheng/swift,cbrentharris/swift,emilstahl/swift,jmgc/swift,tkremenek/swift,brentdax/swift,kperryua/swift,xedin/swift,JGiola/swift,tkremenek/swift,arvedviehweger/swift,devincoughlin/swift,CodaFi/swift,gribozavr/swift,JGiola/swift,felix91gr/swift,milseman/swift,gribozavr/swift,practicalswift/swift,khizkhiz/swift,russbishop/swift,khizkhiz/swift,apple/swift,return/swift,harlanhaskins/swift,tjw/swift,gottesmm/swift,sschiau/swift,MukeshKumarS/Swift,slavapestov/swift,kusl/swift,emilstahl/swift,hooman/swift,adrfer/swift,jtbandes/swift,aschwaighofer/swift,adrfer/swift,Ivacker/swift,practicalswift/swift,danielmartin/swift,airspeedswift/swift,tkremenek/swift,SwiftAndroid/swift,manavgabhawala/swift,SwiftAndroid/swift,atrick/swift,nathawes/swift,manavgabhawala/swift,hughbe/swift,jopamer/swift,benlangmuir/swift,uasys/swift,JGiola/swift,stephentyrone/swift,bitjammer/swift,jckarter/swift,hooman/swift,parkera/swift,CodaFi/swift,nathawes/swift,kusl/swift,kperryua/swift,slavapestov/swift,shajrawi/swift,alblue/swift,manavgabhawala/swift,gmilos/swift,tinysun212/swift-windows,gregomni/swift,nathawes/swift,felix91gr/swift,huonw/swift,gottesmm/swift,apple/swift,tardieu/swift,austinzheng/swift,shajrawi/swift,khizkhiz/swift,modocache/swift,sdulal/swift,JaSpa/swift,johnno1962d/swift,xwu/swift,russbishop/swift,hughbe/swift,lorentey/swift,jmgc/swift,devincoughlin/swift,ben-ng/swift,modocache/swift,allevato/swift,return/swift,milseman/swift,tjw/swift,deyton/swift,gottesmm/swift,jmgc/swift,mightydeveloper/swift,uasys/swift,roambotics/swift,jopamer/swift,aschwaighofer/swift,kusl/swift,alblue/swift,natecook1000/swift,milseman/swift,MukeshKumarS/Swift,huonw/swift,cbrentharris/swift,jckarter/swift,slavapestov/swift,apple/swift,gmilos/swift,harlanhaskins/swift,return/swift,SwiftAndroid/swift,kentya6/swift,aschwaighofer/swift,aschwaighofer/swift,khizkhiz/swift,adrfer/swift,Ivacker/swift,amraboelela/swift,rudkx/swift,zisko/swift,russbishop/swift,gregomni/swift,apple/swift,sschiau/swift,austinzheng/swift,tjw/swift,Jnosh/swift,therealbnut/swift,adrfer/swift,brentdax/swift,gmilos/swift,codestergit/swift,felix91gr/swift,mightydeveloper/swift,JaSpa/swift,tinysun212/swift-windows,shahmishal/swift,allevato/swift,dduan/swift,jtbandes/swift,jckarter/swift,djwbrown/swift,alblue/swift,felix91gr/swift,uasys/swift,frootloops/swift,SwiftAndroid/swift,rudkx/swift,ahoppen/swift,adrfer/swift,tjw/swift,Jnosh/swift,ken0nek/swift,swiftix/swift.old,parkera/swift,shahmishal/swift,amraboelela/swift,rudkx/swift,amraboelela/swift,therealbnut/swift,OscarSwanros/swift,tjw/swift,atrick/swift,frootloops/swift,atrick/swift,parkera/swift,tinysun212/swift-windows,natecook1000/swift,brentdax/swift,frootloops/swift,brentdax/swift,CodaFi/swift,danielmartin/swift,tardieu/swift,LeoShimonaka/swift,harlanhaskins/swift,jtbandes/swift,mightydeveloper/swift,arvedviehweger/swift,stephentyrone/swift,swiftix/swift.old,gmilos/swift,hughbe/swift,JGiola/swift,hooman/swift,danielmartin/swift,benlangmuir/swift,sschiau/swift,xedin/swift,calebd/swift,milseman/swift,roambotics/swift,airspeedswift/swift,swiftix/swift,jtbandes/swift,kperryua/swift,Jnosh/swift,deyton/swift,gottesmm/swift,jckarter/swift,mightydeveloper/swift,deyton/swift,tjw/swift,codestergit/swift,xedin/swift,shahmishal/swift,devincoughlin/swift,ahoppen/swift,therealbnut/swift,kstaring/swift,milseman/swift,manavgabhawala/swift,SwiftAndroid/swift,Ivacker/swift,natecook1000/swift,JaSpa/swift,djwbrown/swift,calebd/swift,djwbrown/swift,tardieu/swift,allevato/swift,stephentyrone/swift,khizkhiz/swift,xedin/swift