Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 701 - 710 of 1,299 for else (0.02 seconds)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/FileToRawModelMergerTest.java

                            if (returnType instanceof ParameterizedType parameterizedType) {
                                return !parameterizedType.getActualTypeArguments()[0].equals(String.class);
                            } else {
                                return false;
                            }
                        } catch (ReflectiveOperationException | SecurityException e) {
                            return false;
                        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  2. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/LifeCyclePluginAnalyzerStub.java

                plugins.add(newPlugin("maven-jar-plugin", "jar"));
                plugins.add(newPlugin("maven-install-plugin", "install"));
                plugins.add(newPlugin("maven-deploy-plugin", "deploy"));
            } else {
                plugins = Collections.emptySet();
            }
    
            return plugins;
        }
    
        private Plugin newPlugin(String artifactId, String... goals) {
            Plugin plugin = new Plugin();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  3. internal/rest/client_test.go

    				var netErrInterface net.Error
    				if errors.As(n, &netErrInterface) != tt.want {
    					t.Errorf("errors.As(n, &tt.target) != tt.want, n: %#v, target: %#v, want:%v, got: %v", n, tt.target, tt.want, !tt.want)
    				}
    			} else {
    				if errors.As(n, &tt.target) != tt.want {
    					t.Errorf("errors.As(n, &tt.target) != tt.want, n: %#v, target: %#v, want:%v, got: %v", n, tt.target, tt.want, !tt.want)
    				}
    			}
    		})
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  4. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupRootPlugin.kt

        }
    
        private
        fun Task.genericHtmlReports() = when (this) {
            is Reporting<*> -> listOf(this.reports["html"].outputLocation.get().asFile)
            else -> emptyList()
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Jul 06 10:57:13 GMT 2023
    - 3K bytes
    - Click Count (0)
  5. internal/kms/kes.go

    				Endpoints:  []string{c.client.Endpoints[i]},
    				HTTPClient: c.client.HTTPClient,
    			}
    
    			var item madmin.ItemState
    			if _, err := client.Status(ctx); err == nil {
    				item = madmin.ItemOnline
    			} else {
    				item = madmin.ItemOffline
    			}
    			results[i] = Result{
    				Endpoint:  c.client.Endpoints[i],
    				ItemState: item,
    			}
    		}(i)
    	}
    	wg.Wait()
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Aug 18 06:43:03 GMT 2024
    - 7.3K bytes
    - Click Count (0)
  6. cmd/prepare-storage.go

    				} else {
    					logger.Fatal(err, "Unable to connect to %s: %v", endpoints[i], isServerResolvable(endpoints[i], time.Second))
    				}
    			} else {
    				if globalEndpoints.NEndpoints() > 1 {
    					logger.Info("Unable to use the drive %s: %v, will be retried", endpoints[i], err)
    				} else {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Jul 12 20:51:54 GMT 2024
    - 11.1K bytes
    - Click Count (1)
  7. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

        }
    
        private
        fun RichReport.toAssertionMessage(message: String) =
            if (isEmpty) "$message with an empty report"
            else "$message\n${toText().prependIndent("    ")}"
    
        private
        fun runKotlinBinaryCompatibilityCheck(v1: String, v2: String, block: CheckResult.() -> Unit = {}): CheckResult =
            runBinaryCompatibilityCheck(
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 10:14:25 GMT 2025
    - 18K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

                                    if (last == null) {
                                        logger.debug("", throwable);
                                    } else {
                                        logger.debug(String.valueOf(last), throwable);
                                    }
                                } else {
                                    if (last != null) {
                                        logger.debug(String.valueOf(last));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 13.6K bytes
    - Click Count (0)
  9. internal/event/target/redis.go

    		if err != nil {
    			return err
    		}
    		key := eventData.S3.Bucket.Name + "/" + objectName
    
    		if eventData.EventName == event.ObjectRemovedDelete {
    			_, err = conn.Do("HDEL", target.args.Key, key)
    		} else {
    			var data []byte
    			if data, err = json.Marshal(struct{ Records []event.Event }{[]event.Event{eventData}}); err != nil {
    				return err
    			}
    
    			_, err = conn.Do("HSET", target.args.Key, key, data)
    		}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java

                        if (notSeeBefore) {
                            canonicalPackageInfos.add(file.getAbsoluteFile());
                        }
                        return notSeeBefore;
                    } else {
                        return true; // not a package-info.java file, we ignore it
                    }
                } catch (IOException e) {
                    throw UncheckedException.throwAsUncheckedException(e, true);
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Oct 02 14:18:24 GMT 2025
    - 10.4K bytes
    - Click Count (0)
Back to Top