This is an automated email from the ASF dual-hosted git repository.

olli pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-commons-messaging.git

commit 12319e506580f45c7fa510cbeadf20ad0b650f3e
Author: Oliver Lietz <[email protected]>
AuthorDate: Sun Jul 18 12:50:05 2021 +0200

    [checkstyle] (modifier) InterfaceMemberImpliedModifier
---
 pmd-exclude.properties                                | 19 +++++++++++++++++++
 .../sling/commons/messaging/MessageService.java       |  2 +-
 2 files changed, 20 insertions(+), 1 deletion(-)

diff --git a/pmd-exclude.properties b/pmd-exclude.properties
new file mode 100644
index 0000000..41f9131
--- /dev/null
+++ b/pmd-exclude.properties
@@ -0,0 +1,19 @@
+################################################################################
+#
+#    Licensed to the Apache Software Foundation (ASF) under one or more
+#    contributor license agreements.  See the NOTICE file distributed with
+#    this work for additional information regarding copyright ownership.
+#    The ASF licenses this file to You under the Apache License, Version 2.0
+#    (the "License"); you may not use this file except in compliance with
+#    the License.  You may obtain a copy of the License at
+#
+#       http://www.apache.org/licenses/LICENSE-2.0
+#
+#    Unless required by applicable law or agreed to in writing, software
+#    distributed under the License is distributed on an "AS IS" BASIS,
+#    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#    See the License for the specific language governing permissions and
+#    limitations under the License.
+#
+################################################################################
+org.apache.sling.commons.messaging.MessageService=UnnecessaryModifier
diff --git 
a/src/main/java/org/apache/sling/commons/messaging/MessageService.java 
b/src/main/java/org/apache/sling/commons/messaging/MessageService.java
index 2f8dfd5..3d73241 100644
--- a/src/main/java/org/apache/sling/commons/messaging/MessageService.java
+++ b/src/main/java/org/apache/sling/commons/messaging/MessageService.java
@@ -38,6 +38,6 @@ public interface MessageService<T, S> {
      * @param message the message to send
      * @return the result of send operation
      */
-    @NotNull CompletableFuture<S> sendMessage(@NotNull final T message);
+    public abstract @NotNull CompletableFuture<S> sendMessage(@NotNull final T 
message);
 
 }

Reply via email to