mirror of
https://github.com/vaadin/framework.git
synced 2024-08-05 08:17:31 +02:00
15 lines
278 B
Bash
15 lines
278 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
. `dirname $0`/sed.sh
|
||
|
|
||
|
rootdir=`dirname $0`/..
|
||
|
|
||
|
for javaFile in `find $rootdir -name "*.java"`
|
||
|
do
|
||
|
# Remove whitespace from empty rows
|
||
|
$SED -i "s/^ [ ]*$//g" $javaFile
|
||
|
|
||
|
# Remove trailing whitespace in javadoc
|
||
|
$SED -i "s/^ \\([ ]*\\)\* $/\\1 \*/g" $javaFile
|
||
|
done
|