Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: src/org/adblockplus/android/AppUtils.java

Issue 29348632: Issue 4260 - Replace Apache Commons Lang classes (Closed)
Patch Set: full changeset including rene's comments Created July 26, 2016, 1:38 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * This file is part of Adblock Plus <https://adblockplus.org/>, 2 * This file is part of Adblock Plus <https://adblockplus.org/>,
3 * Copyright (C) 2006-2016 Eyeo GmbH 3 * Copyright (C) 2006-2016 Eyeo GmbH
4 * 4 *
5 * Adblock Plus is free software: you can redistribute it and/or modify 5 * Adblock Plus is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3 as 6 * it under the terms of the GNU General Public License version 3 as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
8 * 8 *
9 * Adblock Plus is distributed in the hope that it will be useful, 9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details. 12 * GNU General Public License for more details.
13 * 13 *
14 * You should have received a copy of the GNU General Public License 14 * You should have received a copy of the GNU General Public License
15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. 15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
16 */ 16 */
17 17
18 package org.adblockplus.android; 18 package org.adblockplus.android;
19 19
20 import java.io.BufferedReader; 20 import java.io.BufferedReader;
21 import java.io.InputStreamReader; 21 import java.io.InputStreamReader;
22 22
23 import org.adblockplus.android.updater.UpdaterActivity; 23 import org.adblockplus.android.updater.UpdaterActivity;
24 import org.adblockplus.libadblockplus.JsValue; 24 import org.adblockplus.libadblockplus.JsValue;
25 import org.adblockplus.libadblockplus.Subscription; 25 import org.adblockplus.libadblockplus.Subscription;
26 import org.apache.commons.lang.StringUtils; 26 import org.adblockplus.android.StringUtils;
27 27
28 import android.app.Notification; 28 import android.app.Notification;
29 import android.app.NotificationManager; 29 import android.app.NotificationManager;
30 import android.app.PendingIntent; 30 import android.app.PendingIntent;
31 import android.content.Context; 31 import android.content.Context;
32 import android.content.Intent; 32 import android.content.Intent;
33 import android.support.v4.app.NotificationCompat; 33 import android.support.v4.app.NotificationCompat;
34 34
35 public final class AppUtils 35 public final class AppUtils
36 { 36 {
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 buf.close(); 126 buf.close();
127 } 127 }
128 128
129 } 129 }
130 catch (final Exception e) 130 catch (final Exception e)
131 { 131 {
132 // Ignored for now 132 // Ignored for now
133 } 133 }
134 } 134 }
135 } 135 }
OLDNEW

Powered by Google App Engine
This is Rietveld