MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / close

Method close

java/src/org/openqa/selenium/json/JsonInput.java:125–136  ·  view source on GitHub ↗

{@inheritDoc} @throws UncheckedIOException if an I/O exception is encountered

()

Source from the content-addressed store, hash-verified

123 * @throws UncheckedIOException if an I/O exception is encountered
124 */
125 @Override
126 public void close() {
127 if (source == null) {
128 return;
129 }
130
131 try {
132 source.close();
133 } catch (IOException e) {
134 throw new UncheckedIOException(e);
135 }
136 }
137
138 /**
139 * Peek at the next input string character to determine the pending JSON element type.

Callers

nothing calls this directly

Calls 1

closeMethod · 0.65

Tested by

no test coverage detected