[ https://issues.apache.org/jira/browse/IGNITE-13069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17167811#comment-17167811 ]
Ignite TC Bot commented on IGNITE-13069: ---------------------------------------- {panel:title=Branch: [pull/8095/head] Base: [master] : No blockers found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel} {panel:title=Branch: [pull/8095/head] Base: [master] : New Tests (8)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1} {color:#00008b}Service Grid{color} [[tests 4|https://ci.ignite.apache.org/viewLog.html?buildId=5499516]] * {color:#013220}IgniteServiceGridTestSuite: ServiceDeploymentProcessIdSelfTest.topologyVersion[Test event=IgniteBiTuple [val1=DiscoveryEvent [evtNode=62382aeb-8c43-4c09-9ad3-3839963c2fa3, topVer=0, msgTemplate=null, span=null, nodeId8=7075f0ba, msg=, type=NODE_JOINED, tstamp=1596055033470], val2=AffinityTopologyVersion [topVer=5862659397691419837, minorTopVer=0]]] - PASSED{color} * {color:#013220}IgniteServiceGridTestSuite: ServiceDeploymentProcessIdSelfTest.requestId[Test event=IgniteBiTuple [val1=DiscoveryEvent [evtNode=62382aeb-8c43-4c09-9ad3-3839963c2fa3, topVer=0, msgTemplate=null, span=null, nodeId8=7075f0ba, msg=, type=NODE_JOINED, tstamp=1596055033470], val2=AffinityTopologyVersion [topVer=5862659397691419837, minorTopVer=0]]] - PASSED{color} * {color:#013220}IgniteServiceGridTestSuite: ServiceDeploymentProcessIdSelfTest.topologyVersion[Test event=IgniteBiTuple [val1=DiscoveryCustomEvent [customMsg=ServiceChangeBatchRequest [id=2861b4c9371-8c745f9c-bf79-4300-a4a3-84080008a9a9, reqs=SingletonList [ServiceUndeploymentRequest []]], affTopVer=null, super=DiscoveryEvent [evtNode=e4fe7c11-aac7-40e3-8278-90206c4f9719, topVer=0, msgTemplate=null, span=null, nodeId8=e4fe7c11, msg=null, type=DISCOVERY_CUSTOM_EVT, tstamp=1596055033470]], val2=AffinityTopologyVersion [topVer=-1825263407901181534, minorTopVer=0]]] - PASSED{color} * {color:#013220}IgniteServiceGridTestSuite: ServiceDeploymentProcessIdSelfTest.requestId[Test event=IgniteBiTuple [val1=DiscoveryCustomEvent [customMsg=ServiceChangeBatchRequest [id=2861b4c9371-8c745f9c-bf79-4300-a4a3-84080008a9a9, reqs=SingletonList [ServiceUndeploymentRequest []]], affTopVer=null, super=DiscoveryEvent [evtNode=e4fe7c11-aac7-40e3-8278-90206c4f9719, topVer=0, msgTemplate=null, span=null, nodeId8=e4fe7c11, msg=null, type=DISCOVERY_CUSTOM_EVT, tstamp=1596055033470]], val2=AffinityTopologyVersion [topVer=-1825263407901181534, minorTopVer=0]]] - PASSED{color} {color:#00008b}Service Grid (legacy mode){color} [[tests 4|https://ci.ignite.apache.org/viewLog.html?buildId=5497882]] * {color:#013220}IgniteServiceGridTestSuite: ServiceDeploymentProcessIdSelfTest.requestId[Test event=IgniteBiTuple [val1=DiscoveryEvent [evtNode=41ca9bc8-2dba-4dc5-9629-f06d454dfcdd, topVer=0, msgTemplate=null, span=null, nodeId8=b07b5df7, msg=, type=NODE_JOINED, tstamp=1596024767182], val2=AffinityTopologyVersion [topVer=-3212041075881090934, minorTopVer=0]]] - PASSED{color} * {color:#013220}IgniteServiceGridTestSuite: ServiceDeploymentProcessIdSelfTest.topologyVersion[Test event=IgniteBiTuple [val1=DiscoveryCustomEvent [customMsg=ServiceChangeBatchRequest [id=2d24d7a9371-4984486a-2324-497d-8920-9dcd231366d3, reqs=SingletonList [ServiceUndeploymentRequest []]], affTopVer=null, super=DiscoveryEvent [evtNode=fef5c187-1714-4292-b645-3b1209fd2c3e, topVer=0, msgTemplate=null, span=null, nodeId8=fef5c187, msg=null, type=DISCOVERY_CUSTOM_EVT, tstamp=1596024767182]], val2=AffinityTopologyVersion [topVer=63388846161567583, minorTopVer=0]]] - PASSED{color} * {color:#013220}IgniteServiceGridTestSuite: ServiceDeploymentProcessIdSelfTest.requestId[Test event=IgniteBiTuple [val1=DiscoveryCustomEvent [customMsg=ServiceChangeBatchRequest [id=2d24d7a9371-4984486a-2324-497d-8920-9dcd231366d3, reqs=SingletonList [ServiceUndeploymentRequest []]], affTopVer=null, super=DiscoveryEvent [evtNode=fef5c187-1714-4292-b645-3b1209fd2c3e, topVer=0, msgTemplate=null, span=null, nodeId8=fef5c187, msg=null, type=DISCOVERY_CUSTOM_EVT, tstamp=1596024767182]], val2=AffinityTopologyVersion [topVer=63388846161567583, minorTopVer=0]]] - PASSED{color} * {color:#013220}IgniteServiceGridTestSuite: ServiceDeploymentProcessIdSelfTest.topologyVersion[Test event=IgniteBiTuple [val1=DiscoveryEvent [evtNode=41ca9bc8-2dba-4dc5-9629-f06d454dfcdd, topVer=0, msgTemplate=null, span=null, nodeId8=b07b5df7, msg=, type=NODE_JOINED, tstamp=1596024767182], val2=AffinityTopologyVersion [topVer=-3212041075881090934, minorTopVer=0]]] - PASSED{color} {panel} [TeamCity *--> Run :: All* Results|https://ci.ignite.apache.org/viewLog.html?buildId=5497904&buildTypeId=IgniteTests24Java8_RunAll] > Rewrite creation of IgniteInClosure and IgniteOutClosure as lambda expression > ----------------------------------------------------------------------------- > > Key: IGNITE-13069 > URL: https://issues.apache.org/jira/browse/IGNITE-13069 > Project: Ignite > Issue Type: Improvement > Components: general > Affects Versions: 2.8.1 > Reporter: Nikolay Izhikov > Assignee: Konstantin Sirotkin > Priority: Trivial > Labels: newbie > Time Spent: 1h 20m > Remaining Estimate: 0h > > We can use lambda expression instead of direct instantiation of > IgniteInClosure, IgniteOutClosure. > This: > {code:java} > state = new DirectMessageState<>(StateItem.class, new > IgniteOutClosure<StateItem>() { > @Override public StateItem apply() { > return new StateItem(msgFactory, protoVer); > } > }); > {code} > Can be replaced with: > {code:java} > state = new DirectMessageState<>(StateItem.class, () -> new > StateItem(msgFactory, protoVer)); > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)