Support #7655

Use Consumer instead of deprecated Callback interface

Added by Tuukka Lehtonen about 1 month ago. Updated 7 days ago.

Status:ClosedStart date:2017-12-01
Priority:4Due date:2017-12-01
Assignee:Tuukka Lehtonen% Done:

100%

Category:-Spent time:-
Target version:2017-27
Release notes:Replaced most uses of the deprecated @Callback@ interface with standard java @Consumer@.
Tags: 1.31.0, deprecation
Story points-
Velocity based estimate-
ReleaseSimantics 1.31.0Release relationshipAuto

Description

DB codebase still contains some use of the old deprecated org.simantics.utils.datastructures.Callback interface.

Replace it with java.util.Consumer.

Let's try to keep the codebase warning count down a bit.

Associated revisions

Revision 56a799c9
Added by Tuukka Lehtonen about 1 month ago

Use java.util.Consumer instead of os.utils.datastructures.Callback

This removes lots of deprecation warnings from the DB codebase.

refs #7655

Change-Id: Ibdfbac83c69d5af3823a28447256176183ab335a

Revision 627664d0
Added by Tuukka Lehtonen about 1 month ago

Use Consumer interface instead of deprecated Callback interface

Also removed some compilation warnings at the same time.

refs #7655

Change-Id: I8e84652fd50853d598ddec299fc1fc6e30776bc2

History

#1 Updated by Tuukka Lehtonen about 1 month ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

#2 Updated by Tuukka Lehtonen 7 days ago

  • Status changed from Resolved to Closed
  • Release notes set to Replaced most uses of the deprecated @Callback@ interface with standard java @Consumer@.

Also available in: Atom PDF