- Sort Score
- Result 10 results
- Languages All
Results 261 - 270 of 528 for Otherwise (0.04 sec)
-
src/test/java/jcifs/smb/SmbFilenameFilterTest.java
@NullAndEmptySource @ValueSource(strings = { " \t\n" }) void handlesNullAndEmptyNames(String name) throws Exception { // Filter accepts only when name is exactly null, otherwise false SmbFilenameFilter filter = (dir, n) -> n == null; boolean result = filter.accept(mockDir, name); if (name == null) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.3K bytes - Viewed (0) -
guava/src/com/google/common/base/MoreObjects.java
* @since 18.0 (since 2.0 as {@code Objects}) */ @GwtCompatible public final class MoreObjects { /** * Returns the first of two given parameters that is not {@code null}, if either is, or otherwise * throws a {@link NullPointerException}. * * <p>To find the first non-null element in an iterable, use {@code Iterables.find(iterable,Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 16.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaMemoryRegion.java
return buffer.limit(); } /** * Check if region has specific access permission * * @param access access permission to check * @return true if access is allowed, false otherwise */ public boolean hasAccess(RdmaAccess access) { return accessFlags.contains(access); } /** * Check if memory region is still valid *
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 4.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RequestData.java
} /** * Checks if this RequestData is equal to another object. * @param obj the object to compare with * @return true if the objects are equal, false otherwise */ @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass())Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ldap/LdapManager.java
*/ public void updateConfig() { isBind = false; } /** * Validates the LDAP connection. * * @return True if the LDAP connection is valid, otherwise false. */ protected boolean validate() { if (!isBind) { if (fessConfig.getLdapAdminSecurityPrincipal() == null || fessConfig.getLdapAdminSecurityCredentials() == null) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 86.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/Streams.java
* otherwise returns an empty stream. */ public static <T> Stream<T> stream(com.google.common.base.Optional<T> optional) { return optional.isPresent() ? Stream.of(optional.get()) : Stream.empty(); } /** * If a value is present in {@code optional}, returns a stream containing only that element, * otherwise returns an empty stream. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 36.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java
} /** * Checks if the response data represents HTML content. * * @param responseData the response data to check * @return true if the content is HTML, false otherwise */ protected boolean isHtml(final ResponseData responseData) { final String mimeType = responseData.getMimeType(); if ("text/html".equals(mimeType) || "application/xhtml+xml".equals(mimeType)) {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 29 07:42:33 UTC 2025 - 30.5K bytes - Viewed (0) -
guava/src/com/google/common/reflect/Types.java
result.set(t.getComponentType()); } }.visit(type); return result.get(); } /** * Returns {@code ? extends X} if any of {@code bounds} is a subtype of {@code X[]}; or null * otherwise. */ private static @Nullable Type subtypeOfComponentType(Type[] bounds) { for (Type bound : bounds) { Type componentType = getComponentType(bound); if (componentType != null) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Oct 31 19:34:24 UTC 2025 - 24.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java
} /** * Checks if the given filename is a log file based on its extension. * * @param name the filename to check * @return true if the file is a log file (.log or .log.gz), false otherwise */ protected boolean isLogFilename(final String name) { return name.endsWith(".log") || name.endsWith(".log.gz"); } /**Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 18.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
* @param baseDirectory the base directory that the path must be within (must not be {@literal null}) * @return true if the path is safe (within the base directory), false otherwise */ public static boolean isPathSafe(final Path pathToCheck, final Path baseDirectory) { assertArgumentNotNull("pathToCheck", pathToCheck); assertArgumentNotNull("baseDirectory", baseDirectory);
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 13.1K bytes - Viewed (0)