Revision 08bbdc46
Added by Andreas Müller about 6 years ago
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/facade/DerivedUnitFacade.java | ||
---|---|---|
2581 | 2581 |
* @param text text representation of distance |
2582 | 2582 |
* @return the formatted distance string |
2583 | 2583 |
*/ |
2584 |
private String distanceString(Number min, Number max, String text, String unit) {
|
|
2584 |
public static String distanceString(Number min, Number max, String text, String unit) {
|
|
2585 | 2585 |
if (StringUtils.isNotBlank(text)){ |
2586 | 2586 |
return text; |
2587 | 2587 |
}else{ |
Also available in: Unified diff
ref #7328 make distanceString method static and public