Re: [Lang] Question about Accessible Criteria

2010-03-27 Thread D Sledge
e Criteria Interesting question. I think it should - unless the method Modifier.isPublic method check checks that already. Have you tried a test case to see if this would return an invalid constructor? On Thu, Mar 11, 2010 at 10:10 AM, D Sledge wrote: > Looking

[Lang] Question about Accessible Criteria

2010-03-11 Thread D Sledge
Looking at the method ConstructorUtils.getAccessibleConstructor(Constructor), I notice that the method checks if the declaring class is public. Should it not also make sure that the declaring class is either a top-level one or its enclosing class hierarchy are all public, too? D

Code Style and Contributions

2010-03-01 Thread D Sledge
Is there a XML "code style" file for eclipse? I'd like to contribute, and I need to change the coding style to fit commons lang's convention. I'd like to avoid doing this by hand if I can. Thanks, D