Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent daced34 commit 04dd59cCopy full SHA for 04dd59c
java2python/config/default.py
@@ -209,7 +209,7 @@
209
(r'\.getClass\(\)', '.__class__'),
210
(r'\.getName\(\)', '.__name__'),
211
(r'\.getInterfaces\(\)', '.__bases__'),
212
- #(r'String\.valueOf\((.*?)\)', r'str(\1)'),
+ (r'String\.valueOf\((.*?)\)', r'str(\1)'),
213
#(r'(\s)(\S*?)(\.toString\(\))', r'\1str(\2)'),
214
]
215
test/String0.java
@@ -0,0 +1,9 @@
1
+class String0 {
2
+ static void test(String s) {
3
+ System.out.println(s);
4
+ }
5
+
6
+ public static void main(String[] args) {
7
+ test(String.valueOf(42));
8
9
+}
0 commit comments