MCPcopy Create free account
hub / github.com/BaseXdb/basex / similar

Method similar

basex-core/src/main/java/org/basex/query/QueryError.java:1849–1851  ·  view source on GitHub ↗

Returns an info message for similar strings. @param string original string @param similar similar string (can be null) @return info message

(final Object string, final Object similar)

Source from the content-addressed store, hash-verified

1847 * @return info message
1848 */
1849 public static String similar(final Object string, final Object similar) {
1850 return similar == null ? Util.info(string) : Util.info("% (maybe: %)", string, similar);
1851 }
1852
1853 /**
1854 * Removes whitespace and chops the specified value to a maximum size.

Callers 5

annotationsMethod · 0.95
prepareArgsMethod · 0.95
similarMethod · 0.95
resolveMethod · 0.95
checkEncodingMethod · 0.95

Calls 1

infoMethod · 0.95

Tested by

no test coverage detected