1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-14 11:03:09 +02:00

First char after docu asterisk is pruned

... with a blank after the asterisk the docu looks more beautifyfull.
This commit is contained in:
Marcus Holl 2019-01-29 17:25:14 +01:00
parent 8fb7c85e99
commit 50edac02ca

View File

@ -245,6 +245,7 @@ class Helper {
if(_line.startsWith('/**')) _line = _line.replaceAll('^\\/\\*\\*', '') // start comment
if(_line.startsWith('*/')) _line = _line.replaceAll('^\\*/', '') // end comment
if(_line.startsWith('*')) _line = _line.replaceAll('^\\*', '') // continue comment
if(_line.startsWith(' ')) _line = _line.replaceAll('^\\s', '')
if(_line ==~ /.*@possibleValues.*/) {
mandatory = false // should be something like reset attributes
value = true