mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-15 16:44:36 +02:00
8066138: Trailing whitespace in title of javadoc: Overview (Java Platform SE 7 )
Trims whitespace of arguments in OptionOnly, OptionPair and OptionTrip. Reviewed-by: erikj
This commit is contained in:
parent
a78b9855a8
commit
f158033fda
1 changed files with 4 additions and 4 deletions
|
@ -231,17 +231,17 @@ endef
|
||||||
|
|
||||||
# Common echo of option
|
# Common echo of option
|
||||||
define OptionOnly # opt
|
define OptionOnly # opt
|
||||||
if [ "$1" != "" ] ; then \
|
if [ "$(strip $1)" != "" ] ; then \
|
||||||
$(PRINTF) "%s\n" "$1"; \
|
$(PRINTF) "%s\n" "$(strip $1)"; \
|
||||||
fi
|
fi
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define OptionPair # opt arg
|
define OptionPair # opt arg
|
||||||
$(PRINTF) "%s '%s'\n" "$1" '$2'
|
$(PRINTF) "%s '%s'\n" "$(strip $1)" '$(strip $2)'
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define OptionTrip # opt arg arg
|
define OptionTrip # opt arg arg
|
||||||
$(PRINTF) "%s '%s' '%s'\n" "$1" '$2' '$3'
|
$(PRINTF) "%s '%s' '%s'\n" "$(strip $1)" '$(strip $2)' '$(strip $3)'
|
||||||
endef
|
endef
|
||||||
|
|
||||||
# Core api bottom argument (with special sauce)
|
# Core api bottom argument (with special sauce)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue