[pypy-svn] r46410 - pypy/dist/pypy/translator/jvm/src/pypy

antocuni at codespeak.net antocuni at codespeak.net
Fri Sep 7 20:28:15 CEST 2007


Author: antocuni
Date: Fri Sep  7 20:28:15 2007
New Revision: 46410

Modified:
   pypy/dist/pypy/translator/jvm/src/pypy/CustomDict.java
   pypy/dist/pypy/translator/jvm/src/pypy/PyPy.java
Log:
comment out some printlns



Modified: pypy/dist/pypy/translator/jvm/src/pypy/CustomDict.java
==============================================================================
--- pypy/dist/pypy/translator/jvm/src/pypy/CustomDict.java	(original)
+++ pypy/dist/pypy/translator/jvm/src/pypy/CustomDict.java	Fri Sep  7 20:28:15 2007
@@ -30,8 +30,8 @@
     public CustomDict(final Equals equals, final HashCode hashCode) {
         this.hashCode = hashCode;
         this.equals = equals;
-        System.err.println("Equals: "+equals.getClass());
-        System.err.println("HashCode: "+hashCode.getClass());
+        //System.err.println("Equals: "+equals.getClass());
+        //System.err.println("HashCode: "+hashCode.getClass());
     }
 
     public class Adapter<AK> {
@@ -142,4 +142,4 @@
         return this.backingMap.values();
     }
 
-}
\ No newline at end of file
+}

Modified: pypy/dist/pypy/translator/jvm/src/pypy/PyPy.java
==============================================================================
--- pypy/dist/pypy/translator/jvm/src/pypy/PyPy.java	(original)
+++ pypy/dist/pypy/translator/jvm/src/pypy/PyPy.java	Fri Sep  7 20:28:15 2007
@@ -571,8 +571,8 @@
             return -1;
 
         int res = haystack.indexOf(needle, start);
-        System.err.println("haystack="+haystack+" needle="+needle+" start="+start+
-                           " end="+end+" res="+res);
+        //System.err.println("haystack="+haystack+" needle="+needle+" start="+start+
+        //                   " end="+end+" res="+res);
         if (res + needle.length() > end) 
             return -1;
         return res;
@@ -580,8 +580,8 @@
 
     public static int ll_rfind(String haystack, String needle, int start, int end) {
         int res = haystack.lastIndexOf(needle, end-1);
-        System.err.println("haystack="+haystack+" needle="+needle+" start="+start+
-                           " end="+end+" res="+res);
+        //System.err.println("haystack="+haystack+" needle="+needle+" start="+start+
+        //                   " end="+end+" res="+res);
         if (res >= start) 
             return res;
         return -1;
@@ -616,8 +616,8 @@
 
     public static int ll_rfind_char(String haystack, char needle, int start, int end) {
         int res = haystack.lastIndexOf(needle, end-1);
-        System.err.println("haystack="+haystack+" needle="+needle+" start="+start+
-                           " end="+end+" res="+res);
+        //System.err.println("haystack="+haystack+" needle="+needle+" start="+start+
+        //                   " end="+end+" res="+res);
         if (res >= start) 
             return res;
         return -1;
@@ -802,6 +802,16 @@
         return text.length();
     }
 
+    public static ArrayList ll_os_envitems()
+    {
+        return new ArrayList();
+    }
+
+    public static String ll_os_getcwd()
+    {
+        return "/tmp";
+    }
+
     // ----------------------------------------------------------------------
     // Exceptions
     //
@@ -869,7 +879,7 @@
     }
 
     public static void _ll_resize_le(ArrayList self, int length) {
-        System.err.println("ll_resize_le: self.size()="+self.size()+" length="+length);
+        //System.err.println("ll_resize_le: self.size()="+self.size()+" length="+length);
         while (self.size() > length) {
             self.remove(self.size()-1);
         }


More information about the pypy-svn mailing list