Project

General

Profile

Architecture #14291

Remove deprecated (and not use) code causing warning

Added by François ARMAND 12 days ago. Updated 11 days ago.

Status:
Pending release
Priority:
N/A
Category:
Architecture - Internal libs
Target version:
Effort required:

Description

In scala-ldap, we are using a old, deprecated piece of code to double-check a property on nodes in a LDAP tree.
That code cause warning and actually does nothing else than testing for a requirement, which can be done elsewhere without the deprecated code.
Moreover, the test is done with a "require" (ie an assert), so it would just explose in a stack trace.

I propose to let the old code in 4.1 to avoid any risk and correct it above: now that we have merged repos, we are going to see the warning more frequently.

Associated revisions

Revision 8da580d0 (diff)
Added by François ARMAND 12 days ago

Fixes #14291: Remove deprecated (and not use) code causing warning

History

#1 Updated by François ARMAND 12 days ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Nicolas CHARLES
  • Pull Request set to https://github.com/Normation/rudder/pull/2137

#2 Updated by Rudder Quality Assistant 11 days ago

  • Status changed from Pending technical review to Discussion
  • Assignee changed from Nicolas CHARLES to François ARMAND

#3 Updated by François ARMAND 11 days ago

  • Status changed from Discussion to Pending release

Also available in: Atom PDF