You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Shawn McKinney (JIRA)" <ji...@apache.org> on 2016/01/28 15:35:39 UTC

[jira] [Commented] (FC-142) Config.getExternalConfig sets LDAP_ADMIN_POOL_MAX as int but all other ints as string

    [ https://issues.apache.org/jira/browse/FC-142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15121587#comment-15121587 ] 

Shawn McKinney commented on FC-142:
-----------------------------------

consistency is a good thing.

> Config.getExternalConfig sets LDAP_ADMIN_POOL_MAX as int but all other ints as string
> -------------------------------------------------------------------------------------
>
>                 Key: FC-142
>                 URL: https://issues.apache.org/jira/browse/FC-142
>             Project: FORTRESS
>          Issue Type: Bug
>            Reporter: Jan Sindberg
>            Priority: Trivial
>
> config.setProperty( GlobalIds.LDAP_ADMIN_POOL_MAX, Integer.valueOf( szValue ) ); 
> is perhaps ensuring that it is an int - or starts as one - it is not the perfect test for ints. It is however the only int where this is done.
> Config.getInt() works fine for all cases
> Config.getProperty() works for all other ints than this one.
> Except for being inconsistent, it probably doesn't have any impact.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)