Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getPatterns (0.1 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/IncludesArtifactFilter.java

                if (id.equals(i.next())) {
                    matched = true;
                }
            }
            return matched;
        }
    
        public List<String> getPatterns() {
            return new ArrayList<>(patterns);
        }
    
        @Override
        public int hashCode() {
            int hash = 17;
            hash = hash * 31 + patterns.hashCode();
    
            return hash;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. internal/config/compress/compress_test.go

    		t.Run(testCase.str, func(t *testing.T) {
    			gotPatterns, err := parseCompressIncludes(testCase.str)
    			if !testCase.success && err == nil {
    				t.Error("expected failure but success instead")
    			}
    			if testCase.success && err != nil {
    				t.Errorf("expected success but failed instead %s", err)
    			}
    			if testCase.success && !reflect.DeepEqual(testCase.expectedPatterns, gotPatterns) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/message/MessageFormatter.java

         *            引数
         * @return メッセージコードなしの単純なメッセージ
         */
        public static String getSimpleMessage(final String messageCode, final Object... args) {
            try {
                final String pattern = getPattern(messageCode);
                if (pattern != null) {
                    return MessageFormat.format(pattern, args);
                }
                return getNoPatternMessage(args);
            } catch (final Throwable ignore) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top