- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 15 for isSuitable (0.07 seconds)
-
src/test/java/org/codelibs/fess/entity/FessUserTest.java
assertFalse(user.isEditable()); // Test with different user configurations user = new TestFessUser("admin", new String[] { "admin" }, new String[] { "admins" }, new String[] { "*" }); assertFalse(user.isEditable()); user = new TestFessUser("", new String[] {}, new String[] {}, new String[] {}); assertFalse(user.isEditable()); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 11.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java
public void test_isEditable() { // Test with non-editable user (default) testUser.setEditable(false); assertFalse(fessUserBean.isEditable()); // Test with editable user testUser.setEditable(true); assertTrue(fessUserBean.isEditable()); } @Test public void test_hasRole() { // Test with no roles testUser.setRoleNames(new String[] {});
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ldap/LdapUserTest.java
public boolean isLdapAdminEnabled(String name) { assertEquals("testuser", name); return true; } }); assertTrue(ldapUser.isEditable()); } @Test public void test_isEditable_disabled() { // Test when admin is disabled for the user ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() { @Override
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 16.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/DocumentHelper.java
} } /** * Processes and normalizes a document title. * Applies text normalization using configured space characters and returns * a clean title suitable for indexing. * * @param responseData the response data from crawling (not currently used) * @param title the raw title text to process * @param dataMap additional data map (not currently used)Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Mar 30 14:27:04 GMT 2026 - 17.4K bytes - Click Count (0) -
android/guava/src/com/google/common/net/InternetDomainName.java
* registry suffixes, since domain name registries collectively control all internet domain names. * * <p>For considerations on whether the public suffix or registry suffix designation is more * suitable for your application, see <a * href="https://github.com/google/guava/wiki/InternetDomainNameExplained">this article</a>. * * @return {@code true} if this domain name appears exactly on the public suffix list
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 21:21:59 GMT 2026 - 26.2K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
* @throws CancellationException if {@code get} throws a {@code CancellationException} * @throws IllegalArgumentException if {@code exceptionClass} extends {@code RuntimeException} or * does not have a suitable constructor * @since 19.0 (in 10.0 as {@code get}) */ @CanIgnoreReturnValue @J2ktIncompatible @GwtIncompatible // reflection @ParametricNullnessCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 64.2K bytes - Click Count (0) -
android/guava/src/com/google/common/escape/UnicodeEscaper.java
* escaping algorithm to perform more efficiently. * * <p>If the implementation of this method cannot correctly handle a particular code point then it * should either throw an appropriate runtime exception or return a suitable replacement * character. It must never silently discard invalid input as this may constitute a security risk. * * @param cp the Unicode code point to escape if necessary
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 24 04:06:11 GMT 2026 - 13.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/Helpers.java
public @Nullable Object[] toArray() { return data.toArray(); } }; } /** * Returns a "nefarious" map entry with the specified key and value, meaning an entry that is * suitable for testing that map entries cannot be modified via a nefarious implementation of * equals. This is used for testing unmodifiable collections of map entries; for example, it
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 17.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/base/FessSearchAction.java
final String username = systemHelper.getUsername(); runtime.registerData("username", username); runtime.registerData("editableUser", fessLoginAssist.getSavedUserBean().map(FessUserBean::isEditable).orElse(false)); runtime.registerData("adminUser", fessConfig.isAdminUser(username) || fessLoginAssist.getSavedUserBean()
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 18 04:42:56 GMT 2026 - 14K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/LittleEndianByteArray.java
private static final Unsafe theUnsafe; // The offset to the first element in a byte array. private static final int BYTE_ARRAY_BASE_OFFSET; /** * Returns an Unsafe. Suitable for use in a 3rd party package. Replace with a simple call to * Unsafe.getUnsafe when integrating into a JDK. * * @return an Unsafe instance if successful */ private static Unsafe getUnsafe() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 10.1K bytes - Click Count (0)