Closed jsedlacek closed 8 years ago
The identifyUserWithUserId and identifyUserWithUserId andServerUrl contain almost same code. Please extract common code so that we don't have to touch two places when changing code.
identifyUserWithUserId
identifyUserWithUserId andServerUrl
https://bitbucket.org/jsedlacek/satismeter-ios/src/9d556e958427a810a064415a3584896c14e31d76/SatisMeter/SatisMeter.m?at=master&fileviewer=file-view-default#SatisMeter.m-80
https://bitbucket.org/jsedlacek/satismeter-ios/src/9d556e958427a810a064415a3584896c14e31d76/SatisMeter/SatisMeter.m?at=master&fileviewer=file-view-default#SatisMeter.m-113
https://bitbucket.org/jsedlacek/satismeter-ios/commits/c2d868db48f46729ceb4ea9f988ba2983a0edc76
The
identifyUserWithUserId
andidentifyUserWithUserId andServerUrl
contain almost same code. Please extract common code so that we don't have to touch two places when changing code.https://bitbucket.org/jsedlacek/satismeter-ios/src/9d556e958427a810a064415a3584896c14e31d76/SatisMeter/SatisMeter.m?at=master&fileviewer=file-view-default#SatisMeter.m-80
https://bitbucket.org/jsedlacek/satismeter-ios/src/9d556e958427a810a064415a3584896c14e31d76/SatisMeter/SatisMeter.m?at=master&fileviewer=file-view-default#SatisMeter.m-113