- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 1,071 for null (0.31 sec)
-
src/main/java/org/codelibs/core/collection/ArrayUtil.java
} /** * 配列が{@literal null}でも長さが0でもない場合は{@literal true}を返します。 * * @param arrays * 配列 * @return 配列が{@literal null}でも長さが0でもない場合は{@literal true} */ public static boolean isNotEmpty(final short[] arrays) { return arrays != null && arrays.length != 0; } /**
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 42.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ObjectUtil.java
* ObjectUtil.defaultValue(null, null) = null * </pre> * * @param <T> * オブジェクトの型 * @param t * オブジェクト(<code>null</code>可) * @param defaultValue * 引数のオブジェクトが<code>null</code>だったら返すオブジェクト(<code>null</code>可) * @return オブジェクトを返します。オブジェクトが<code>null</code>だったら<code>defaultValue</code> * を返します。 */
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 3.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/xml/DomUtil.java
* コンテンツ。{@literal null}であってはいけません * @param encoding * エンコーディング。{@literal null}の場合はプラットフォームのデフォルトエンコーディングが使われます * @return {@link InputStream} */ public static InputStream getContentsAsStream(final String contents, final String encoding) { assertArgumentNotNull("contents", contents); if (encoding == null) { return new ByteArrayInputStream(contents.getBytes());
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 10.5K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/RelocatedArtifact.java
this.groupId = (groupId != null && !groupId.isEmpty()) ? groupId : null; this.artifactId = (artifactId != null && !artifactId.isEmpty()) ? artifactId : null; this.classifier = (classifier != null && !classifier.isEmpty()) ? classifier : null; this.extension = (extension != null && !extension.isEmpty()) ? extension : null;
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 5K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsValidator.java
if (settings.getLocalRepository() != null && !settings.getLocalRepository().isEmpty()) { addViolation(problems, BuilderProblem.Severity.WARNING, "localRepository", null, msgS); } if (!settings.isInteractiveMode()) { addViolation(problems, BuilderProblem.Severity.WARNING, "interactiveMode", null, msgS); } if (settings.isOffline()) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 13.7K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java
prefix + prefix2 + "(groupId:artifactId)", null, "groupId of a plugin must be defined. ", plugin); } if (plugin.getArtifactId() == null || (plugin.getArtifactId() != null && plugin.getArtifactId().trim().isEmpty())) { addViolation(
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 13:13:07 GMT 2024 - 73.1K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/ArtifactDescriptorReaderDelegate.java
if (stereotype == null) { // TODO: this here is fishy stereotype = new DefaultType(dependency.getType(), Language.NONE, "", null, false); } boolean system = dependency.getSystemPath() != null && !dependency.getSystemPath().isEmpty(); Map<String, String> props = null; if (system) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 6.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayUtilTest.java
final String[] emptyArray = new String[0]; assertThat(ArrayUtil.addAll((Object[]) null, (Object[]) null), is(nullValue())); assertThat(ArrayUtil.addAll(null, emptyArray).length, is(0)); assertThat(ArrayUtil.addAll(emptyArray, null), is(sameInstance(emptyArray))); assertThat(ArrayUtil.addAll(emptyArray, null), is(sameInstance(emptyArray)));
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 10.6K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/ModelProblemUtils.java
* * @param groupId The group id, may be {@code null}. * @param artifactId The artifact id, may be {@code null}. * @param version The version, may be {@code null}. * @return The user-friendly artifact id, never {@code null}. */ static String toId(String groupId, String artifactId, String version) { return ((groupId != null && !groupId.isEmpty()) ? groupId : "[unknown-group-id]") + ':'
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 4.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/StringUtilTest.java
assertThat(StringUtil.defaultString("aaa", null), is("aaa")); assertThat(StringUtil.defaultString(null, null), is(nullValue())); } @Test public void testNewStringUnsafe() { assertNull(StringUtil.newStringUnsafe(null)); Method newStringUnsafeMethod = StringUtil.newStringUnsafeMethod; if (newStringUnsafeMethod != null) {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 12K bytes - Viewed (0)