Re: [LANG][PROXY] Various utility methods dealing with proxies

2017-05-24 Thread Yasser Zamani
as a new module named spring ? ) So, I was not sure how to continue. thoughts ? Sincerely Yours, Yasser. On 5/24/2017 3:05 PM, Yasser Zamani wrote: > Thanks a lot! I was not aware about Apache Commons Proxy. However my > proposal is not about creating proxies , but, yes I think there is a &

Re: [LANG][PROXY] Various utility methods dealing with proxies

2017-05-24 Thread Yasser Zamani
ve jdk, cglib, javassist, asm4 modules we can have one more for spring > as well. thoughts ? > > Regards, > Amey > > [2] https://commons.apache.org/proper/commons-proxy/ > > > On Wed, May 24, 2017, 2:41 PM Yasser Zamani wrote: > >> Hi there, >> >>

[LANG] Various utility methods dealing with proxies

2017-05-24 Thread Yasser Zamani
Hi there, I recently had an accepted merged contribution at [1] which I prefer to remove it to Apache Commons Lang as it is common between developers. What do you think? thank you! [1] https://github.com/apache/struts/blob/master/core/src/main/java/com/opensymphony/xwork2/util/ProxyUtil.java

Re: [lang][wish] Add findAnnotation and findMethodsWithAnnotation to MethodUtils

2017-03-26 Thread Yasser Zamani
Hi Pascal, Nice to hear this. I started at https://github.com/apache/commons-lang/pull/261 :) Regards, Yasser. On 3/26/2017 12:02 PM, Pascal Schumacher wrote: > Hi Yasser, > > looks like a nice enhancement to me. > > Cheers, > Pascal > > Am 24.03.2017 um 21:17 schrieb

[lang][wish] Add findAnnotation and findMethodsWithAnnotation to MethodUtils

2017-03-24 Thread Yasser Zamani
In order to fix WW-4744 , mainly, I am going to add two functionalities to MethodUtils: findAnnotation and findMethodsWithAnnotation. findAnnotation will be an extension for Method.getAnnotation that also searches interfaces and super classes while

Re: [lang] Question with the StringEscapeUtils.(un)escapeEcmaScript

2017-03-11 Thread Yasser Zamani
On 3/8/2017 12:21 PM, Benedikt Ritter wrote: > Hello Yasser, > > Sorry for the late reply! I have been on vacation and needed some time to go > through all the mails that have piled up :-) Hello Benedikt , thank you very much for your answer > > StringEscapeUtils contains general String escaping

Re: [lang] Question with the StringEscapeUtils.(un)escapeEcmaScript

2017-03-11 Thread Yasser Zamani
On 3/8/2017 12:21 PM, Benedikt Ritter wrote: > Hello Yasser, > > Sorry for the late reply! I have been on vacation and needed some time to go > through all the mails that have piled up :-) Hello Benedikt , thank you very much for your answer > > StringEscapeUtils contains general String escaping

[lang] Question with the StringEscapeUtils.(un)escapeEcmaScript

2017-02-27 Thread Yasser Zamani
Hi there, I just wonder why `StringEscapeUtils.escapeEcmaScript` also includes `JavaUnicodeEscaper`? is it it's business really? the problem is when we use it to prevent script injection by user, it also replaces user input's unicodes with "\u"s which is not deducted with `escapeEcmaScript' te

[lang] Question with the StringEscapeUtils.(un)escapeEcmaScript

2017-02-25 Thread Yasser Zamani
Hi there, I just wonder why `StringEscapeUtils.escapeEcmaScript` also includes `JavaUnicodeEscaper`? is it it's business really? the problem is when we use it to prevent script injection by user, it also replaces user input's unicodes with "\u"s which is not deducted with `escapeEcmaScript' te