Re: Creating a Kotlin Commons Lang Package

2020-08-18 Thread Isira Seneviratne
Exactly. Okio has done a similar conversion from Java to Kotlin. On Tue, Aug 18, 2020 at 10:32 AM Adwait Kumar Singh < theadvaitkumarsi...@gmail.com> wrote: > Yeah we could call it from Kotlin but the point is to re-wr

Re: Creating a Kotlin Commons Lang Package

2020-08-17 Thread Isira Seneviratne
I'd also be happy to join. On Tue, Aug 18, 2020, 6:15 AM Miguel Muñoz wrote: > I'd be happy to join you. > > On Mon, Aug 17, 2020 at 5:24 AM Adwait Kumar Singh < > theadvaitkumarsi...@gmail.com> wrote: > > > Hi all, > > > > I created this issue https://issues.apache.org/jira/browse/LANG-1599 to

Re: [ALL] Creating Utils method wrappers for Kotlin

2020-05-11 Thread Isira Seneviratne
On Mon, May 11, 2020, 3:22 PM Gilles Sadowski wrote: > 2020-05-11 11:06 UTC+02:00, Isira Seneviratne : > > Hi all, > > > > Earlier, I started a discussion about porting the Utils classes in > Commons > > Lang to Kotlin, but Gilles Sadowski suggested that this app

[ALL] Creating Utils method wrappers for Kotlin

2020-05-11 Thread Isira Seneviratne
com/Isira-Seneviratne/commons-lang-kt> repo includes the Kotlin code I have written so far for Lang. -- Isira Seneviratne isirase...@gmail.com

Re: [LANG] Porting to Kotlin

2020-05-11 Thread Isira Seneviratne
On Mon, May 11, 2020, 1:20 PM Gilles Sadowski wrote: > 2020-05-11 1:01 UTC+02:00, Isira Seneviratne : > > On Sun, May 10, 2020 at 8:24 PM Gilles Sadowski > > wrote: > > > >> Hi. > >> > >> Le dim. 10 mai 2020 à 15:34, Isira Seneviratne a > &g

Re: [LANG] Porting to Kotlin

2020-05-10 Thread Isira Seneviratne
On Sun, May 10, 2020 at 8:24 PM Gilles Sadowski wrote: > Hi. > > Le dim. 10 mai 2020 à 15:34, Isira Seneviratne a > écrit : > > > > I hope my answer was helpful. If you need any more information, please > let > > me know. > > Please explain, by example

Re: [LANG] Porting to Kotlin

2020-05-10 Thread Isira Seneviratne
nd if you add some kotlin util class dealing with > kotlin things. > > > Isira Seneviratne 于2020年5月10日周日 下午9:33写道: > > > On Sun, May 10, 2020, 6:55 PM Gilles Sadowski > > wrote: > > > > > Hi. > > > > > > In what consists the "port

Re: [LANG] Porting to Kotlin

2020-05-10 Thread Isira Seneviratne
I hope my answer was helpful. If you need any more information, please let me know. On Sun, May 10, 2020, 7:03 PM Isira Seneviratne wrote: > > > On Sun, May 10, 2020, 6:55 PM Gilles Sadowski > wrote: > >> Hi. >> >> In what consists the "porting"?

Re: [LANG] Porting to Kotlin

2020-05-10 Thread Isira Seneviratne
On Sun, May 10, 2020, 6:55 PM Gilles Sadowski wrote: > Hi. > > In what consists the "porting"? Could you give an example? > Of course. Extension functions and properties are a language feature of Kotlin, which allow a function/property to be called from a variable as if it was part of the orig

Re: [LANG] Porting to Kotlin

2020-05-10 Thread Isira Seneviratne
I've updated all the methods to call Apache Commons Lang methods. On Sun, May 10, 2020, 4:25 PM Isira Seneviratne wrote: > > > On Sun, May 10, 2020, 4:02 PM Paul King wrote: > >> There are a number of approaches you could take. Why not just a whole >> bunch >&

Re: [LANG] Porting to Kotlin

2020-05-10 Thread Isira Seneviratne
n.toStringYesNo() = BooleanUtils.toStringYesNo(this) > > It might be possible to automate and when making changes/fixing bugs, there > wouldn't be two places to change. Just a thought? > Oh, sure. > Cheers, Paul. > > > On Sun, May 10, 2020 at 7:58 PM Isira Seneviratne > wrote: &g

Re: [LANG] Porting to Kotlin

2020-05-10 Thread Isira Seneviratne
Since the original attachments did not come through, I've created a temporary GitHub repository for the proposed library, for anyone who is interested: https://github.com/Isira-Seneviratne/commons-lang-kt.git -- Isira Seneviratne isirase...@gmail.com

Re: [LANG] Porting to Kotlin

2020-04-24 Thread Isira Seneviratne
On Sat, Apr 25, 2020, 11:45 AM Isira Seneviratne wrote: > > > On Sat, Apr 25, 2020, 11:22 AM Paul King > wrote: > >> The attachments didn't seem to come through. I am not on the commons PMC >> but I would be -1 for changing the existing functionality. > >

Re: [LANG] Porting to Kotlin

2020-04-24 Thread Isira Seneviratne
there was sufficient interest? > Yeah, that sounds like a good idea. Thanks! > Cheers, Paul. > > > On Sat, Apr 25, 2020 at 2:24 PM Isira Seneviratne > wrote: > > > > > On Mon, Apr 20, 2020 at 8:41 PM Isira Seneviratne > > wrote: > > > >> Hi

Re: [LANG] Porting to Kotlin

2020-04-24 Thread Isira Seneviratne
On Mon, Apr 20, 2020 at 8:41 PM Isira Seneviratne wrote: > Hi all, > > I'm a new contributor, but I've been using Commons Lang for a while now, > and I feel that porting Commons Lang to Kotlin would be very useful for > Kotlin development, as a lot of its methods (

[LANG] Porting to Kotlin

2020-04-20 Thread Isira Seneviratne
and these could be written as extensions <https://kotlinlang.org/docs/reference/extensions.html>. What do you guys think? -- Isira Seneviratne isirase...@gmail.com