Projects
openEuler:24.03:SP1:Everything:64G
takari-lifecycle
_service:tar_scm:0001-Port-to-mustache-java-0.9...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:0001-Port-to-mustache-java-0.9.1.patch of Package takari-lifecycle
From d3a0ef31ca046c113d7f295e9fed53154d8beac9 Mon Sep 17 00:00:00 2001 Date: Mon, 30 Nov 2015 10:20:21 +0100 Subject: [PATCH 1/3] Port to mustache-java 0.9.1 --- .../resources/filtering/FilterResourcesProcessor.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/takari-lifecycle-plugin/src/main/java/io/takari/resources/filtering/FilterResourcesProcessor.java b/takari-lifecycle-plugin/src/main/java/io/takari/resources/filtering/FilterResourcesProcessor.java index d9b3a20..8de9e26 100644 --- a/takari-lifecycle-plugin/src/main/java/io/takari/resources/filtering/FilterResourcesProcessor.java +++ b/takari-lifecycle-plugin/src/main/java/io/takari/resources/filtering/FilterResourcesProcessor.java @@ -129,13 +129,13 @@ class FilterResourcesProcessor extends AbstractResourceProcessor { } @Override - public Wrapper find(final String name, Object[] scopes) { + public Wrapper find(final String name, List<Object> scopes) { Wrapper result = null; for (final Object scope : scopes) { if (scope instanceof Map && ((Map) scope).containsKey(name)) { result = new Wrapper() { @Override - public Object call(Object[] scopes) throws GuardException { + public Object call(List<Object> scopes) throws GuardException { return ((Map) scope).get(name); } }; @@ -157,7 +157,7 @@ class FilterResourcesProcessor extends AbstractResourceProcessor { } else if (missingPropertyAction == MissingPropertyAction.leave) { result = new Wrapper() { @Override - public Object call(Object[] scopes) throws GuardException { + public Object call(List<Object> scopes) throws GuardException { return M_START + name + M_END; } }; -- 2.17.1
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2