Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1001 - 1010 of 3,695 for nulls (0.04 sec)

  1. 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)
  2. compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java

         * @return Converted instance of the target type
         */
        private Object parse(final MXParser parser, final TypeLiteral<?> toType) throws Exception {
            parser.require(XmlPullParser.START_TAG, null, null);
    
            final Class<?> rawType = toType.getRawType();
            if (XmlNode.class.isAssignableFrom(rawType)) {
                return XmlNodeBuilder.build(parser);
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.3K 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-testlib/src/com/google/common/testing/ArbitraryInstances.java

       * Returns an arbitrary instance for {@code type}, or {@code null} if no arbitrary instance can be
       * determined.
       */
      public static <T> @Nullable T get(Class<T> type) {
        T defaultValue = DEFAULTS.getInstance(type);
        if (defaultValue != null) {
          return defaultValue;
        }
        Class<? extends T> implementation = getImplementation(type);
        if (implementation != null) {
          return get(implementation);
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 20.8K bytes
    - Viewed (0)
Back to top