You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2020/11/21 17:21:23 UTC

[commons-daemon] branch master updated: Remove useless return.

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 2ac92e6  Remove useless return.
2ac92e6 is described below

commit 2ac92e62d291e1971ed1d53b51ec601aff43bc46
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Nov 21 12:21:19 2020 -0500

    Remove useless return.
---
 src/main/java/org/apache/commons/daemon/DaemonPermission.java | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/main/java/org/apache/commons/daemon/DaemonPermission.java b/src/main/java/org/apache/commons/daemon/DaemonPermission.java
index ae4d563..a166e52 100644
--- a/src/main/java/org/apache/commons/daemon/DaemonPermission.java
+++ b/src/main/java/org/apache/commons/daemon/DaemonPermission.java
@@ -222,7 +222,6 @@ public final class DaemonPermission extends Permission
         // Create the appropriate mask if this is a control permission.
         if (this.type == TYPE_CONTROL) {
             this.mask = this.createControlMask(actions);
-            return;
         }
     }