mirror of
https://github.com/vaadin/framework.git
synced 2024-09-07 21:32:03 +02:00
15 lines
278 B
Bash
Executable File
15 lines
278 B
Bash
Executable File
#!/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
|