Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 371 - 380 of 2,127 for finally (0.05 seconds)

  1. samples/guide/src/main/java/okhttp3/recipes/AccessHeaders.java

     * limitations under the License.
     */
    package okhttp3.recipes;
    
    import java.io.IOException;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.Response;
    
    public final class AccessHeaders {
      private final OkHttpClient client = new OkHttpClient();
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("https://api.github.com/repos/square/okhttp/issues")
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun May 22 01:29:42 GMT 2016
    - 1.6K bytes
    - Click Count (0)
  2. samples/guide/src/main/java/okhttp3/recipes/AsynchronousGet.java

    import okhttp3.Call;
    import okhttp3.Callback;
    import okhttp3.Headers;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.Response;
    import okhttp3.ResponseBody;
    
    public final class AsynchronousGet {
      private final OkHttpClient client = new OkHttpClient();
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("http://publicobject.com/helloworld.txt")
            .build();
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun May 22 01:29:42 GMT 2016
    - 1.9K bytes
    - Click Count (0)
  3. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelParserException.java

    @Experimental
    public class ModelParserException extends MavenException {
    
        /**
         * The one-based index of the line containing the error.
         */
        private final int lineNumber;
    
        /**
         * The one-based index of the column containing the error.
         */
        private final int columnNumber;
    
        public ModelParserException() {
            this(null, null);
        }
    
        public ModelParserException(String message) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Sep 22 07:25:10 GMT 2023
    - 1.9K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/providers/packaging/EarLifecycleMappingProvider.java

    import javax.inject.Singleton;
    
    /**
     * {@code ear} packaging plugins bindings provider for {@code default} lifecycle.
     */
    @Named("ear")
    @Singleton
    public final class EarLifecycleMappingProvider extends AbstractLifecycleMappingProvider {
        // START SNIPPET: ear
        private static final String[] BINDINGS = {
            "generate-resources",
                    "org.apache.maven.plugins:maven-ear-plugin:" + EAR_PLUGIN_VERSION + ":generate-application-xml",
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/IteratorFeature.java

       * interfaces.
       */
      public static final Set<IteratorFeature> UNMODIFIABLE = emptySet();
    
      /**
       * A set containing all of the optional features of the {@link Iterator} and {@link ListIterator}
       * interfaces.
       */
      public static final Set<IteratorFeature> MODIFIABLE =
          unmodifiableSet(new LinkedHashSet<>(asList(values())));
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 03 18:22:43 GMT 2023
    - 1.9K bytes
    - Click Count (0)
  6. compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java

         */
        private Object parseArray(final MXParser parser, final TypeLiteral<?> toType) throws Exception {
            // convert to a collection first then convert that into an array
            final Collection<?> collection = parseCollection(parser, toType);
            final Object array = Array.newInstance(toType.getRawType(), collection.size());
    
            int i = 0;
            for (final Object element : collection) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/providers/AbstractLifecycleProvider.java

     */
    public abstract class AbstractLifecycleProvider implements Provider<Lifecycle> {
        private final Lifecycle lifecycle;
    
        protected AbstractLifecycleProvider(String id, String[] phases, String[] pluginBindings) {
            HashMap<String, LifecyclePhase> defaultBindings = null;
            if (pluginBindings != null) {
                final int len = pluginBindings.length;
    
                if (len < 2 || len % 2 != 0) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/project/DependencyResolutionException.java

    /**
     * @deprecated use {@code org.apache.maven.api.services.ProjectBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public class DependencyResolutionException extends Exception {
    
        private final transient DependencyResolutionResult result;
        private final transient String detailMessage;
    
        public DependencyResolutionException(DependencyResolutionResult result, String message, Throwable cause) {
            super(message, cause);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 10:13:56 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/artifact/handler/manager/LegacyArtifactHandlerManager.java

    import static java.util.Objects.requireNonNull;
    
    /**
     */
    @Named
    @Singleton
    public class LegacyArtifactHandlerManager extends AbstractEventSpy {
        private final Map<String, ArtifactHandler> artifactHandlers;
    
        private final Map<String, ArtifactHandler> allHandlers = new ConcurrentHashMap<>();
    
        @Inject
        public LegacyArtifactHandlerManager(Map<String, ArtifactHandler> artifactHandlers) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultBuildResumptionAnalyzer.java

     */
    @Named
    @Singleton
    public class DefaultBuildResumptionAnalyzer implements BuildResumptionAnalyzer {
        private static final Logger LOGGER = LoggerFactory.getLogger(DefaultBuildResumptionAnalyzer.class);
    
        @Override
        public Optional<BuildResumptionData> determineBuildResumptionData(final MavenExecutionResult result) {
            if (!result.hasExceptions()) {
                return Optional.empty();
            }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.5K bytes
    - Click Count (0)
Back to Top