Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1331 - 1340 of 2,652 for throwIf (0.14 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/ClingSupport.java

            this.classWorld = requireNonNull(classWorld);
            this.classWorldManaged = classWorldManaged;
        }
    
        /**
         * The main entry point.
         */
        public int run(String[] args) throws IOException {
            try (Invoker<R> invoker = createInvoker()) {
                return invoker.invoke(parseArguments(args));
            } catch (ParserException e) {
                System.err.println(e.getMessage());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

    
        protected abstract int readParametersWireFormat ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException;
    
    
        protected abstract int readDataWireFormat ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException;
    
    
        @Override
        public String toString () {
            return new String(
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 9.2K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverResult.java

         * @return module name of the dependency at the given path, or empty if the dependency is not modular
         * @throws IOException if the module information of the specified dependency cannot be read
         */
        Optional<String> getModuleName(@Nonnull Path dependency) throws IOException;
    
        /**
         * Returns the Java module descriptor of the dependency at the given path.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Splitter.java

       * @param separatorPattern the pattern that determines whether a subsequence is a separator. This
       *     pattern may not match the empty string.
       * @return a splitter, with default settings, that uses this pattern
       * @throws IllegalArgumentException if {@code separatorPattern} matches the empty string
       */
      @GwtIncompatible // java.util.regex
      public static Splitter on(Pattern separatorPattern) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 21:14:05 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/http2/PushObserver.kt

       * @param source location of data corresponding with this stream ID.
       * @param byteCount number of bytes to read or skip from the source.
       * @param last when true, there are no data frames to follow.
       */
      @Throws(IOException::class)
      fun onData(
        streamId: Int,
        source: BufferedSource,
        byteCount: Int,
        last: Boolean,
      ): Boolean
    
      /** Indicates the reason why this stream was canceled. */
      fun onReset(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesLoaderTest.java

    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    
    class MavenPropertiesLoaderTest {
    
        @Test
        void testIncludes() throws Exception {
            FileSystem fs = Jimfs.newFileSystem(Configuration.unix());
    
            Path mavenHome = fs.getPath("/maven");
            Files.createDirectories(mavenHome);
            Path mavenConf = mavenHome.resolve("conf");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/lang/SystemUtilTest.java

     */
    package org.codelibs.core.lang;
    
    import org.junit.Test;
    
    /**
     * @author wyukawa
     *
     */
    public class SystemUtilTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void test() throws Exception {
            System.out.println(SystemUtil.FILE_ENCODING);
            System.out.println(SystemUtil.LINE_SEPARATOR);
            System.out.println(SystemUtil.PATH_SEPARATOR);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java

        @Test
        public void inMemory() throws IOException {
            ContentOutputStream cos = new ContentOutputStream(10, Curl.tmpDir);
            cos.write(new byte[] { 0, 1, 2, 3, 4 });
            assertFalse(cos.done);
            assertTrue(cos.isInMemory());
            cos.close();
            assertFalse(cos.done);
        }
    
        @Test
        public void inFile() throws IOException {
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Mon Nov 14 21:05:19 UTC 2022
    - 2K bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/guide/GetExample.java

      final OkHttpClient client = new OkHttpClient();
    
      String run(String url) throws IOException {
        Request request = new Request.Builder()
            .url(url)
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          return response.body().string();
        }
      }
    
      public static void main(String[] args) throws IOException {
        GetExample example = new GetExample();
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/ndr/NdrObject.java

     */
    
    package jcifs.dcerpc.ndr;
    
    
    @SuppressWarnings ( "javadoc" )
    public abstract class NdrObject {
    
        public abstract void encode ( NdrBuffer dst ) throws NdrException;
    
    
        public abstract void decode ( NdrBuffer src ) throws NdrException;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.1K bytes
    - Viewed (0)
Back to top