private void METHOD_1 ( java.lang.String fileName , java.lang.String content ) throws java.io.IOException { java.io.File VAR_1 = new java.io.File ( fileName ) ; <BUG> java.io.FileWriter writer = new java.io.FileWriter ( VAR_1 ) ;</BUG> writer.write ( content ) ; <BUG> writer . METHOD_2 ( ) ;</BUG> }
private void METHOD_1 ( java.lang.String fileName , java.lang.String content ) throws java.io.IOException { java.io.File VAR_1 = new java.io.File ( fileName ) ; try ( java.io.FileWriter writer = new java.io.FileWriter ( VAR_1 ) ) { writer.write ( content ) ; } } 
