For ENG-5621, use a more accurate method to update the partition count that doesn't result in perpetual incrementing on failed joins
For ENG-5621, for style points use Collections.max instead of looping
For ENG-5621, calculate the new number of partitions in one spot and reuse the value so when the calculation changes we don't need to update multiple locations
For ENG-5621, IntelliJ please stop "correcting" indentation for lines I haven't even modified. Real nice default behavior.
Merge pull request #1081 from VoltDB/ENG-5621

Eng 5621 When retrying failed joins don't continually increment the partition count