int bitsDifference = FormatInformation.numBitsDiffering(versionBits, targetVersion);\r
if (bitsDifference < bestDifference) {\r
bestVersion = i + 7;\r
int bitsDifference = FormatInformation.numBitsDiffering(versionBits, targetVersion);\r
if (bitsDifference < bestDifference) {\r
bestVersion = i + 7;\r
+ bestDifference = bitsDifference;\r
}\r
}\r
// We can tolerate up to 3 bits of error since no two version info codewords will\r
}\r
}\r
// We can tolerate up to 3 bits of error since no two version info codewords will\r