Skip to content

Commit

Permalink
Fix travis build failing due to lint check
Browse files Browse the repository at this point in the history
  • Loading branch information
vladholubiev committed Feb 9, 2015
1 parent 6379d1b commit a58ea3e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
3 changes: 3 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ android {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
lintOptions {
abortOnError false
}
}

dependencies {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,25 +1,20 @@
package ua.samosfator.moduleok;

import android.os.AsyncTask;
import android.os.Handler;
import android.os.Looper;

import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;

import java.io.IOException;

import de.greenrobot.event.EventBus;
import ua.samosfator.moduleok.event.RefreshEndEvent;

class LoadPageAsyncTask extends AsyncTask<Void, Void, String> {

@Override
protected String doInBackground(Void... params) {
Document mainPage = Jsoup.parse("<div id=\"content\"></div>");
try {
// mainPage = getFromCustomRemoteSource();
mainPage = getFromRemoteSource();
mainPage = getFromCustomRemoteSource();
// mainPage = getFromRemoteSource();
} catch (IOException e) {
e.printStackTrace();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
import de.greenrobot.event.EventBus;
import ua.samosfator.moduleok.App;
import ua.samosfator.moduleok.R;
import ua.samosfator.moduleok.event.RefreshEndEvent;
import ua.samosfator.moduleok.event.SemesterChangedEvent;

public class ModuleFragment extends Fragment {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import android.content.res.Resources;
import android.support.v7.widget.RecyclerView;
import android.util.Log;
import android.view.View;
import android.widget.FrameLayout;
import android.widget.TextView;
Expand Down

0 comments on commit a58ea3e

Please sign in to comment.