#fixed code
                              public static JsonWriter of(BufferedSink sink) {
    return new JsonUtf8Writer(sink);
  }
#vulnerable code 
                              public static JsonWriter of(BufferedSink sink) {
    return new JsonUt8Writer(sink);
  } 
                            #location 2 
                            #vulnerability type RESOURCE_LEAK