-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
please ignore - checkstyle testing #5
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,10 +7,19 @@ on: | |
branches: [ master ] | ||
|
||
jobs: | ||
checkstyle: | ||
name: runner / checkstyle | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: dbelyaev/[email protected] | ||
with: | ||
github_token: ${{ secrets.github_token }} | ||
reporter: local | ||
level: warning | ||
fail_on_error: true | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: set up JDK 1.8 | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,10 +19,10 @@ | |
import retrofit.Response; | ||
import retrofit.Retrofit; | ||
|
||
import static com.eveningoutpost.dexdrip.xdrip.gs; | ||
/** | ||
* Created by Emma Black on 8/11/15. | ||
*/ | ||
import static com.eveningoutpost.dexdrip.xdrip.gs; | ||
public class FollowerListAdapter extends BaseAdapter { | ||
private List<ExistingFollower> list; | ||
private Context context; | ||
|
@@ -51,6 +51,7 @@ public long getItemId(int pos) { | |
@Override | ||
public View getView(final int position, final View convertView, ViewGroup parent) { | ||
View view = convertView; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
View view2_bad_format_test = convertView; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this run is with There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
if (view == null) { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hmm, the 'if' has correct indentation but not the line before. Strange. |
||
LayoutInflater inflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
view = inflater.inflate(R.layout.item_follower, null); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
|
@@ -67,6 +68,7 @@ public void onClick(View v) { | |
Callback<ResponseBody> deleteFollowerListener = new Callback<ResponseBody>() { | ||
@Override | ||
public void onResponse(Response<ResponseBody> response, Retrofit retrofit) { | ||
Retrofit tetrofit2_bad_format_test = retrofit; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. with |
||
if (response.isSuccess()) { | ||
Toast.makeText(context, gs(R.string.follower_deleted_succesfully), Toast.LENGTH_LONG).show(); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
list.remove(position); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'method def modifier' has incorrect indentation level 4, expected level should be 2.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this run is with
filter_mode: diff_context