Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for syntax (0.09 sec)

  1. android/guava/src/com/google/common/collect/Sets.java

       * use the {@code HashSet} constructor directly, taking advantage of <a
       * href="https://docs.oracle.com/javase/tutorial/java/generics/genTypeInference.html#type-inference-instantiation">"diamond"
       * syntax</a>.
       */
      @SuppressWarnings("NonApiType") // acts as a direct substitute for a constructor call
      public static <E extends @Nullable Object> HashSet<E> newHashSet() {
        return new HashSet<>();
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/QueryParseExceptionTest.java

            assertTrue(queryParseException instanceof RuntimeException);
        }
    
        public void test_getMessage() {
            // Test that message is inherited from the cause
            String errorMessage = "Invalid query syntax";
            ParseException parseException = new ParseException(errorMessage);
            QueryParseException queryParseException = new QueryParseException(parseException);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Lists.java

       * advantage of <a
       * href="https://docs.oracle.com/javase/tutorial/java/generics/genTypeInference.html#type-inference-instantiation">"diamond"
       * syntax</a>.
       */
      @SuppressWarnings("NonApiType") // acts as a direct substitute for a constructor call
      public static <E extends @Nullable Object> ArrayList<E> newArrayList() {
        return new ArrayList<>();
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 42.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/SearchQueryExceptionTest.java

        public void test_constructorWithMessageAndCause() {
            // Test constructor with message and cause
            String message = "Query parsing failed";
            Exception cause = new IllegalArgumentException("Invalid query syntax");
    
            SearchQueryException exception = new SearchQueryException(message, cause);
    
            assertEquals(message, exception.getMessage());
            assertEquals(cause, exception.getCause());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java

    public class InvalidQueryExceptionTest extends UnitFessTestCase {
    
        public void test_constructor_withMessageCodeMessageAndCause() {
            // Setup
            final String message = "Invalid query syntax error";
            final Exception cause = new RuntimeException("Query parsing failed");
            final VaMessenger<FessMessages> messageCode = messages -> messages.addErrorsInvalidQueryUnknown(UserMessages.GLOBAL_PROPERTY_KEY);
    
    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/main/java/org/codelibs/fess/taglib/FessFunctions.java

            if (input == null) {
                return StringUtil.EMPTY;
            }
            return input.toString().replaceAll(regex, replacement);
        }
    
        /**
         * Formats code content with syntax highlighting and line numbers.
         *
         * @param prefix the line number prefix pattern
         * @param style the CSS class name for styling
         * @param mimetype the MIME type of the content (currently unused)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Strings.java

       * {@link java.io.PrintWriter#format PrintWriter.format}, and related methods. These support the
       * full range of <a
       * href="https://docs.oracle.com/javase/9/docs/api/java/util/Formatter.html#syntax">format
       * specifiers</a>, and alert you to usage errors by throwing {@link
       * java.util.IllegalFormatException}.
       *
       * <p>In certain cases, such as outputting debugging information or constructing a message to be
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 27 17:53:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/InternetDomainName.java

       * @return Is the domain name syntactically valid?
       */
      private static boolean validateSyntax(List<String> parts) {
        int lastIndex = parts.size() - 1;
    
        // Validate the last part specially, as it has different syntax rules.
    
        if (!validatePart(parts.get(lastIndex), true)) {
          return false;
        }
    
        for (int i = 0; i < lastIndex; i++) {
          String part = parts.get(i);
          if (!validatePart(part, false)) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/job/ExecJobTest.java

            try {
                execJob.testAddFessCustomSystemProperties(cmdList, "[invalid(regex");
                fail("Should handle invalid regex");
            } catch (Exception e) {
                // Expected to throw pattern syntax exception
                assertTrue(e instanceof java.util.regex.PatternSyntaxException);
            }
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  10. plugin.xml

    				<include name="dataformat/curvesapi-*" />
    				<include name="dataformat/orangesignal-csv-*" />
    				<include name="dataformat/poi-*" />
    				<include name="dataformat/SparseBitSet-*" />
    				<include name="dataformat/stax-api-*" />
    				<include name="dataformat/xmlbeans-*" />
    				<include name="minhash/guava-*" />
    				<include name="minhash/failureaccess-*" />
    				<include name="minhash/jspecify-*" />
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 3.5K bytes
    - Viewed (0)
Back to top