mirror of
https://github.com/vaadin/framework.git
synced 2024-09-09 14:16:14 +02:00
7f80616bec
Change-Id: I938c57509bf6be34ee8a6f22edd7f8e0a43ee3bd
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
|