Search Options

Results per page
Sort
Preferred Languages
Advance

Results 961 - 970 of 3,989 for Null (0.08 sec)

  1. guava/src/com/google/common/collect/NullnessCasts.java

       * value may be legitimately {@code null}.)
       */
      @ParametricNullness
      @SuppressWarnings("nullness")
      static <T extends @Nullable Object> T uncheckedCastNullableTToT(@CheckForNull T t) {
        return t;
      }
    
      /** Returns {@code null} as any type, even one that does not include {@code null}. */
      @SuppressWarnings({"nullness", "TypeParameterUnusedInFormals", "ReturnMissingNullable"})
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 10 20:36:34 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadata.java

            if (metadata.getVersioning() == null) {
                DateFormat utcDateFormatter = new SimpleDateFormat(DEFAULT_SNAPSHOT_TIMESTAMP_FORMAT);
                utcDateFormatter.setCalendar(new GregorianCalendar());
                utcDateFormatter.setTimeZone(DEFAULT_SNAPSHOT_TIME_ZONE);
    
                snapshot = new Snapshot();
                snapshot.setBuildNumber(buildNumber != null ? buildNumber : getBuildNumber(recessive) + 1);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

                        continue;
                    }
    
                    final String[] values = KuromojiCSVUtil.parse(replacedLine);
                    String token = null;
                    String segmentation = null;
                    String reading = null;
                    String pos = null;
                    switch (values.length) {
                    case 4:
                        pos = values[3];
                    case 3:
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/RequestBody.kt

      companion object {
        /**
         * Returns a new request body that transmits this string. If [contentType] is non-null and lacks
         * a charset, this will use UTF-8.
         */
        @JvmStatic
        @JvmName("create")
        fun String.toRequestBody(contentType: MediaType? = null): RequestBody {
          val (charset, finalContentType) = contentType.chooseCharset()
          val bytes = toByteArray(charset)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Jan 25 14:41:37 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/AutobahnTester.kt

            ) {
              webSocket.send(text)
            }
    
            override fun onClosing(
              webSocket: WebSocket,
              code: Int,
              reason: String,
            ) {
              webSocket.close(1000, null)
              latch.countDown()
            }
    
            override fun onFailure(
              webSocket: WebSocket,
              t: Throwable,
              response: Response?,
            ) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/CloseablesTest.java

      }
    
      public void testCloseNull() throws IOException {
        Closeables.close(null, true);
        Closeables.close(null, false);
      }
    
      public void testCloseQuietlyNull_inputStream() {
        Closeables.closeQuietly((InputStream) null);
      }
    
      public void testCloseQuietlyNull_reader() {
        Closeables.closeQuietly((Reader) null);
      }
    
      // Set up a closeable to expect to be closed, and optionally to throw an
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/MetadataBridge.java

        }
    
        private String emptify(String string) {
            return (string != null) ? string : "";
        }
    
        public File getFile() {
            return null;
        }
    
        public MetadataBridge setFile(File file) {
            return this;
        }
    
        @Override
        public Path getPath() {
            return null;
        }
    
        public Nature getNature() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringVisitorModelInterpolator.java

        @Override
        public Model interpolateModel(
                Model model, File projectDir, ModelBuildingRequest config, ModelProblemCollector problems) {
            return interpolateModel(model, projectDir != null ? projectDir.toPath() : null, config, problems);
        }
    
        @Override
        public Model interpolateModel(
                Model model, Path projectDir, ModelBuildingRequest config, ModelProblemCollector problems) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/exception/NullArgumentExceptionTest.java

        @Before
        public void setUp() throws Exception {
            LocaleUtil.setDefault(() -> Locale.JAPANESE);
        }
    
        @After
        public void tearDown() throws Exception {
            LocaleUtil.setDefault(null);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testErrorMessage_ja() throws Exception {
            // ## Arrange ##
            Locale.setDefault(Locale.JAPANESE);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

         * allowing the CAS below to succeed.
         */
        Thread currentThread = Thread.currentThread();
        if (!compareAndSet(null, currentThread)) {
          return; // someone else has run or is running.
        }
    
        boolean run = !isDone();
        T result = null;
        Throwable error = null;
        try {
          if (run) {
            result = runInterruptibly();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
Back to top