[GitHub] commons-lang issue #261: LANG-1317: Add findAnnotation and findMethodsWithAn...

2017-04-21 Thread coveralls
Github user coveralls commented on the issue: https://github.com/apache/commons-lang/pull/261 [![Coverage Status](https://coveralls.io/builds/11177727/badge)](https://coveralls.io/builds/11177727) Coverage increased (+0.09%) to 94.693% when pulling

[GitHub] commons-lang issue #261: LANG-1317: Add findAnnotation and findMethodsWithAn...

2017-04-21 Thread coveralls
Github user coveralls commented on the issue: https://github.com/apache/commons-lang/pull/261 [![Coverage Status](https://coveralls.io/builds/11177727/badge)](https://coveralls.io/builds/11177727) Coverage increased (+0.09%) to 94.693% when pulling

[GitHub] commons-lang issue #261: LANG-1317: Add findAnnotation and findMethodsWithAn...

2017-04-21 Thread yasserzamani
Github user yasserzamani commented on the issue: https://github.com/apache/commons-lang/pull/261 @PascalSchumacher , sorry for my bad decisions. Again I thought I should keep it public to provide same functionality for someone who needs in future :) Now, I removed it to

[GitHub] commons-lang issue #261: LANG-1317: Add findAnnotation and findMethodsWithAn...

2017-04-20 Thread PascalSchumacher
Github user PascalSchumacher commented on the issue: https://github.com/apache/commons-lang/pull/261 If I'm not mistaken the list returned by `getAllSuperclassesAndInterfaces` can contain the same interface multiple times if it is implemented by more than one super class. To prevent

[GitHub] commons-lang issue #261: LANG-1317: Add findAnnotation and findMethodsWithAn...

2017-04-20 Thread PascalSchumacher
Github user PascalSchumacher commented on the issue: https://github.com/apache/commons-lang/pull/261 Created https://issues.apache.org/jira/browse/LANG-1321 for the `ClassUtils#getAllSuperclassesAndInterfaces` addition. --- If your project is set up for it, you can reply to this

[GitHub] commons-lang issue #261: LANG-1317: Add findAnnotation and findMethodsWithAn...

2017-04-20 Thread yasserzamani
Github user yasserzamani commented on the issue: https://github.com/apache/commons-lang/pull/261 > Sorry for the delay, other open source projects and vacations interfered. You're welcome, I understand and as an open source fun contributor, I'm patient enough :) >

[GitHub] commons-lang issue #261: LANG-1317: Add findAnnotation and findMethodsWithAn...

2017-04-20 Thread coveralls
Github user coveralls commented on the issue: https://github.com/apache/commons-lang/pull/261 [![Coverage Status](https://coveralls.io/builds/11170248/badge)](https://coveralls.io/builds/11170248) Coverage increased (+0.07%) to 94.675% when pulling

[GitHub] commons-lang issue #261: LANG-1317: Add findAnnotation and findMethodsWithAn...

2017-04-20 Thread PascalSchumacher
Github user PascalSchumacher commented on the issue: https://github.com/apache/commons-lang/pull/261 @yasserzamani Sorry for the delay, other open source projects and vacations interfered. I'm not sure if the priority parameter of `getAllSuperclassesAndInterfaces` is

[GitHub] commons-lang issue #261: LANG-1317: Add findAnnotation and findMethodsWithAn...

2017-04-02 Thread PascalSchumacher
Github user PascalSchumacher commented on the issue: https://github.com/apache/commons-lang/pull/261 Concerning the coverage: I think it's because the coverage differs between java versions. The build used to determine coverage depends on the order in which the travis builds finish.

[GitHub] commons-lang issue #261: LANG-1317: Add findAnnotation and findMethodsWithAn...

2017-03-28 Thread yasserzamani
Github user yasserzamani commented on the issue: https://github.com/apache/commons-lang/pull/261 Thank you @Abrasha , I signed up with [coveralls.io](http://coveralls.io) and see that all of this PR's changes are covered with unit tests:

[GitHub] commons-lang issue #261: LANG-1317: Add findAnnotation and findMethodsWithAn...

