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

Side by Side Diff: src/org/adblockplus/android/Preferences.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.io.IOException; 20 import java.io.IOException;
21 import java.io.InputStream; 21 import java.io.InputStream;
22 import java.io.OutputStream; 22 import java.io.OutputStream;
23 import java.util.Calendar; 23 import java.util.Calendar;
24 import java.util.Date; 24 import java.util.Date;
25 25
26 import org.apache.commons.lang.StringUtils; 26 import org.adblockplus.android.StringUtils;
27 import org.jraf.android.backport.switchwidget.SwitchPreference; 27 import org.jraf.android.backport.switchwidget.SwitchPreference;
28 28
29 import android.app.AlertDialog; 29 import android.app.AlertDialog;
30 import android.app.Dialog; 30 import android.app.Dialog;
31 import android.content.BroadcastReceiver; 31 import android.content.BroadcastReceiver;
32 import android.content.Context; 32 import android.content.Context;
33 import android.content.DialogInterface; 33 import android.content.DialogInterface;
34 import android.content.Intent; 34 import android.content.Intent;
35 import android.content.IntentFilter; 35 import android.content.IntentFilter;
36 import android.content.SharedPreferences; 36 import android.content.SharedPreferences;
(...skipping 534 matching lines...) Expand 10 before | Expand all | Expand 10 after
571 subscriptionSummary = state.getString("subscriptionSummary"); 571 subscriptionSummary = state.getString("subscriptionSummary");
572 } 572 }
573 573
574 @Override 574 @Override
575 protected void onSaveInstanceState(final Bundle outState) 575 protected void onSaveInstanceState(final Bundle outState)
576 { 576 {
577 outState.putString("subscriptionSummary", subscriptionSummary); 577 outState.putString("subscriptionSummary", subscriptionSummary);
578 super.onSaveInstanceState(outState); 578 super.onSaveInstanceState(outState);
579 } 579 }
580 } 580 }
OLDNEW

Powered by Google App Engine
This is Rietveld