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

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

Issue 29348632: Issue 4260 - Replace Apache Commons Lang classes (Closed)
Patch Set: Created July 22, 2016, 5:58 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.util.ArrayList; 20 import java.util.ArrayList;
21 import java.util.List; 21 import java.util.List;
22 22
23 import org.adblockplus.android.compat.ProxyProperties; 23 import org.adblockplus.android.compat.ProxyProperties;
24 import org.adblockplus.android.configurators.IptablesProxyConfigurator; 24 import org.adblockplus.android.configurators.IptablesProxyConfigurator;
25 import org.apache.commons.lang.StringUtils; 25 import org.adblockplus.android.StringUtils;
26 26
27 import android.app.AlertDialog; 27 import android.app.AlertDialog;
28 import android.app.Dialog; 28 import android.app.Dialog;
29 import android.content.DialogInterface; 29 import android.content.DialogInterface;
30 import android.content.Intent; 30 import android.content.Intent;
31 import android.content.SharedPreferences; 31 import android.content.SharedPreferences;
32 import android.os.Build; 32 import android.os.Build;
33 import android.os.Bundle; 33 import android.os.Bundle;
34 import android.preference.Preference; 34 import android.preference.Preference;
35 import android.preference.Preference.OnPreferenceClickListener; 35 import android.preference.Preference.OnPreferenceClickListener;
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 { 249 {
250 dialog.cancel(); 250 dialog.cancel();
251 } 251 }
252 }); 252 });
253 dialog = builder.create(); 253 dialog = builder.create();
254 break; 254 break;
255 } 255 }
256 return dialog; 256 return dialog;
257 } 257 }
258 } 258 }
OLDNEW

Powered by Google App Engine
This is Rietveld