| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 package org.chromium.android_webview; | 5 package org.chromium.android_webview; |
| 6 | 6 |
| 7 import android.content.res.Resources; | 7 import android.content.res.Resources; |
| 8 import android.util.SparseArray; | 8 import android.util.SparseArray; |
| 9 | 9 |
| 10 import org.chromium.base.CalledByNative; | 10 import org.chromium.base.annotations.CalledByNative; |
| 11 import org.chromium.base.JNINamespace; | 11 import org.chromium.base.annotations.JNINamespace; |
| 12 | 12 |
| 13 import java.io.IOException; | 13 import java.io.IOException; |
| 14 import java.io.InputStreamReader; | 14 import java.io.InputStreamReader; |
| 15 import java.lang.ref.SoftReference; | 15 import java.lang.ref.SoftReference; |
| 16 import java.util.NoSuchElementException; | 16 import java.util.NoSuchElementException; |
| 17 import java.util.Scanner; | 17 import java.util.Scanner; |
| 18 | 18 |
| 19 /** | 19 /** |
| 20 * A class that defines a set of resource IDs and functionality to resolve | 20 * A class that defines a set of resource IDs and functionality to resolve |
| 21 * those IDs to concrete resources. | 21 * those IDs to concrete resources. |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 if (isr != null) { | 121 if (isr != null) { |
| 122 isr.close(); | 122 isr.close(); |
| 123 } | 123 } |
| 124 } catch (IOException e) { | 124 } catch (IOException e) { |
| 125 // Nothing to do if close() fails. | 125 // Nothing to do if close() fails. |
| 126 } | 126 } |
| 127 } | 127 } |
| 128 return result; | 128 return result; |
| 129 } | 129 } |
| 130 } | 130 } |
| OLD | NEW |