Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for do_something (0.26 sec)

  1. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

          tester.testConstructor(constructor);
        }
      }
    
      private interface Foo<T> {
        void doSomething(T bar, Integer baz);
      }
    
      private static class StringFoo implements Foo<String> {
    
        @Override
        public void doSomething(String bar, Integer baz) {
          checkNotNull(bar);
          checkNotNull(baz);
        }
      }
    
      public void testBridgeMethodIgnored() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 47.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Throwables.java

       * client code to signal to the compiler that statements after the call are unreachable. Example
       * usage:
       *
       * <pre>
       * T doSomething() {
       *   try {
       *     return someMethodThatCouldThrowAnything();
       *   } catch (IKnowWhatToDoWithThisException e) {
       *     return handle(e);
       *   } catch (Throwable t) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  3. docs/en/docs/release-notes.md

    If you depended on exceptions not being received by dependencies with `yield`, and receiving an exception breaks the code after `yield`, you can use a block with `try` and `finally`:
    
    ```Python
    async def do_something():
        try:
            yield something
        finally:
            some_cleanup()
    ```
    
    ...that way the `finally` block is run regardless of any exception that might happen.
    
    ### Features
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Sep 05 12:48:45 UTC 2025
    - 544.1K bytes
    - Viewed (0)
Back to top