- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for SuppressingSuppressor (0.36 sec)
-
android/guava/src/com/google/common/io/Closer.java
/** The suppressor implementation to use for the current Java version. */ private static final Suppressor SUPPRESSOR; static { SuppressingSuppressor suppressingSuppressor = SuppressingSuppressor.tryCreate(); SUPPRESSOR = suppressingSuppressor == null ? LoggingSuppressor.INSTANCE : suppressingSuppressor; } /** Creates a new {@link Closer}. */ public static Closer create() { return new Closer(SUPPRESSOR); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Mar 06 15:15:46 GMT 2024 - 11.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CloserTest.java
} @AndroidIncompatible // TODO(cpovirk): Look up Build.VERSION.SDK_INT reflectively. public void testCreate() { assertThat(Closer.create().suppressor).isInstanceOf(Closer.SuppressingSuppressor.class); } public void testNoExceptionsThrown() throws IOException { Closer closer = new Closer(suppressor); TestCloseable c1 = closer.register(TestCloseable.normal());
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Mar 06 15:15:46 GMT 2024 - 13.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CloserTest.java
} @AndroidIncompatible // TODO(cpovirk): Look up Build.VERSION.SDK_INT reflectively. public void testCreate() { assertThat(Closer.create().suppressor).isInstanceOf(Closer.SuppressingSuppressor.class); } public void testNoExceptionsThrown() throws IOException { Closer closer = new Closer(suppressor); TestCloseable c1 = closer.register(TestCloseable.normal());
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Mar 06 15:15:46 GMT 2024 - 13.6K bytes - Viewed (0)