mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-13 08:55:44 +01:00
improve creation of git repositories
This commit is contained in:
@@ -142,6 +142,21 @@ public class Util
|
||||
return formatDate(date, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method description
|
||||
*
|
||||
*
|
||||
* @param value
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public static String nonNull(String value)
|
||||
{
|
||||
return (value != null)
|
||||
? value
|
||||
: "";
|
||||
}
|
||||
|
||||
/**
|
||||
* Method description
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user