Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2331 - 2340 of 2,652 for throw (0.04 sec)

  1. src/main/java/jcifs/smb1/smb1/DosFileFilter.java

     * support filtering by all attributes (e.g. even though ATTR_DIRECTORY was
     * specified the server may still return objects that are not directories).
     */
        public boolean accept( SmbFile file ) throws SmbException {
            return (file.getAttributes() & attributes) != 0;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 1.9K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/TransformerContext.java

         *
         * @param from    the requiring model
         * @param groupId    the groupId
         * @param artifactId the artifactId
         * @return the model, otherwise {@code null}
         * @throws IllegalStateException if multiple versions of the same GA are part of the reactor
         */
        Model getRawModel(Path from, String groupId, String artifactId);
    
        /**
         * Locate the POM file inside the given directory.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/project/artifact/DefaultMavenMetadataCacheTest.java

        private RepositorySystem repositorySystem;
    
        @BeforeEach
        void setUp() {
            repositorySystem = new TestRepositorySystem();
        }
    
        @Test
        void testCacheKey() throws Exception {
            Artifact a1 = repositorySystem.createArtifact("testGroup", "testArtifact", "1.2.3", "jar");
            @SuppressWarnings("deprecation")
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. compat/maven-model/src/test/java/org/apache/maven/model/v4/MavenModelVersionTest.java

    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    class MavenModelVersionTest {
    
        private static Model model;
    
        @BeforeAll
        static void setup() throws Exception {
            try (InputStream is = MavenModelVersionTest.class.getResourceAsStream("/xml/pom.xml")) {
                model = new MavenStaxReader().read(is);
            }
        }
    
        @Test
        void testV4Model() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/UserAgentHelperTest.java

    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class UserAgentHelperTest extends UnitFessTestCase {
    
        public UserAgentHelper userAgentHelper;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            userAgentHelper = new UserAgentHelper();
        }
    
        public void test_getUserAgentType_IE9() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/util/concurrent/CycleDetectingLockFactoryBenchmark.java

      @Param({"2", "3", "4", "5", "10"})
      int lockNestingDepth;
    
      CycleDetectingLockFactory factory;
      private Lock[] plainLocks;
      private Lock[] detectingLocks;
    
      @BeforeExperiment
      void setUp() throws Exception {
        this.factory = CycleDetectingLockFactory.newInstance(CycleDetectingLockFactory.Policies.WARN);
        this.plainLocks = new Lock[lockNestingDepth];
        for (int i = 0; i < lockNestingDepth; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/MoreObjectsTest.java

      }
    
      // ToStringHelper's tests are in ToStringHelperTest
    
      @J2ktIncompatible
      @GwtIncompatible("NullPointerTester")
      public void testNulls() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        tester.ignore(MoreObjects.class.getMethod("firstNonNull", Object.class, Object.class));
        tester.testAllPublicStaticMethods(MoreObjects.class);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/MoreObjectsTest.java

      }
    
      // ToStringHelper's tests are in ToStringHelperTest
    
      @J2ktIncompatible
      @GwtIncompatible("NullPointerTester")
      public void testNulls() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        tester.ignore(MoreObjects.class.getMethod("firstNonNull", Object.class, Object.class));
        tester.testAllPublicStaticMethods(MoreObjects.class);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/DfsReferralData.java

     * 
     * @author mbechler
     * @internal
     */
    public interface DfsReferralData {
    
        /**
         * 
         * @param type
         * @return the referral adapted to type
         * @throws ClassCastException
         *             if the type is not valid for this object
         */
        <T extends DfsReferralData> T unwrap ( Class<T> type );
    
    
        /**
         * @return the server this referral points to
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/aether/MavenDeployer.java

            this.consumerPomArtifactTransformer = requireNonNull(consumerPomArtifactTransformer);
        }
    
        @Override
        public DeployResult deploy(RepositorySystemSession session, DeployRequest request) throws DeploymentException {
            return deployer.deploy(session, consumerPomArtifactTransformer.remapDeployArtifacts(session, request));
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top