Re: RFR: 8297074: Use enhanced-for cycle instead of Enumeration in javax.crypto

2022-11-17 Thread Andrey Turbanov
On Wed, 16 Nov 2022 02:00:23 GMT, Bradford Wetmore wrote: >> java.util.Enumeration is a legacy interface from java 1.0. >> There are a few places with cycles which use it to iterate over collections. >> We can replace this manual cycle with enchanced-for, which is shorter and >> easier to read.

Re: RFR: 8297074: Use enhanced-for cycle instead of Enumeration in javax.crypto

2022-11-15 Thread Bradford Wetmore
On Mon, 7 Nov 2022 16:54:32 GMT, Andrey Turbanov wrote: > java.util.Enumeration is a legacy interface from java 1.0. > There are a few places with cycles which use it to iterate over collections. > We can replace this manual cycle with enchanced-for, which is shorter and > easier to read. Sinc

Re: RFR: 8297074: Use enhanced-for cycle instead of Enumeration in javax.crypto

2022-11-15 Thread Weijun Wang
On Mon, 7 Nov 2022 16:54:32 GMT, Andrey Turbanov wrote: > java.util.Enumeration is a legacy interface from java 1.0. > There are a few places with cycles which use it to iterate over collections. > We can replace this manual cycle with enchanced-for, which is shorter and > easier to read. Look

Re: RFR: 8297074: Use enhanced-for cycle instead of Enumeration in javax.crypto

2022-11-15 Thread Andrey Turbanov
On Tue, 15 Nov 2022 16:07:37 GMT, Weijun Wang wrote: >> java.util.Enumeration is a legacy interface from java 1.0. >> There are a few places with cycles which use it to iterate over collections. >> We can replace this manual cycle with enchanced-for, which is shorter and >> easier to read. > >

Re: RFR: 8297074: Use enhanced-for cycle instead of Enumeration in javax.crypto

2022-11-15 Thread Weijun Wang
On Mon, 7 Nov 2022 16:54:32 GMT, Andrey Turbanov wrote: > java.util.Enumeration is a legacy interface from java 1.0. > There are a few places with cycles which use it to iterate over collections. > We can replace this manual cycle with enchanced-for, which is shorter and > easier to read. src/

RFR: 8297074: Use enhanced-for cycle instead of Enumeration in javax.crypto

2022-11-15 Thread Andrey Turbanov
java.util.Enumeration is a legacy interface from java 1.0. There are a few places with cycles which use it to iterate over collections. We can replace this manual cycle with enchanced-for, which is shorter and easier to read. - Commit messages: - 8297074: Use enhanced-for cycle ins