- this.x = (new Float(str.substring(30, 38).trim()).floatValue());
- this.y = (new Float(str.substring(38, 46).trim()).floatValue());
- this.z = (new Float(str.substring(47, 55).trim()).floatValue());
+ this.x = (Float.valueOf(str.substring(30, 38).trim()).floatValue());
+ this.y = (Float.valueOf(str.substring(38, 46).trim()).floatValue());
+ this.z = (Float.valueOf(str.substring(47, 55).trim()).floatValue());