Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 2,283 for else (0.03 sec)

  1. src/main/java/org/codelibs/core/convert/BooleanConversionUtil.java

                } else if ("false".equalsIgnoreCase(s)) {
                    return Boolean.FALSE;
                } else if (s.equals("0")) {
                    return Boolean.FALSE;
                } else {
                    return Boolean.TRUE;
                }
            } else {
                return Boolean.TRUE;
            }
        }
    
        /**
         * {@literal boolean}に変換します。
         *
         * @param o
         *            変換元のオブジェクト
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt

            return true // ALPN is supported.
          } else if (methodName == "unsupported" && Void.TYPE == returnType) {
            this.unsupported = true // Peer doesn't support ALPN.
            return null
          } else if (methodName == "protocols" && callArgs.isEmpty()) {
            return protocols // Client advertises these protocols.
          } else if ((methodName == "selectProtocol" || methodName == "select") &&
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/ws/WebSocketRecorder.kt

          delegate.onMessage(webSocket, bytes)
        } else {
          events.add(Message(bytes = bytes))
        }
      }
    
      override fun onMessage(
        webSocket: WebSocket,
        text: String,
      ) {
        Platform.get().log("[WS $name] onMessage", Platform.INFO, null)
        val delegate = delegate
        if (delegate != null) {
          this.delegate = null
          delegate.onMessage(webSocket, text)
        } else {
          events.add(Message(string = text))
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/-RequestCommon.kt

      tag: T?,
    ) = apply {
      if (tag == null) {
        if (tags.isNotEmpty()) {
          (tags as MutableMap).remove(type)
        }
      } else {
        val mutableTags: MutableMap<KClass<*>, Any> =
          when {
            tags.isEmpty() -> mutableMapOf<KClass<*>, Any>().also { tags = it }
            else -> tags as MutableMap<KClass<*>, Any>
          }
        mutableTags[type] = tag
      }
    }
    
    fun Request.commonToString(): String =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/configurations/PerformanceTest.kt

                        gradleWrapper {
                            name = "GRADLE_RUNNER${if (repeatIndex == 0) "" else "_2"}"
                            tasks = ""
                            workingDir = os.perfTestWorkingDir
    
                            val typeExtraParameters = if (type.extraParameters.isEmpty()) "" else " ${type.extraParameters}"
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 24 06:22:49 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/KotlinMetadataQueries.kt

            if (Modifier.isPrivate(ctClass.modifiers)) false
            else queryKotlinMetadata(ctClass) { metadata ->
                when (metadata) {
                    is KotlinClassMetadata.FileFacade -> true
                    else -> false
                }
            }
    
        fun isKotlinInternal(ctClass: CtClass): Boolean =
            if (Modifier.isPrivate(ctClass.modifiers)) false
            else hasAttribute(ctClass, AttributePredicate.visibility(Visibility.INTERNAL))
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Aug 21 12:41:59 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/convert/FloatConversionUtil.java

            if (o == null) {
                return null;
            } else if (o instanceof Float) {
                return (Float) o;
            } else if (o instanceof Number) {
                return new Float(((Number) o).floatValue());
            } else if (o instanceof String) {
                return toFloat((String) o);
            } else if (o instanceof java.util.Date) {
                if (pattern != null) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

                        }
                    }
    
                }
                else if ( cred instanceof byte[] ) {
                    this.blob = (byte[]) cred;
                }
                else {
                    throw new SmbException("Unsupported credential type " + ( cred != null ? cred.getClass() : "NULL" ));
                }
            }
            else if ( server.security == SmbConstants.SECURITY_SHARE ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 17 10:20:23 UTC 2019
    - 8.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbException.java

                    if( errcode > NT_STATUS_CODES[mid] ) {
                        min = mid + 1;
                    } else if( errcode < NT_STATUS_CODES[mid] ) {
                        max = mid - 1;
                    } else {
                        return NT_STATUS_MESSAGES[mid];
                    }
                }
            } else {
                int min = 0;
                int max = DOS_ERROR_CODES.length - 1;
    
                while( max >= min ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.5K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

            List<String> roots;
            if (nonNull(scope, "scope") == ProjectScope.MAIN) {
                roots = prj.getCompileSourceRoots();
            } else if (scope == ProjectScope.TEST) {
                roots = prj.getTestCompileSourceRoots();
            } else {
                throw new IllegalArgumentException("Unsupported scope " + scope);
            }
            return roots.stream()
                    .map(Paths::get)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top