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 2019/06/24 15:19:53 UTC

[commons-lang] branch master updated: [LANG-1467] Add zero arg constructor for org.apache.commons.lang3.NotImplementedException.

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-lang.git


The following commit(s) were added to refs/heads/master by this push:
     new 5b67c26  [LANG-1467] Add zero arg constructor for org.apache.commons.lang3.NotImplementedException.</action>
5b67c26 is described below

commit 5b67c266496af0ba5b597388570fd5b3b7905800
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Jun 24 11:19:49 2019 -0400

    [LANG-1467] Add zero arg constructor for
    org.apache.commons.lang3.NotImplementedException.</action>
---
 src/changes/changes.xml                                          | 1 +
 .../java/org/apache/commons/lang3/NotImplementedException.java   | 9 +++++++++
 2 files changed, 10 insertions(+)

diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index c67efb4..d31680b 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -51,6 +51,7 @@ The <action> type attribute can be add,update,fix,remove.
     <action issue="LANG-1458" type="add" dev="ggregory">Add EMPTY_ARRAY constants to classes in org.apache.commons.lang3.tuple.</action>
     <action                   type="update" dev="ggregory">checkstyle.version 8.18 -> 8.20.</action>
     <action issue="LANG-1461" type="add" dev="ggregory">Add null-safe StringUtils APIs to wrap String#getBytes([Charset|String]).</action>
+    <action issue="LANG-1467" type="add" dev="ggregory">Add zero arg constructor for org.apache.commons.lang3.NotImplementedException.</action>
   </release>
 
   <release version="3.9" date="2019-04-09" description="New features and bug fixes. Requires Java 8, supports Java 9, 10, 11">
diff --git a/src/main/java/org/apache/commons/lang3/NotImplementedException.java b/src/main/java/org/apache/commons/lang3/NotImplementedException.java
index d7e2e75..5facdb2 100644
--- a/src/main/java/org/apache/commons/lang3/NotImplementedException.java
+++ b/src/main/java/org/apache/commons/lang3/NotImplementedException.java
@@ -49,6 +49,15 @@ public class NotImplementedException extends UnsupportedOperationException {
     /**
      * Constructs a NotImplementedException.
      *
+     * @since 3.10
+     */
+    public NotImplementedException() {
+        this.code = null;
+    }
+
+    /**
+     * Constructs a NotImplementedException.
+     *
      * @param message description of the exception
      * @since 3.2
      */