Format code

This commit is contained in:
Alex Sytnyk 2018-07-23 15:11:27 +03:00
parent ffb9db6913
commit dff30ed5bc

View file

@ -544,14 +544,6 @@ public class FavoritesTreeFragment extends OsmandExpandableListFragment {
File src = null;
File dst = null;
@Override
protected Void doInBackground(Void... params) {
if (group != null) {
helper.saveFile(group.points, dst);
}
return null;
}
@Override
protected void onPreExecute() {
showProgressBar();
@ -565,6 +557,14 @@ public class FavoritesTreeFragment extends OsmandExpandableListFragment {
dst = new File(dir, src != null ? src.getName() : FavouritesDbHelper.FILE_TO_SAVE);
}
@Override
protected Void doInBackground(Void... params) {
if (group != null) {
helper.saveFile(group.points, dst);
}
return null;
}
@Override
protected void onPostExecute(Void res) {
hideProgressBar();