From 5b67c266496af0ba5b597388570fd5b3b7905800 Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Mon, 24 Jun 2019 11:19:49 -0400 Subject: [PATCH] [LANG-1467] Add zero arg constructor for org.apache.commons.lang3.NotImplementedException. --- src/changes/changes.xml | 1 + .../apache/commons/lang3/NotImplementedException.java | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index c67efb404..d31680bb4 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -51,6 +51,7 @@ The type attribute can be add,update,fix,remove. Add EMPTY_ARRAY constants to classes in org.apache.commons.lang3.tuple. checkstyle.version 8.18 -> 8.20. Add null-safe StringUtils APIs to wrap String#getBytes([Charset|String]). + Add zero arg constructor for org.apache.commons.lang3.NotImplementedException. diff --git a/src/main/java/org/apache/commons/lang3/NotImplementedException.java b/src/main/java/org/apache/commons/lang3/NotImplementedException.java index d7e2e7565..5facdb2d9 100644 --- a/src/main/java/org/apache/commons/lang3/NotImplementedException.java +++ b/src/main/java/org/apache/commons/lang3/NotImplementedException.java @@ -46,6 +46,15 @@ public class NotImplementedException extends UnsupportedOperationException { private final String code; + /** + * Constructs a NotImplementedException. + * + * @since 3.10 + */ + public NotImplementedException() { + this.code = null; + } + /** * Constructs a NotImplementedException. *