You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1234567891011121314 |
- #!/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
|