Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2961 - 2970 of 4,820 for If (0.02 sec)

  1. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Logger.java

         * @param level The logging level, never {@code null}.
         * @param message The logging message, never {@code null}.
         * @param error The error, if applicable.
         */
        record Entry(@Nonnull Level level, @Nonnull String message, @Nullable Throwable error) {}
    
        /**
         * If this is an accumulating log, it will "drain" this instance. It returns the accumulated log entries, and
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jan 31 20:56:58 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/middleware.md

    * It can do something to that **response** or run any needed code.
    * Then it returns the **response**.
    
    /// note | Technical Details
    
    If you have dependencies with `yield`, the exit code will run *after* the middleware.
    
    If there were any background tasks (covered in the [Background Tasks](background-tasks.md){.internal-link target=_blank} section, you will see it later), they will run *after* all the middleware.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/ListenerCallQueue.java

        void dispatch() {
          boolean scheduleEventRunner = false;
          synchronized (this) {
            if (!isThreadScheduled) {
              isThreadScheduled = true;
              scheduleEventRunner = true;
            }
          }
          if (scheduleEventRunner) {
            try {
              executor.execute(this);
            } catch (Exception e) { // sneaky checked exception
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/xml/DomUtil.java

         * @param encoding
         *            The encoding. If {@literal null}, the platform's default encoding will be used.
         * @return {@link InputStream}
         */
        public static InputStream getContentsAsStream(final String contents, final String encoding) {
            assertArgumentNotNull("contents", contents);
    
            if (encoding == null) {
                return new ByteArrayInputStream(contents.getBytes());
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/log/exbhv/FavoriteLogBhv.java

        @Override
        protected String asEsIndex() {
            if (indexName == null) {
                final String name = ComponentUtil.getFessConfig().getIndexLogIndex();
                indexName = super.asEsIndex().replaceFirst(Pattern.quote("fess_log"), name);
            }
            return indexName;
        }
    
        @Override
        protected LocalDateTime toLocalDateTime(final Object value) {
            if (value != null) {
                try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/kt/CacheResponse.kt

        val request =
          Request
            .Builder()
            .url("http://publicobject.com/helloworld.txt")
            .build()
    
        val response1Body =
          client.newCall(request).execute().use {
            if (!it.isSuccessful) throw IOException("Unexpected code $it")
    
            println("Response 1 response:          $it")
            println("Response 1 cache response:    ${it.cacheResponse}")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2K bytes
    - Viewed (0)
  7. futures/failureaccess/src/com/google/common/util/concurrent/internal/InternalFutures.java

     *     Guava 27.0
     */
    public final class InternalFutures {
      /**
       * Usually returns {@code null} but, if the given {@code Future} has failed, may <i>optionally</i>
       * return the cause of the failure. "Failure" means specifically "completed with an exception"; it
       * does not include "was cancelled." To be explicit: If this method returns a non-null value,
       * then:
       *
       * <ul>
       *   <li>{@code isDone()} must return {@code true}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/beans/converter/NumberConverter.java

            if (StringUtil.isEmpty(value)) {
                return null;
            }
            try {
                return new DecimalFormat(pattern).parse(value);
            } catch (final ParseException e) {
                throw new ParseRuntimeException(e);
            }
    
        }
    
        @Override
        public String getAsString(final Object value) {
            if (value == null) {
                return null;
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/beans/converter/TimestampConverter.java

        }
    
        @Override
        public Object getAsObject(final String value) {
            if (isEmpty(value)) {
                return null;
            }
            return TimestampConversionUtil.toSqlTimestamp(value, pattern);
        }
    
        @Override
        public String getAsString(final Object value) {
            if (value == null) {
                return null;
            }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  10. .github/ISSUE_TEMPLATE/03-gopls.yml

          render: shell
        validations:
          required: true
      - type: textarea
        id: what-did-you-do
        attributes:
          label: "What did you do?"
          description: "If possible, provide a recipe for reproducing the error. A complete runnable program is good. A link on [go.dev/play](https://go.dev/play) is better. A failing unit test is the best."
        validations:
          required: true
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri May 24 17:09:04 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top