From c38ed763fb9ed7958504195b9a310a92e6938288 Mon Sep 17 00:00:00 2001 From: Stefan Seifert Date: Mon, 8 Jul 2024 10:47:02 +0200 Subject: [PATCH] fix javadoc warnings --- src/main/java/io/wcm/wcm/commons/controller/VersionInfo.java | 3 +++ src/main/java/io/wcm/wcm/commons/ui/DenyWcmDisabled.java | 2 +- src/main/java/io/wcm/wcm/commons/ui/package-info.java | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main/java/io/wcm/wcm/commons/controller/VersionInfo.java b/src/main/java/io/wcm/wcm/commons/controller/VersionInfo.java index f29f009..7ce581a 100644 --- a/src/main/java/io/wcm/wcm/commons/controller/VersionInfo.java +++ b/src/main/java/io/wcm/wcm/commons/controller/VersionInfo.java @@ -77,6 +77,9 @@ private void activate() { this.bundles = getFilteredBundles(filterPatterns); } + /** + * @return Bundles + */ public Collection getBundles() { return this.bundles; } diff --git a/src/main/java/io/wcm/wcm/commons/ui/DenyWcmDisabled.java b/src/main/java/io/wcm/wcm/commons/ui/DenyWcmDisabled.java index 7f0aa67..9ef00bc 100644 --- a/src/main/java/io/wcm/wcm/commons/ui/DenyWcmDisabled.java +++ b/src/main/java/io/wcm/wcm/commons/ui/DenyWcmDisabled.java @@ -55,7 +55,7 @@ public class DenyWcmDisabled { private int errorCode; @PostConstruct - protected void activate() throws IOException { + private void activate() throws IOException { if (wcmMode == WCMMode.DISABLED) { response.sendError(errorCode); } diff --git a/src/main/java/io/wcm/wcm/commons/ui/package-info.java b/src/main/java/io/wcm/wcm/commons/ui/package-info.java index 8c7e4e4..8805547 100644 --- a/src/main/java/io/wcm/wcm/commons/ui/package-info.java +++ b/src/main/java/io/wcm/wcm/commons/ui/package-info.java @@ -20,5 +20,5 @@ /** * Sling model classes for UI views. */ -@org.osgi.annotation.versioning.Version("1.0.1") +@org.osgi.annotation.versioning.Version("1.1.0") package io.wcm.wcm.commons.ui;