el-spec icon indicating copy to clipboard operation
el-spec copied to clipboard

Stream operators anyMatch, allMatch, and nonMatch should return boolean

Open glassfishrobot opened this issue 10 years ago • 3 comments

The stream operators anyMatch, allMatch, and noneMatch returns an Optional, while those operators in JDK 8 (java.util.stream#Stream) returns a boolean. This difference is confusing. EL spec should be changed to agree with JDK 8.

The difference happened because EL 3.0 spec was released before Java SE 8. Now that SE 8 was release, EL should be brought up to date.

glassfishrobot avatar Jan 15 '15 22:01 glassfishrobot

Reported by kchung

glassfishrobot avatar Jan 15 '15 22:01 glassfishrobot

Was assigned to kchung

glassfishrobot avatar Jan 15 '15 22:01 glassfishrobot

This issue was imported from java.net JIRA EL_SPEC-23

glassfishrobot avatar Apr 24 '17 07:04 glassfishrobot