revertJava6.sh 245 B

12345
  1. #!/bin/sh
  2. find */src/{main,test}/java -type f -name '*.java' -print0 | xargs -0 sed -i \
  3. -e 's@/\*IFJAVA8_START@//IFJAVA8_START@' -e 's@IFJAVA8_END\*/@//IFJAVA8_END@' \
  4. -e 's@//IFJAVA6_START@/*IFJAVA6_START@' -e 's@//IFJAVA6_END@IFJAVA6_END*/@'