2017-03-28 Thread coveralls
Github user coveralls commented on the issue: https://github.com/apache/commons-lang/pull/261 [![Coverage Status](https://coveralls.io/builds/10822401/badge)](https://coveralls.io/builds/10822401) Coverage decreased (-0.03%) to 94.577% when pulling

[GitHub] commons-lang issue #261: LANG-1317: Add findAnnotation and findMethodsWithAn...

2017-03-28 Thread Abrasha
Github user Abrasha commented on the issue: https://github.com/apache/commons-lang/pull/261 @yasserzamani I thinks because you added more conditional branches in the latest commit and that is why less LOC are covered --- If your project is set up for it, you can reply to this email

[GitHub] commons-lang issue #261: LANG-1317: Add findAnnotation and findMethodsWithAn...

2017-03-28 Thread yasserzamani
Github user yasserzamani commented on the issue: https://github.com/apache/commons-lang/pull/261 @PascalSchumacher , I made it better 😃 thanks a lot! Please feel free to make any recommendation if you think I can make it better. > Coverage decreased (-0.03%) to

[GitHub] commons-lang issue #261: LANG-1317: Add findAnnotation and findMethodsWithAn...

2017-03-28 Thread coveralls
Github user coveralls commented on the issue: https://github.com/apache/commons-lang/pull/261 [![Coverage Status](https://coveralls.io/builds/10806431/badge)](https://coveralls.io/builds/10806431) Coverage decreased (-0.03%) to 94.571% when pulling

[GitHub] commons-lang issue #261: LANG-1317: Add findAnnotation and findMethodsWithAn...

2017-03-27 Thread yasserzamani
Github user yasserzamani commented on the issue: https://github.com/apache/commons-lang/pull/261 👌 I am working on a new commit. thanks! --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have

[GitHub] commons-lang issue #261: LANG-1317: Add findAnnotation and findMethodsWithAn...

2017-03-27 Thread PascalSchumacher
Github user PascalSchumacher commented on the issue: https://github.com/apache/commons-lang/pull/261 Well we have to keep `getMethodsWithAnnotation(cls, annotationCls)` for compatibility reasons. In my opinion it is not problem if is equal to `getMethodsWithAnnotation(cls,

[GitHub] commons-lang issue #261: LANG-1317: Add findAnnotation and findMethodsWithAn...

2017-03-26 Thread yasserzamani
Github user yasserzamani commented on the issue: https://github.com/apache/commons-lang/pull/261 Another bad thing is that `getMethodsWithAnnotation(cls, annotationCls, false, false)` will be a duplicate for `getMethodsWithAnnotation(cls, annotationCls)`. Another solution is

[GitHub] commons-lang issue #261: LANG-1317: Add findAnnotation and findMethodsWithAn...

2017-03-26 Thread PascalSchumacher
Github user PascalSchumacher commented on the issue: https://github.com/apache/commons-lang/pull/261 You are right. The method signature I suggested omits the important super part. I agree it should be something like `getMethodsWithAnnotation(Class cls, annotationCls, boolean

[GitHub] commons-lang issue #261: LANG-1317: Add findAnnotation and findMethodsWithAn...

2017-03-26 Thread yasserzamani
Github user yasserzamani commented on the issue: https://github.com/apache/commons-lang/pull/261 @PascalSchumacher , thank you! I was overloaded by another job and forgot that I also can use method overloads. Yes, strongly I agree. Just I have some doubts about name

[GitHub] commons-lang issue #261: LANG-1317: Add findAnnotation and findMethodsWithAn...

2017-03-26 Thread PascalSchumacher
Github user PascalSchumacher commented on the issue: https://github.com/apache/commons-lang/pull/261 Thanks for the pull request! It is really unfortunate that the existing method `getMethodsWithAnnotation` is not called `getAccessibleMethodsWithAnnotation` : (, because

[GitHub] commons-lang issue #261: LANG-1317: Add findAnnotation and findMethodsWithAn...

2017-03-26 Thread coveralls
Github user coveralls commented on the issue: https://github.com/apache/commons-lang/pull/261 [![Coverage Status](https://coveralls.io/builds/10775689/badge)](https://coveralls.io/builds/10775689) Coverage decreased (-0.002%) to 94.603% when pulling