Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 257 for GetType (0.11 seconds)

  1. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java

            toolchain.setType("TYPE");
            toolchain.setProvides(props);
            PersistedToolchains userResult = new PersistedToolchains();
            userResult.setToolchains(Collections.singletonList(toolchain));
    
            props = new Properties();
            props.put("key", "global_value");
            toolchain = new ToolchainModel();
            toolchain.setType("TYPE");
            toolchain.setProvides(props);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 14K bytes
    - Click Count (0)
  2. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

                    if (lastItem.isNull()) {
                        if (i == size() - 1 || get(i + 1).getType() == STRING_ITEM) {
                            remove(i);
                        } else if (get(i + 1).getType() == LIST_ITEM) {
                            Item item = ((ListItem) get(i + 1)).get(0);
                            if (item.getType() == COMBINATION_ITEM || item.getType() == STRING_ITEM) {
                                remove(i);
                            }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 26.4K bytes
    - Click Count (0)
  3. src/test/java/jcifs/ntlmssp/av/AvPairTest.java

            int type = AvPair.MsvAvTimestamp;
            byte[] raw = new byte[] { 0x01, 0x02, 0x03, 0x04 };
            AvPair avPair = new AvPair(type, raw);
    
            assertEquals(type, avPair.getType(), "Type should match the constructor argument.");
            assertArrayEquals(raw, avPair.getRaw(), "Raw data should match the constructor argument.");
    
            // Test with another type and empty raw data
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3K bytes
    - Click Count (0)
  4. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareEnumTest.java

            assertEquals(8, entries[0].getType()); // TYPE_SHARE
    
            // Verify printer share
            assertEquals("PrinterShare", entries[1].getName());
            assertEquals(32, entries[1].getType()); // TYPE_PRINTER (0x20)
    
            // Verify named pipe
            assertEquals("PipeShare", entries[2].getName());
            assertEquals(16, entries[2].getType()); // TYPE_NAMED_PIPE
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java

                }
    
                @Override
                public String getExtension() {
                    return getType().getExtension();
                }
    
                @Override
                public Type getType() {
                    String type = dependency.getType();
                    return session.requireType(type);
                }
    
                @Nonnull
                @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Mar 24 22:23:23 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  6. src/main/java/jcifs/SmbConstants.java

         * Returned by {@link jcifs.SmbResource#getType()} if the resource this <code>SmbFile</code>
         * represents is a server.
         */
        int TYPE_SERVER = 0x04;
        /**
         * Returned by {@link jcifs.SmbResource#getType()} if the resource this <code>SmbFile</code>
         * represents is a share.
         */
        int TYPE_SHARE = 0x08;
        /**
         * Returned by {@link jcifs.SmbResource#getType()} if the resource this <code>SmbFile</code>
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:49:49 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/helper/SambaHelperTest.java

                return "WORKGROUP";
            }
    
            @Override
            public String getTypeText() {
                return "User";
            }
    
            @Override
            public int getType() {
                return 1;
            }
    
            @Override
            public <T> T unwrap(Class<T> type) {
                return null;
            }
        };
    
        @Test
        public void test_constants() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 14.9K bytes
    - Click Count (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/Dependency.java

         * a modular-<abbr>JAR</abbr> if it is intended to be placed on the module path,
         * a <abbr>JAR</abbr> containing test classes, <i>etc.</i>
         *
         * @see DependencyCoordinates#getType()
         */
        @Nonnull
        Type getType();
    
        /**
         * {@return the time at which the dependency will be used}.
         * It may be, for example, at compile time only, at run time or at test time.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jun 26 07:56:58 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java

            assertEquals("  Bearer Token  ", exception.getType());
            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
        }
    
        @Test
        public void test_getType_immutability() {
            // Test that getType returns the same value consistently
            String type = "ApiKey";
            String message = "API key expired";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/toolchain/DefaultToolchain.java

        protected DefaultToolchain(ToolchainModel model, String type, Logger logger) {
            this(model, logger);
            this.type = type;
        }
    
        @Override
        public final String getType() {
            return type != null ? type : model.getType();
        }
    
        @Override
        public final ToolchainModel getModel() {
            return model;
        }
    
        public final void addProvideToken(String type, RequirementMatcher matcher) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Feb 12 13:13:28 GMT 2025
    - 4.8K bytes
    - Click Count (0)
Back to Top