Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 223 for setProperty (0.09 sec)

  1. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            String revision = request.getUserProperties().getProperty("revision");
            assertEquals("8.2.0", revision);
    
            assertEquals("bar ", request.getUserProperties().getProperty("foo"));
            assertEquals("bar two", request.getUserProperties().getProperty("foo2"));
            assertEquals("Apache Maven", request.getUserProperties().getProperty("label"));
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/io/PropertiesUtilTest.java

            final File file = tempFolder.newFile("hoge.properties");
            final Writer writer = WriterUtil.create(file);
            PropertiesUtil.store(outProperties, writer, "comments");
            CloseableUtil.close(writer);
            final Properties properties = new Properties();
            PropertiesUtil.load(properties, file);
            assertThat(properties.getProperty("a"), is("A"));
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/JvmUtilTest.java

        public void test_getJavaVersion() {
            System.setProperty("java.version", "1.4.2_19");
            assertEquals(4, JvmUtil.getJavaVersion());
            System.setProperty("java.version", "1.5.0_15");
            assertEquals(5, JvmUtil.getJavaVersion());
            System.setProperty("java.version", "1.6.0_34");
            assertEquals(6, JvmUtil.getJavaVersion());
            System.setProperty("java.version", "1.7.0_25");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/ContextConfigTest.java

            Properties prop1 = new Properties();
            prop1.setProperty("jcifs.smb.client.minVersion", "SMB302");
            PropertyConfiguration p1 = new PropertyConfiguration(prop1);
            assertEquals(DialectVersion.SMB302, p1.getMinimumVersion());
            assertEquals(DialectVersion.SMB302, p1.getMaximumVersion());
    
            Properties prop2 = new Properties();
            prop2.setProperty("jcifs.smb.client.maxVersion", "SMB302");
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

             */
            Config.setProperty( "jcifs.smb1.smb.lmCompatibility", "0" );
            Config.setProperty( "jcifs.smb1.smb.client.useExtendedSecurity", "false" );
    
            Enumeration e = filterConfig.getInitParameterNames();
            while( e.hasMoreElements() ) {
                name = (String)e.nextElement();
                if( name.startsWith( "jcifs.smb1." )) {
                    Config.setProperty( name, filterConfig.getInitParameter( name ));
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/job/ExecJob.java

                    final ScheduledJob job = (ScheduledJob) jobRuntime.getParameterMap().get(Constants.SCHEDULED_JOB);
                    if (job != null) {
                        prop.setProperty("job.runtime.id", job.getId());
                        prop.setProperty("job.runtime.name", job.getName());
                    }
                }
                prop.store(out, cmdList.toString());
            } catch (final IOException e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/Config.java

         */
    
        public static String getProperty( String key, String def ) {
            return prp.getProperty( key, def );
        }
    
        /**
         * Retrieve a <code>String</code>. If the property is not found, <code>null</code> is returned.
         */
    
        public static String getProperty( String key ) {
            return prp.getProperty( key );
        }
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.3K bytes
    - Viewed (0)
  8. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

            // wait for yellow status
            runner.ensureYellow();
    
            System.setProperty(FesenClient.HTTP_ADDRESS, "localhost:" + runner.node().settings().get("http.port", "9201"));
    
            super.setUp();
    
            // logging
            System.setProperty("java.util.logging.SimpleFormatter.format", "%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS %4$s %2$s %5$s%6$s%n");
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/http/NtlmHttpFilter.java

             */
            p.setProperty("jcifs.smb.lmCompatibility", "0");
            p.setProperty("jcifs.smb.client.useExtendedSecurity", "false");
    
            Enumeration<String> e = filterConfig.getInitParameterNames();
            while ( e.hasMoreElements() ) {
                name = e.nextElement();
                if ( name.startsWith("jcifs.") ) {
                    p.setProperty(name, filterConfig.getInitParameter(name));
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/http/NtlmServlet.java

             */
            p.setProperty("jcifs.smb.client.soTimeout", "300000");
            p.setProperty("jcifs.netbios.cachePolicy", "600");
    
            Enumeration<String> e = config.getInitParameterNames();
            String name;
            while ( e.hasMoreElements() ) {
                name = e.nextElement();
                if ( name.startsWith("jcifs.") ) {
                    p.setProperty(name, config.getInitParameter(name));
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7.6K bytes
    - Viewed (0)
Back to top