| Index: base/android/java/src/org/chromium/base/StreamUtil.java
|
| diff --git a/base/android/java/src/org/chromium/base/StreamUtil.java b/base/android/java/src/org/chromium/base/StreamUtil.java
|
| deleted file mode 100644
|
| index f8cbfeeb9ede22580c5cac44ec35332708439ab7..0000000000000000000000000000000000000000
|
| --- a/base/android/java/src/org/chromium/base/StreamUtil.java
|
| +++ /dev/null
|
| @@ -1,28 +0,0 @@
|
| -// Copyright 2013 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -package org.chromium.base;
|
| -
|
| -import java.io.Closeable;
|
| -import java.io.IOException;
|
| -
|
| -/**
|
| - * Helper methods to deal with stream related tasks.
|
| - */
|
| -public class StreamUtil {
|
| - /**
|
| - * Handle closing a {@link java.io.Closeable} via {@link java.io.Closeable#close()} and catch
|
| - * the potentially thrown {@link java.io.IOException}.
|
| - * @param closeable The Closeable to be closed.
|
| - */
|
| - public static void closeQuietly(Closeable closeable) {
|
| - if (closeable == null) return;
|
| -
|
| - try {
|
| - closeable.close();
|
| - } catch (IOException ex) {
|
| - // Ignore the exception on close.
|
| - }
|
| - }
|
| -}
|
|
|