Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 145 for Serialization (0.06 sec)

  1. src/test/java/org/codelibs/fess/exception/SearchQueryExceptionTest.java

            assertEquals(rootCause, exception.getCause().getCause());
        }
    
        public void test_exceptionSerialization() {
            // Test that the exception is serializable
            String message = "Serialization test";
            Exception cause = new Exception("Test cause");
    
            SearchQueryException exception = new SearchQueryException(message, cause);
    
            // Verify serialVersionUID is properly set
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableCollection.java

     *
     * @since 2.0
     */
    @DoNotMock("Use ImmutableList.of or another implementation")
    @GwtCompatible
    @SuppressWarnings("serial") // we're overriding default serialization
    // TODO(kevinb): I think we should push everything down to "BaseImmutableCollection" or something,
    // just to do everything we can to emphasize the "practically an interface" nature of this class.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  3. android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

    import java.util.NoSuchElementException;
    import junit.framework.TestCase;
    
    /**
     * Unit test for IteratorTester.
     *
     * @author Mick Killianey
     */
    @GwtCompatible
    @SuppressWarnings("serial") // No serialization is used in this test
    public class IteratorTesterTest extends TestCase {
    
      public void testCanCatchDifferentLengthOfIteration() {
        IteratorTester<Integer> tester =
            new IteratorTester<Integer>(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableCollection.java

     *
     * @since 2.0
     */
    @DoNotMock("Use ImmutableList.of or another implementation")
    @GwtCompatible
    @SuppressWarnings("serial") // we're overriding default serialization
    // TODO(kevinb): I think we should push everything down to "BaseImmutableCollection" or something,
    // just to do everything we can to emphasize the "practically an interface" nature of this class.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java

            assertEquals(messageCode, exception.getMessageCode());
        }
    
        public void test_verifySerialVersionUID() {
            // Setup
            final String message = "Test serialization capability";
            final VaMessenger<FessMessages> messageCode = messages -> messages.addErrorsInvalidQueryUnknown(UserMessages.GLOBAL_PROPERTY_KEY);
    
            // Execute
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/mylasta/direction/FessEnvTest.java

            assertEquals("[Test]", defaultMap.get(FessEnv.MAIL_SUBJECT_TEST_PREFIX));
            assertEquals("root@localhost", defaultMap.get(FessEnv.MAIL_RETURN_PATH));
        }
    
        // Test serialization
        public void xtest_serialization() {
            // Verify that serialVersionUID is defined
            assertTrue(fessEnv instanceof java.io.Serializable);
    
            // Test that the SimpleImpl class can be instantiated
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Unit test for {@link PeekingIterator}.
     *
     * @author Mick Killianey
     */
    @SuppressWarnings("serial") // No serialization is used in this test
    @GwtCompatible
    @NullMarked
    public class PeekingIteratorTest extends TestCase {
    
      /**
       * Version of {@link IteratorTester} that compares an iterator over a given collection of elements
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableMap.java

     *
     * @author Jesse Wilson
     * @author Kevin Bourrillion
     * @since 2.0
     */
    @DoNotMock("Use ImmutableMap.of or another implementation")
    @GwtCompatible
    @SuppressWarnings("serial") // we're overriding default serialization
    public abstract class ImmutableMap<K, V> implements Map<K, V>, Serializable {
    
      /**
       * Returns a {@link Collector} that accumulates elements into an {@code ImmutableMap} whose keys
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 44.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

        boolean isPartialView() {
          return true;
        }
    
        // redeclare to help optimizers with b/310253115
        @SuppressWarnings("RedundantOverride")
        @Override
        @J2ktIncompatible // serialization
        Object writeReplace() {
          return super.writeReplace();
        }
      }
    
      @Override
      public ImmutableRangeSet<C> complement() {
        if (complement != null) {
          return complement;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27.4K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

    /**
     * GWT emulated version of {@link com.google.common.collect.ImmutableList}. TODO(cpovirk): more doc
     *
     * @author Hayward Chan
     */
    @SuppressWarnings("serial") // we're overriding default serialization
    public abstract class ImmutableList<E> extends ImmutableCollection<E>
        implements List<E>, RandomAccess {
    
      ImmutableList() {}
    
      public static <E> Collector<E, ?, ImmutableList<E>> toImmutableList() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 11.1K bytes
    - Viewed (0)
Back to top