Skip to content

Commit

Permalink
fixed line lengths and unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
mzorz committed Jul 31, 2018
1 parent 2e78b52 commit 81edf5d
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,20 +41,21 @@ public boolean isSameAs(PublicizeServiceList otherList) {
* passed JSON is the response from /meta/external-services?type=publicize
"services": {
"facebook":{
"ID":"facebook",
"label":"Facebook",
"type":"publicize",
"description":"Publish your posts to your Facebook timeline or page.",
"genericon":{
"class":"facebook-alt",
"unicode":"\\f203"
},
"icon":"http:\/\/i.wordpress.com\/wp-content\/admin-plugins\/publicize\/assets\/publicize-fb-2x.png",
"connect_URL":"https:\/\/public-api.wordpress.com\/connect\/?action=request&kr_nonce=a1e2ad2b80&nonce=c4b69a25c1&for=connect&service=facebook&kr_blog_nonce=0ae2027be9&magic=keyring&blog=90298630",
"multiple_external_user_ID_support":true,
"external_users_only":true,
"jetpack_support":true,
"jetpack_module_required":"publicize"
"ID":"facebook",
"label":"Facebook",
"type":"publicize",
"description":"Publish your posts to your Facebook timeline or page.",
"genericon":{
"class":"facebook-alt",
"unicode":"\\f203"
},
"icon":"http:\/\/i.wordpress.com\/wp-content\/admin-plugins\/publicize\/assets\/publicize-fb-2x.png",
"connect_URL":"https:\/\/public-api.wordpress.com\/connect\/?action=request&kr_nonce=a1e2ad2b80
&nonce=c4b69a25c1&for=connect&service=facebook&kr_blog_nonce=0ae2027be9&magic=keyring&blog=90298630",
"multiple_external_user_ID_support":true,
"external_users_only":true,
"jetpack_support":true,
"jetpack_module_required":"publicize"
},
...
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ public void onErrorResponse(VolleyError volleyError) {
* step two in creating a publicize connection: now that we have the keyring connection id,
* create the actual connection
*/
public static void connectStepTwo(final long siteId, long keyringConnectionId, final String serviceId, final String externalUserId) {
public static void connectStepTwo(final long siteId, long keyringConnectionId,
final String serviceId, final String externalUserId) {
RestRequest.Listener listener = new RestRequest.Listener() {
@Override
public void onResponse(JSONObject jsonObject) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@

import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v7.widget.AppCompatButton;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.TextView;

import org.wordpress.android.R;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,8 @@ public void onEventMainThread(PublicizeEvents.ActionAccountChosen event) {
return;
}

PublicizeActions.connectStepTwo(event.getSiteId(), event.getKeychainId(), event.getService(), event.getExternalUserId());
PublicizeActions.connectStepTwo(event.getSiteId(), event.getKeychainId(),
event.getService(), event.getExternalUserId());
mProgressDialog = new ProgressDialog(this);
mProgressDialog.setMessage(getString(R.string.connecting_account));
mProgressDialog.show();
Expand Down

0 comments on commit 81edf5d

Please sign in to comment.