From 6abccf351093647c55212e5412188683ed2c9832 Mon Sep 17 00:00:00 2001 From: olivier lamy Date: Sat, 2 Sep 2017 18:56:07 +1000 Subject: [PATCH] avoid npe Signed-off-by: olivier lamy --- .../archiva-rest/archiva-rest-api/src/enunciate/archiva.fmt | 6 +++--- .../archiva-web-common/src/enunciate/archiva.fmt | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/enunciate/archiva.fmt b/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/enunciate/archiva.fmt index 2137bfb39..9d8a114b3 100644 --- a/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/enunciate/archiva.fmt +++ b/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/enunciate/archiva.fmt @@ -431,7 +431,7 @@ limitations under the License. @@ -452,7 +452,7 @@ limitations under the License. [#list resource.methods as method]
-

${method.label} ${resource.path}

+

${method.label} ${resource.path}

[#if resourceGroup.deprecated?? || method.deprecated??]
This method has been deprecated. [#if method.deprecated??] ${method.deprecated!""}[#else] ${resource.deprecated!""}[/#if]
@@ -934,4 +934,4 @@ limitations under the License. [#else] ${metaValue} [/#if] -[/#macro] \ No newline at end of file +[/#macro] diff --git a/archiva-modules/archiva-web/archiva-web-common/src/enunciate/archiva.fmt b/archiva-modules/archiva-web/archiva-web-common/src/enunciate/archiva.fmt index 2137bfb39..e1f2d8430 100644 --- a/archiva-modules/archiva-web/archiva-web-common/src/enunciate/archiva.fmt +++ b/archiva-modules/archiva-web/archiva-web-common/src/enunciate/archiva.fmt @@ -431,7 +431,7 @@ limitations under the License. @@ -452,7 +452,7 @@ limitations under the License. [#list resource.methods as method]
-

${method.label} ${resource.path}

+

${method.label} ${resource.path}

[#if resourceGroup.deprecated?? || method.deprecated??]
This method has been deprecated. [#if method.deprecated??] ${method.deprecated!""}[#else] ${resource.deprecated!""}[/#if]
-- 2.39.5