Main icon indicating copy to clipboard operation
Main copied to clipboard

Mystery bug

Open OriRoth opened this issue 8 years ago • 0 comments

@Override public String toString() {
    String rawTypeName;
	rawTypeName = rawType.toString();
	if (rawType instanceof Class) {
        Class clazz;
		clazz = (Class) rawType;
		rawTypeName = clazz.getName();
    }
    String s1;
	String s2;
	s2 = "ParameterizedTypeImpl{" + "actualTypeArguments=";
	String s3;
	s3 = Arrays.toString(actualTypeArguments);
	s1 = s2 + s3 + ", ownerType=" + ownerType + ", rawType=" + rawTypeName + '}';
	return s1;
}

Using Spartanize active window with the following code makes an error:

return s1 = "ParameterizedTypeImpl{actualTypeArguments="
                + Arrays.toString(actualTypeArguments) + ", ownerType="
		+ ownerType + ", rawType="
		+ (!(rawType instanceof Class) ? rawType.toString() : ((Class) rawType).getName()) + '}';

OriRoth avatar Jun 20 '17 19:06 OriRoth