()
| 757 | } |
| 758 | |
| 759 | public static String getBuildString() { |
| 760 | String result = null; |
| 761 | String[] keys = new String[] { "Implementation-Title", |
| 762 | "Implementation-Version", "Implementation-Build", "Built-On", }; |
| 763 | Attributes attributes = getManifestAttributes(); |
| 764 | if (attributes != null) { |
| 765 | Object value; |
| 766 | for (String key : keys) { |
| 767 | value = attributes.getValue(key); |
| 768 | if (value != null) { |
| 769 | if (result == null) { |
| 770 | result = value.toString(); |
| 771 | } else { |
| 772 | result = result + ' ' + value.toString(); |
| 773 | } |
| 774 | } |
| 775 | } |
| 776 | } else { |
| 777 | result = "trsst client"; |
| 778 | } |
| 779 | return result; |
| 780 | } |
| 781 | |
| 782 | /** |
| 783 | * Most trsst nodes run with self-signed certificates, so by default we |
no test coverage detected