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

Method Version

java/src/org/openqa/selenium/docker/Version.java:35–39  ·  view source on GitHub ↗
(String versionString)

Source from the content-addressed store, hash-verified

33 private final String[] segments;
34
35 public Version(String versionString) {
36 this.versionString = Require.nonNull("Version string", versionString);
37
38 this.segments = versionString.split("\\.");
39 }
40
41 public boolean equalTo(Version other) {
42 int max = Math.max(segments.length, other.segments.length);

Callers

nothing calls this directly

Calls 2

nonNullMethod · 0.95
splitMethod · 0.80

Tested by

no test coverage detected