find . -name "*.java" | xargs sed -i -e "s/import\ com\.google\.common\./import org.apache.hadoop.shaded.com.google.common./"
find . -name "*.java" | xargs sed -i -e "s/import\ static\ com\.google\.common\./import static org.apache.hadoop.shaded.com.google.common./"
git diff --ignore-space-change > 1.patch
Last active
April 19, 2017 01:34
-
-
Save oza/53231f37f5394471e73b071af999d353 to your computer and use it in GitHub Desktop.
how to replace imports of Guava
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment