-
Aubrey Colter authored
Removing all of the synchronization (and thus the unnecessary variables myTwitter and myUserId) Search is no longer anonymous in twitter4j, so I only create one instance of twitter and use it in Search as well. Fixing a few of the blocks that broke because of method signatures that changed. CheckAuthorized() (checkAccessCode()) Follow() StopFollowing() RequestFollowers() Added the @UsesLibraries annotation that was missing in the broken code. Code is fixed, ready to publish. Fixed the formatting to be compatible with app-inventor style. Removed the volatile keyword on the variables because it is no longer necessary. Moved the setOAuth back into the try block at Jose's suggestion. Added catch (IllegalStateException) block. Andrew and I determined this should return true because the user is valid, twitter4j does not allow the OAuth to be set again. Updated documentation to reflect changes in code. Change-Id: Ibaa8564ac0a154992340c8fef2e6c3e84a0ff042
a06cbf10