MCPcopy Index your code
hub / github.com/VolmitSoftware/Adapt / delete

Method delete

src/main/java/com/volmit/adapt/util/SQLManager.java:67–76  ·  view source on GitHub ↗
(UUID uuid)

Source from the content-addressed store, hash-verified

65 }
66
67 public void delete(UUID uuid) {
68 J.a(() -> {
69 try {
70 connection.createStatement().executeUpdate(String.format(DELETE_QUERY, uuid.toString()));
71 } catch (SQLException e) {
72 Adapt.error("Failed to delete data from the SQL server!");
73 Adapt.error("\t" + e.getClass().getSimpleName() + (e.getMessage() != null ? ": " + e.getMessage() : ""));
74 }
75 });
76 }
77
78 public String fetchData(UUID uuid) {
79 try {

Callers

nothing calls this directly

Calls 4

aMethod · 0.95
errorMethod · 0.95
toStringMethod · 0.45
getMessageMethod · 0.45

Tested by

no test coverage detected