Modify

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#13190 closed enhancement (fixed)

[Patch] Allow Lambda bug report parameters.

Reported by: michael2402 Owned by: team
Priority: normal Milestone: 16.07
Component: Core bugreport Version:
Keywords: gsoc-core java8 Cc: Don-vip, bastiK, stoecker

Description

We can use Java 8 lambdas to easily add parameters to the bug report without causing more exceptions:

.put("key", () -> someobject.getValue())

Attachments (1)

patch-bug-report-add-more-reports.patch (9.5 KB) - added by michael2402 4 years ago.

Download all attachments as: .zip

Change History (5)

Changed 4 years ago by michael2402

comment:1 Changed 4 years ago by Don-vip

Keywords: java8 added

comment:2 Changed 4 years ago by Don-vip

Resolution: fixed
Status: newclosed

In 10586/josm:

see #11390, fix #13190 - Allow Lambda bug report parameters (patch by michael2402) - gsoc-core

comment:3 Changed 4 years ago by Don-vip

nice! :)

comment:4 Changed 4 years ago by Don-vip

In 10596/josm:

see #11390, see #13120, see #13190 - sonar - squid:S1612 - Lambdas should be replaced with method references

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.