Skip to content

Commit

Permalink
Fix code style and name of EditText after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
phansier committed Jan 29, 2018
1 parent 0f80cc2 commit b39189c
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public void onDateSet(DatePicker view, int year, int monthOfYear, int dayOfMonth
dateAndTime.set(Calendar.DAY_OF_MONTH, dayOfMonth);
final Date startDate = dateAndTime.getTime();
String fdate = sd.format(startDate);
dateText.setText(fdate);
etDate.setText(fdate);
}
}, dateAndTime.get(Calendar.YEAR), dateAndTime.get(Calendar.MONTH), dateAndTime.get(Calendar.DAY_OF_MONTH)).show();

Expand Down Expand Up @@ -185,7 +185,7 @@ public void onClick(View v) {
if (milestone == null)
milestone = new Milestone();

repository=(Repository) intent.getSerializableExtra(EXTRA_REPOSITORY);
repository = (Repository) intent.getSerializableExtra(EXTRA_REPOSITORY);
repositoryId = RepositoryId.create(
intent.getStringExtra(EXTRA_REPOSITORY_OWNER),
intent.getStringExtra(EXTRA_REPOSITORY_NAME));
Expand Down Expand Up @@ -288,7 +288,7 @@ public boolean onOptionsItemSelected(MenuItem item) {
protected void onSuccess(Milestone created) throws Exception {
super.onSuccess(created);

Intent intent =RepositoryMilestonesActivity.createIntent(repository);
Intent intent = RepositoryMilestonesActivity.createIntent(repository);
startActivity(intent);
}

Expand Down Expand Up @@ -341,8 +341,8 @@ protected void onException(Exception e) throws RuntimeException {
}.execute();
}

private void updateDate(Date date){
if (date == null){
private void updateDate(Date date) {
if (date == null) {
etDate.setVisibility(View.GONE);
mDate = null;
milestone.due_on = null;
Expand Down

0 comments on commit b39189c

Please sign in to comment.