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 cb3cbd356 Deprecate org.apache.commons.lang3.builder.Diff.getType()
cb3cbd356 is described below

commit cb3cbd356feb56c002a8f7fa173a4e0b3cb9f919
Author: Gary Gregory <[email protected]>
AuthorDate: Mon Dec 11 09:52:16 2023 -0500

    Deprecate org.apache.commons.lang3.builder.Diff.getType()
---
 src/changes/changes.xml                                  | 1 +
 src/main/java/org/apache/commons/lang3/builder/Diff.java | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index e8367ecb9..21923adfd 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -58,6 +58,7 @@ The <action> type attribute can be add,update,fix,remove.
     <action                   type="update" dev="sebb" 
due-to="Dependabot">Bump commons-parent from 64 to 65.</action>
     <!-- REMOVE -->
     <action                   type="remove" dev="ggregory" due-to="Paranoïd 
User">Drop obsolete JDK 13 Maven profile #1142.</action>
+    <action                   type="remove" dev="ggregory" due-to="Gary 
Gregory">Deprecate org.apache.commons.lang3.builder.Diff.getType().</action>
   </release>
   <release version="3.14.0" date="2023-11-18" description="New features and 
bug fixes (Java 8 or above).">
     <!-- FIX -->
diff --git a/src/main/java/org/apache/commons/lang3/builder/Diff.java 
b/src/main/java/org/apache/commons/lang3/builder/Diff.java
index 334b1c051..b8a1af99f 100644
--- a/src/main/java/org/apache/commons/lang3/builder/Diff.java
+++ b/src/main/java/org/apache/commons/lang3/builder/Diff.java
@@ -73,7 +73,9 @@ public abstract class Diff<T> extends Pair<T, T> {
      * Gets the type of the field.
      *
      * @return the field type
+     * @deprecated Unused, will be removed in 4.0.0.
      */
+    @Deprecated
     public final Type getType() {
         return type;
     }

Reply via email to