From 76662a6002783cd07a3417dd5130abdb199fa96d Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Wed, 18 Sep 2024 11:29:51 +0100 Subject: [PATCH] Java: Add changenote for deprecation of Field.getSourceDeclaration() and Field.isSourceDeclaration() --- java/ql/lib/change-notes/2024-09-18-fields.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 java/ql/lib/change-notes/2024-09-18-fields.md diff --git a/java/ql/lib/change-notes/2024-09-18-fields.md b/java/ql/lib/change-notes/2024-09-18-fields.md new file mode 100644 index 00000000000..d2367bf2b04 --- /dev/null +++ b/java/ql/lib/change-notes/2024-09-18-fields.md @@ -0,0 +1,5 @@ +--- +category: deprecated +--- +* The `Field.getSourceDeclaration()` predicate has been deprecated. The result was always the original field, so calls to it can simply be removed. +* The `Field.isSourceDeclaration()` predicate has been deprecated. It always holds.