- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for newResult (0.08 sec)
-
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/Result.java
* * @param model * @param problems */ public static <T> Result<T> newResult(T model, Iterable<? extends ModelProblem> problems) { return new Result<>(hasErrors(problems), model, problems); } /** * New result consisting of given result and new problem. Convenience for newResult(result.get(), * concat(result.getProblems(),problems)). * * @param result
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.9K bytes - Viewed (0) -
cni/pkg/plugin/plugin.go
if conf.RawPrevResult != nil { resultBytes, err := json.Marshal(conf.RawPrevResult) if err != nil { return nil, fmt.Errorf("could not serialize prevResult: %v", err) } res, err := version.NewResult(conf.CNIVersion, resultBytes) if err != nil { return nil, fmt.Errorf("could not parse prevResult: %v", err) } conf.RawPrevResult = nil conf.PrevResult, err = cniv1.NewResultFromResult(res)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Aug 14 19:36:19 UTC 2024 - 10.5K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java
import org.eclipse.sisu.Nullable; import static org.apache.maven.api.services.ModelBuilder.MODEL_VERSION_4_0_0; import static org.apache.maven.model.building.Result.error; import static org.apache.maven.model.building.Result.newResult; /** * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead */ @Named @Singleton @Deprecated(since = "4.0.0") public class DefaultModelBuilder implements ModelBuilder {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 83.6K bytes - Viewed (0) -
guava/src/com/google/common/cache/LocalCache.java
// *before* returning newValue from the cache query. return transform( newValue, newResult -> { LoadingValueReference.this.set(newResult); return newResult; }, directExecutor()); } catch (Throwable t) { ListenableFuture<V> result = setException(t) ? futureValue : fullyFailedFuture(t);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 149.2K bytes - Viewed (0)