Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1661 - 1670 of 3,202 for throwIt (0.04 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java

    public final class Sources {
    
        private Sources() {}
    
        /**
         * Creates a new source for the specified path.
         *
         * @param path the path to the file
         * @return a new Source instance
         * @throws NullPointerException if path is null
         */
        @Nonnull
        public static Source fromPath(@Nonnull Path path) {
            return new PathSource(requireNonNull(path, "path"));
        }
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/eventspy/EventSpy.java

         * @see org.apache.maven.execution.ExecutionEvent
         * @see org.eclipse.aether.RepositoryEvent
         */
        void onEvent(Object event) throws Exception;
    
        /**
         * Notifies the spy of Maven's termination, allowing it to free any resources allocated by it.
         */
        void close() throws Exception;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Feb 10 15:02:53 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/MathPreconditions.java

      @CanIgnoreReturnValue
      static int checkPositive(String role, int x) {
        if (x <= 0) {
          throw new IllegalArgumentException(role + " (" + x + ") must be > 0");
        }
        return x;
      }
    
      @CanIgnoreReturnValue
      static long checkPositive(String role, long x) {
        if (x <= 0) {
          throw new IllegalArgumentException(role + " (" + x + ") must be > 0");
        }
        return x;
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/MsrpcDfsRootEnumTest.java

            assertNotNull(dfsRootEnum.totalentries);
        }
    
        @Test
        @DisplayName("getEntries should return empty array when no DFS roots exist")
        void testGetEntries_emptyArray() throws Exception {
            // Create empty DfsEnumArray200
            netdfs.DfsEnumArray200 emptyArray = new netdfs.DfsEnumArray200();
            emptyArray.count = 0;
            emptyArray.s = new netdfs.DfsInfo200[0];
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

        private SmbFile mockFile2;
    
        private LeaseManager baseLeaseManager;
        private DirectoryLeaseManager directoryLeaseManager;
        private AutoCloseable mocks;
    
        @BeforeEach
        public void setUp() throws Exception {
            mocks = MockitoAnnotations.openMocks(this);
    
            when(context.getConfig()).thenReturn(config);
            when(config.isDirectoryNotificationsEnabled()).thenReturn(false);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  6. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/ClientAndServer.java

    /**
     * Create UNIX domain sockets for MockWebServer and OkHttp and connect 'em together. Note that we
     * cannot do TLS over domain sockets.
     */
    public class ClientAndServer {
      public void run() throws Exception {
        File socketFile = new File("/tmp/ClientAndServer.sock");
        socketFile.delete(); // Clean up from previous runs.
    
        MockWebServer server = new MockWebServer();
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Dec 24 03:46:30 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  7. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java

        class DependencyInferenceTests {
    
            @Test
            @DisplayName("should remove dependency version for project artifact")
            void shouldRemoveDependencyVersionForProjectArtifact() throws Exception {
                String parentPomXml = PomBuilder.create()
                        .namespace("http://maven.apache.org/POM/4.1.0")
                        .modelVersion("4.1.0")
                        .groupId("com.example")
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/SmbResourceLocator.java

         * @throws CIFSException if the type cannot be determined
         */
        int getType() throws CIFSException;
    
        /**
         * Determines whether this resource represents a workgroup reference.
         *
         * @return whether this is a workgroup reference
         * @throws CIFSException if the determination cannot be made
         */
        boolean isWorkgroup() throws CIFSException;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/witness/WitnessRegisterMessage.java

         * Encodes a wide string pointer in NDR format.
         *
         * @param buf the NDR buffer
         * @param str the string to encode (can be null)
         * @throws NdrException if encoding fails
         */
        private void encodeWideStringPointer(NdrBuffer buf, String str) throws NdrException {
            if (str == null || str.isEmpty()) {
                buf.enc_ndr_long(0); // NULL pointer
            } else {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  10. impl/maven-core/src/test/java/org/apache/maven/plugin/PluginManagerTest.java

        @Inject
        private DefaultBuildPluginManager pluginManager;
    
        protected String getProjectsDirectory() {
            return "src/test/projects/plugin-manager";
        }
    
        @Test
        void testPluginLoading() throws Exception {
            MavenSession session = createMavenSession(null);
            Plugin plugin = new Plugin();
            plugin.setGroupId("org.apache.maven.its.plugins");
            plugin.setArtifactId("maven-it-plugin");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Mar 30 23:08:36 UTC 2025
    - 8.3K bytes
    - Viewed (0)
Back to top