Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Bar1 (0.3 sec)

  1. maven-core/src/test/java/org/apache/maven/internal/impl/PropertiesAsMapTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    class PropertiesAsMapTest {
    
        @Test
        void testPropertiesAsMap() {
            Properties props = new Properties();
            props.setProperty("foo1", "bar1");
            props.setProperty("foo2", "bar2");
            PropertiesAsMap pam = new PropertiesAsMap(props);
            assertEquals(2, pam.size());
            Set<Entry<String, String>> set = pam.entrySet();
            assertNotNull(set);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/ClassPath.java

      public static ClassPath from(ClassLoader classloader) throws IOException {
        ImmutableSet<LocationInfo> locations = locationsFrom(classloader);
    
        // Add all locations to the scanned set so that in a classpath [jar1, jar2], where jar1 has a
        // manifest with Class-Path pointing to jar2, we won't scan jar2 twice.
        Set<File> scanned = new HashSet<>();
        for (LocationInfo location : locations) {
          scanned.add(location.file());
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 05 17:43:40 GMT 2022
    - 24.9K bytes
    - Viewed (1)
Back to top