Project

General

Profile

Actions

Architecture #14291

closed

Remove deprecated (and not use) code causing warning

Added by François ARMAND almost 6 years ago. Updated over 5 years ago.

Status:
Released
Priority:
N/A
Category:
Architecture - Internal libs
Target version:
Effort required:
Name check:
Fix check:
Regression:

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.

Actions

Also available in: Atom PDF