-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathconvert_v3_v2.sh
executable file
·12 lines (12 loc) · 1.22 KB
/
convert_v3_v2.sh
1
2
3
4
5
6
7
8
9
10
11
12
find . -name *.java -exec sed -i '' -e "s/2010-2021/2010-2020/g" {} \;
find . -name *.java -exec sed -i '' -e "s/org.openhab.core.thing./org.eclipse.smarthome.core.thing./g" {} \;
find . -name *.java -exec sed -i '' -e "s/org.openhab.core.i18n./org.eclipse.smarthome.core.i18n./g" {} \;
find . -name *.java -exec sed -i '' -e "s/org.openhab.core.library.unit./org.eclipse.smarthome.core.library.unit./g" {} \;
find . -name *.java -exec sed -i '' -e "s/org.openhab.core.library.types./org.eclipse.smarthome.core.library.types./g" {} \;
find . -name *.java -exec sed -i '' -e "s/org.openhab.core.types./org.eclipse.smarthome.core.types./g" {} \;
find . -name *.java -exec sed -i '' -e "s/org.openhab.core.net./org.eclipse.smarthome.core.net./g" {} \;
find . -name *.java -exec sed -i '' -e "s/org.openhab.core.config.discovery./org.eclipse.smarthome.config.discovery./g" {} \;
find . -name *.java -exec sed -i '' -e "s/org.openhab.core.io.net.http.HttpClientFactory/org.eclipse.smarthome.io.net.http.HttpClientFactory/g" {} \;
find . -name *.java -exec sed -i '' -e "s/org.openhab.core.library.unit.Units/org.openhab.core.library.unit.SmartHomeUnits/g" {} \;
find . -name *.java -exec sed -i '' -e "s/, Units./, SmartHomeUnits./g" {} \;
mvn spotless:apply