test_class.file: http/src/test/java/ro/polak/http/utilities/IOUtilitiesTest.java
test_class.identifier: IOUtilitiesTest
test_case.body: @Test
      public void shouldCloseClosableSilently() throws IOException {
          Closeable closeable = mock(Closeable.class);
          doThrow(new IOException("This should never happen")).when(closeable).close();
  
          try {
              closeable.close();
              fail("IOException should be thrown.");
          } catch (Exception e) {
          }
  
          IOUtilities.closeSilently(closeable);
      }
test_case.class_method_signature: IOUtilitiesTest.shouldCloseClosableSilently()
test_case.full_signature: @Test public void shouldCloseClosableSilently()
test_case.identifier: shouldCloseClosableSilently
test_case.invocations: mock close when doThrow close fail closeSilently
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void shouldCloseClosableSilently()
focal_class.declarator: DEFAULT_BUFFER_SIZE = 4096
focal_class.modifier: private static final
focal_class.original_string: private static final int DEFAULT_BUFFER_SIZE = 4096;
focal_class.type: int
focal_class.var_name: DEFAULT_BUFFER_SIZE
focal_class.file: http/src/main/java/ro/polak/http/utilities/IOUtilities.java
focal_class.identifier: IOUtilities
focal_class.class_method_signature: IOUtilities.IOUtilities()
focal_class.full_signature: private  IOUtilities()
focal_class.identifier: IOUtilities
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  IOUtilities()
focal_class.class_method_signature: IOUtilities.closeSilently(final Closeable closeable)
focal_class.full_signature: public static void closeSilently(final Closeable closeable)
focal_class.identifier: closeSilently
focal_class.modifiers: public static
focal_class.parameters: (final Closeable closeable)
focal_class.return: void
focal_class.signature: void closeSilently(final Closeable closeable)
focal_class.class_method_signature: IOUtilities.copyStreams(final InputStream in, final OutputStream out)
focal_class.full_signature: public static void copyStreams(final InputStream in, final OutputStream out)
focal_class.identifier: copyStreams
focal_class.modifiers: public static
focal_class.parameters: (final InputStream in, final OutputStream out)
focal_class.return: void
focal_class.signature: void copyStreams(final InputStream in, final OutputStream out)
focal_class.class_method_signature: IOUtilities.copyStreams(final InputStream in, final OutputStream out, final int bufferSize)
focal_class.full_signature: public static void copyStreams(final InputStream in, final OutputStream out, final int bufferSize)
focal_class.identifier: copyStreams
focal_class.modifiers: public static
focal_class.parameters: (final InputStream in, final OutputStream out, final int bufferSize)
focal_class.return: void
focal_class.signature: void copyStreams(final InputStream in, final OutputStream out, final int bufferSize)
focal_method.body: public static void closeSilently(final Closeable closeable) {
          if (closeable == null) {
              return;
          }
          try {
              closeable.close();
          } catch (IOException ignored) {
              // Keep it silent
          }
      }
focal_method.class_method_signature: IOUtilities.closeSilently(final Closeable closeable)
focal_method.full_signature: public static void closeSilently(final Closeable closeable)
focal_method.identifier: closeSilently
focal_method.invocations: close
focal_method.modifiers: public static
focal_method.parameters: (final Closeable closeable)
focal_method.return: void
focal_method.signature: void closeSilently(final Closeable closeable)