KT-5287 J2K: Convert class with private constructor and static functions to "object" instead of class with "class object"
#KT-5287 Fixed
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
package test;
|
||||
|
||||
import java.lang.String;
|
||||
|
||||
public class Short {
|
||||
public static Short valueOf(String value) {return new Short();}
|
||||
public Short(String s){}
|
||||
public static Short valueOf(String value) {return new Short(value);}
|
||||
}
|
||||
|
||||
class Test {
|
||||
|
||||
Reference in New Issue
Block a user