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 18:52:08 UTC

[commons-text] branch master updated: Redundant 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-text.git


The following commit(s) were added to refs/heads/master by this push:
     new 456a69e  Redundant return.
456a69e is described below

commit 456a69e524af50906bc1267d8a5d528c3a60fe05
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Nov 21 13:52:03 2020 -0500

    Redundant return.
---
 src/main/java/org/apache/commons/text/StrLookup.java | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/main/java/org/apache/commons/text/StrLookup.java b/src/main/java/org/apache/commons/text/StrLookup.java
index f902bf3..55e53ff 100644
--- a/src/main/java/org/apache/commons/text/StrLookup.java
+++ b/src/main/java/org/apache/commons/text/StrLookup.java
@@ -203,7 +203,6 @@ public abstract class StrLookup<V> implements StringLookup {
                     return System.getProperty(key);
                 } catch (final SecurityException scex) {
                     // Squelched. All lookup(String) will return null.
-                    return null;
                 }
             }
             return null;