Source:
<code>public void handleEditPostResult(int resultCode, Intent data) { if (resultCode == RESULT_OK && data != null && isAdded()) { boolean hasChanges = data.getBooleanExtra(EditPostActivity.EXTRA_HAS_CHANGES, false); final long postId = data.getLongExtra(EditPostActivity.EXTRA_POSTID, -1); boolean isPublishable = data.getBooleanExtra(EditPostActivity.EXTRA_IS_PUBLISHABLE, false) && postId != -1; boolean savedLocally = data.getBooleanExtra(EditPostActivity.EXTRA_SAVED_AS_LOCAL_DRAFT, false); if (hasChanges) { if (!NetworkUtils.isNetworkAvailable(getActivity())) { ToastUtils.showToast(getActivity(), R.string.error_publish_no_network, ToastUtils.Duration.SHORT); } else { if (isPublishable) { if (savedLocally) { <START> Snackbar.make(getActivity().findViewById(R.id.coordinator), R.string.editor_post_saved_locally_not_published, Snackbar.LENGTH_LONG) <END> .setAction(R.string.button_publish, new View.OnClickListener() { @Override public void onClick(View v) { Post post = WordPress.wpDB.getPostForLocalTablePostId(postId); publishPost(post); } }).show(); } else { Snackbar.make(getActivity().findViewById(R.id.coordinator), R.string.editor_post_saved_online_not_published, Snackbar.LENGTH_LONG) .setAction(R.string.button_publish, new View.OnClickListener() { @Override public void onClick(View v) { Post post = WordPress.wpDB.getPostForLocalTablePostId(postId); publishPost(post); } }).show(); } } else { if (savedLocally) { ToastUtils.showToast(getActivity(), R.string.editor_post_saved_locally); } else { ToastUtils.showToast(getActivity(), R.string.editor_post_saved_online); } } } } } }</code><technical_language>wrap long lines (this line 151) 120char [the style guide](<LINK_0> Thanks</technical_language>

Target:
public void handleEditPostResult(int resultCode, Intent data) { if (resultCode == Activity.RESULT_OK && data != null && isAdded()) { boolean hasChanges = data.getBooleanExtra(EditPostActivity.EXTRA_HAS_CHANGES, false); final PostModel post = (PostModel)data.getSerializableExtra(EditPostActivity.EXTRA_POST); boolean isPublishable = post != null && PostUtils.isPublishable(post); boolean savedLocally = data.getBooleanExtra(EditPostActivity.EXTRA_SAVED_AS_LOCAL_DRAFT, false); if (hasChanges) { if (savedLocally && !NetworkUtils.isNetworkAvailable(getActivity())) { ToastUtils.showToast(getActivity(), R.string.error_publish_no_network, ToastUtils.Duration.SHORT); } else { if (isPublishable) { if (savedLocally) { Snackbar.make(getActivity().findViewById(R.id.coordinator), R.string.editor_post_saved_locally_not_published, Snackbar.LENGTH_LONG) .setAction(R.string.button_publish, new View.OnClickListener() { @Override public void onClick(View v) { publishPost(post); } }).show(); } else if (PostStatus.fromPost(post) == PostStatus.DRAFT) { Snackbar.make(getActivity().findViewById(R.id.coordinator), R.string.editor_post_saved_online_not_published, Snackbar.LENGTH_LONG) .setAction(R.string.button_publish, new View.OnClickListener() { @Override public void onClick(View v) { publishPost(post); } }).show(); } } else { if (savedLocally) { ToastUtils.showToast(getActivity(), R.string.editor_post_saved_locally); } else { ToastUtils.showToast(getActivity(), R.string.editor_post_saved_online); } } } } } }