remove extra parameter from _java_getprop, remove duplicate imports
diff --git a/Lib/platform.py b/Lib/platform.py
index 613967a..1d486db 100755
--- a/Lib/platform.py
+++ b/Lib/platform.py
@@ -585,7 +585,7 @@
                    0x2: 'PowerPC'}.get(sysa,'')
     return release,versioninfo,machine
 
-def _java_getprop(self,name,default):
+def _java_getprop(name,default):
 
     from java.lang import System
     try:
@@ -1079,7 +1079,7 @@
 
     """
     global _sys_version_cache
-    import sys, re, time
+    import time
 
     if _sys_version_cache is not None:
         return _sys_version_cache