Allowing java folders in upstream-diff tool

Sometimes it's convenient to work with whole folders when using
the upstream-diff tool. Since most of the comparisons are with
java paths, the tool has been modified to pass the folders to the
diff tool when no extension is present.

Test: upstream-diff java/util/concurrent
Test: upstream-diff java.util.concurrent
Test: upstream-diff -r 9b113+,ojluni,11+28 java/util/concurrent
Test: upstream-diff java/util/concurrent/Future.java
Test: upstream-diff java.util.concurrent.Future
Test: upstream-diff java.util.concurrent.Future.java
Test: upstream-diff Float.c
Change-Id: Ia54cf184e0720d2d241f90d9fd3d153e36e2783c
1 file changed