Hi Shashika,

I think it's better to move the logic in the main method to a test case.

Thanks!

Best Regards,

On Mon, Apr 20, 2015 at 12:11 PM, Shashika Karunatilaka <[email protected]>
wrote:

> Hi Johan,
>
> Shall i remove this main method from [1]
>
> [1]
> https://github.com/wso2/carbon4-kernel/blob/master/core/org.wso2.carbon.user.core/src/main/java/org/wso2/carbon/user/core/authorization/PermissionTreeUtil.java
>
> On Mon, Apr 20, 2015 at 10:10 AM, Rajith Vitharana <[email protected]>
> wrote:
>
>> Hi Anjana,
>>
>> Removed main method from DBUtils.java
>>
>> Thanks,
>>
>> On Mon, Apr 20, 2015 at 7:36 AM, Anjana Fernando <[email protected]> wrote:
>>
>>> Rajith please do the needful for the DBUtils class.
>>>
>>> Cheers,
>>> Anjana.
>>>
>>> On Sun, Apr 19, 2015 at 5:39 PM, Gayan Gunawardana <[email protected]>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> Will it be possible to remove main method from following locations
>>>> [1],[2] if they are not necessary.
>>>>
>>>> [1]
>>>> https://github.com/wso2/carbon-data/blob/master/components/data-services/org.wso2.carbon.dataservices.core/src/main/java/org/wso2/carbon/dataservices/core/DBUtils.java
>>>>
>>>> [2]
>>>> https://github.com/wso2/carbon4-kernel/blob/master/core/org.wso2.carbon.user.core/src/main/java/org/wso2/carbon/user/core/authorization/PermissionTreeUtil.java
>>>>
>>>> --
>>>> Gayan Gunawardana
>>>> Software Engineer; WSO2 Inc.; http://wso2.com/
>>>> Email: [email protected]
>>>> Mobile: +94 (71) 8020933
>>>>
>>>
>>>
>>>
>>> --
>>> *Anjana Fernando*
>>> Senior Technical Lead
>>> WSO2 Inc. | http://wso2.com
>>> lean . enterprise . middleware
>>>
>>
>>
>>
>> --
>> Rajith Vitharana
>>
>> Software Engineer,
>> WSO2 Inc. : wso2.com
>> Mobile : +94715883223
>> Blog : http://lankavitharana.blogspot.com/
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Shashika Prabath Karunatilaka,
> Software Engineer,
> WSO2, Inc: http://wso2.com/
> mobile : +94 77 7487792
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Isuru Perera
Senior Software Engineer | WSO2, Inc. | http://wso2.com/
Lean . Enterprise . Middleware

about.me/chrishantha
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to