THRIFT-482. java: build.xml does not specify a target version for compiled java classes

This patch updates the build file to target java 1.5.



git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@772373 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/java/build.xml b/lib/java/build.xml
index 0a7c894..90a8eaf 100644
--- a/lib/java/build.xml
+++ b/lib/java/build.xml
@@ -107,7 +107,7 @@
   </target>
 
   <target name="compile" depends="init,resolve">
-    <javac srcdir="${src}" destdir="${build}" source="1.5" debug="true" classpathref="compile.classpath" />
+    <javac srcdir="${src}" destdir="${build}" source="1.5" target="1.5" debug="true" classpathref="compile.classpath" />
   </target>
 
   <target name="javadoc" depends="init">