Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 65 for ILLEGAL (0.04 seconds)

  1. compat/maven-settings-builder/src/test/java/org/apache/maven/settings/validation/DefaultSettingsValidatorTest.java

            Settings settings = new Settings();
            Mirror mirror = new Mirror();
            mirror.setId("local");
            settings.addMirror(mirror);
            mirror = new Mirror();
            mirror.setId("illegal\\:/chars");
            mirror.setUrl("http://void");
            mirror.setMirrorOf("void");
            settings.addMirror(mirror);
    
            SimpleProblemCollector problems = new SimpleProblemCollector();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/base/Utf8.java

          } while ((byte1 = bytes[index++]) >= 0);
    
          if (byte1 < (byte) 0xE0) {
            // Two-byte form.
            if (index == end) {
              return false;
            }
            // Simultaneously check for illegal trailing-byte in leading position
            // and overlong 2-byte form.
            if (byte1 < (byte) 0xC2 || bytes[index++] > (byte) 0xBF) {
              return false;
            }
          } else if (byte1 < (byte) 0xF0) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 7K bytes
    - Click Count (0)
  3. guava/src/com/google/common/base/Utf8.java

          } while ((byte1 = bytes[index++]) >= 0);
    
          if (byte1 < (byte) 0xE0) {
            // Two-byte form.
            if (index == end) {
              return false;
            }
            // Simultaneously check for illegal trailing-byte in leading position
            // and overlong 2-byte form.
            if (byte1 < (byte) 0xC2 || bytes[index++] > (byte) 0xBF) {
              return false;
            }
          } else if (byte1 < (byte) 0xF0) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 7K bytes
    - Click Count (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t02/ProjectInheritanceTest.java

            Plugin testPlugin = null;
    
            for (Plugin plugin : plugins) {
                String pluginArtifactId = plugin.getArtifactId();
    
                assertTrue(validPluginCounts.containsKey(pluginArtifactId), "Illegal plugin found: " + pluginArtifactId);
    
                if (pluginArtifactId.equals(testPluginArtifactId)) {
                    testPlugin = plugin;
                }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 04 10:35:11 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/ConcurrentLifecycleStarter.java

            for (String task : tasks) {
                if (isBeforeOrAfterPhase(task)) {
                    String prevTask = task;
                    task = PhaseId.of(task).phase();
                    logger.warn("Illegal call to phase '{}'. The main phase '{}' will be used instead.", prevTask, task);
                }
                if (isGoalSpecification(task)) {
                    // "pluginPrefix[:version]:goal" or "groupId:artifactId[:version]:goal"
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/core/log/LoggerTest.java

         */
        @SuppressWarnings("static-access")
        @Test
        public void testFormat() {
            exception.expect(ClIllegalArgumentException.class);
            exception.expectMessage(is("[ECL0009]argument[AUTL0009] is illegal. because messageCode : AUTL0009."));
            Logger.format("AUTL0009", "hoge");
        }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  7. src/test/java/jcifs/RuntimeCIFSExceptionTest.java

                assertEquals(checkedException, exception.getCause());
            });
    
            // Test with runtime exception
            RuntimeException runtimeException = new IllegalArgumentException("Illegal arg");
            assertDoesNotThrow(() -> {
                RuntimeCIFSException exception = new RuntimeCIFSException(runtimeException);
                assertEquals(runtimeException, exception.getCause());
            });
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/HeadersJvmTest.kt

          Headers
            .Builder()
            .addUnsafeNonAscii("header1", "valué1")
            .build()
        assertThat(headers.toString()).isEqualTo("header1: valué1\n")
      }
    
      // Fails on JS, ClassCastException: Illegal cast
      @Test fun ofMapThrowsOnNull() {
        assertFailsWith<NullPointerException> {
          (mapOf("User-Agent" to null) as Map<String, String>).toHeaders()
        }
      }
    
      @Test fun toMultimapGroupsHeaders() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue May 27 14:51:25 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java

            if (mirror != null) {
                String id = mirror.getId();
                if (id == null) {
                    // TODO this should be illegal in settings.xml
                    id = repository.getId();
                }
    
                log.debug("Using mirror: " + mirror.getUrl() + " (id: " + id + ")");
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

            }
    
            @Test
            public void testConstructorWithIllegalShareAccess() {
                // Test that constructor throws RuntimeException for illegal shareAccess parameter
                String url = "smb1://server/share/file.txt";
                int illegalShareAccess = 99; // Not a valid combination
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.5K bytes
    - Click Count (0)
Back to Top