[ 
https://jira.duraspace.org/browse/DS-1385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ivan Masár updated DS-1385:
---------------------------

    Reviewer: joaomelo

Hi João, could you please review this proposal?
                
> add method to getProperty as String with default value
> ------------------------------------------------------
>
>                 Key: DS-1385
>                 URL: https://jira.duraspace.org/browse/DS-1385
>             Project: DSpace
>          Issue Type: New Feature
>          Components: DSpace API
>            Reporter: Steve Swinsburg
>
> ConfigurationManager has the following getProperty methods
> static boolean        getBooleanProperty(String property) 
> static boolean        getBooleanProperty(String property, boolean 
> defaultValue) 
> static boolean        getBooleanProperty(String module, String property) 
> static boolean        getBooleanProperty(String module, String property, 
> boolean defaultValue) 
> static int    getIntProperty(String property) 
> static int    getIntProperty(String property, int defaultValue) 
> static int    getIntProperty(String module, String property) 
> static int    getIntProperty(String module, String property, int 
> defaultValue) 
> static long   getLongProperty(String property) 
> static long   getLongProperty(String property, int defaultValue) 
> static long   getLongProperty(String module, String property) 
> static long   getLongProperty(String module, String property, int 
> defaultValue) 
> but for Strings it only has:
> static String getProperty(String property) 
> static String getProperty(String module, String property) 
> that is, no method to get a property with a default value.
> For completeness, the following two should be added:
> static String getProperty(String property, int defaultValue) 
> static String getProperty(String module, String property, String 
> defaultValue) 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to