Skip to content

add original forPattern method to preserve interface.

Codecov / codecov/patch succeeded May 1, 2024 in 1s

80.16% of diff hit (target 71.17%)

View this Pull Request on Codecov

80.16% of diff hit (target 71.17%)

Annotations

Check warning on line 93 in modules/lang-expression/src/main/java/org/opensearch/script/expression/DateObject.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

modules/lang-expression/src/main/java/org/opensearch/script/expression/DateObject.java#L93

Added line #L93 was not covered by tests

Check warning on line 95 in modules/lang-expression/src/main/java/org/opensearch/script/expression/DateObject.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

modules/lang-expression/src/main/java/org/opensearch/script/expression/DateObject.java#L95

Added line #L95 was not covered by tests

Check warning on line 97 in modules/lang-expression/src/main/java/org/opensearch/script/expression/DateObject.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

modules/lang-expression/src/main/java/org/opensearch/script/expression/DateObject.java#L97

Added line #L97 was not covered by tests

Check warning on line 99 in modules/lang-expression/src/main/java/org/opensearch/script/expression/DateObject.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

modules/lang-expression/src/main/java/org/opensearch/script/expression/DateObject.java#L99

Added line #L99 was not covered by tests

Check warning on line 101 in modules/lang-expression/src/main/java/org/opensearch/script/expression/DateObject.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

modules/lang-expression/src/main/java/org/opensearch/script/expression/DateObject.java#L101

Added line #L101 was not covered by tests

Check warning on line 103 in modules/lang-expression/src/main/java/org/opensearch/script/expression/DateObject.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

modules/lang-expression/src/main/java/org/opensearch/script/expression/DateObject.java#L103

Added line #L103 was not covered by tests

Check warning on line 105 in modules/lang-expression/src/main/java/org/opensearch/script/expression/DateObject.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

modules/lang-expression/src/main/java/org/opensearch/script/expression/DateObject.java#L105

Added line #L105 was not covered by tests

Check warning on line 107 in modules/lang-expression/src/main/java/org/opensearch/script/expression/DateObject.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

modules/lang-expression/src/main/java/org/opensearch/script/expression/DateObject.java#L107

Added line #L107 was not covered by tests

Check warning on line 109 in modules/lang-expression/src/main/java/org/opensearch/script/expression/DateObject.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

modules/lang-expression/src/main/java/org/opensearch/script/expression/DateObject.java#L109

Added line #L109 was not covered by tests

Check warning on line 111 in modules/lang-expression/src/main/java/org/opensearch/script/expression/DateObject.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

modules/lang-expression/src/main/java/org/opensearch/script/expression/DateObject.java#L111

Added line #L111 was not covered by tests

Check warning on line 113 in modules/lang-expression/src/main/java/org/opensearch/script/expression/DateObject.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

modules/lang-expression/src/main/java/org/opensearch/script/expression/DateObject.java#L113

Added line #L113 was not covered by tests

Check warning on line 115 in modules/lang-expression/src/main/java/org/opensearch/script/expression/DateObject.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

modules/lang-expression/src/main/java/org/opensearch/script/expression/DateObject.java#L115

Added line #L115 was not covered by tests

Check warning on line 117 in modules/lang-expression/src/main/java/org/opensearch/script/expression/DateObject.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

modules/lang-expression/src/main/java/org/opensearch/script/expression/DateObject.java#L117

Added line #L117 was not covered by tests

Check warning on line 119 in modules/lang-expression/src/main/java/org/opensearch/script/expression/DateObject.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

modules/lang-expression/src/main/java/org/opensearch/script/expression/DateObject.java#L119

Added line #L119 was not covered by tests

Check warning on line 123 in modules/lang-expression/src/main/java/org/opensearch/script/expression/DateObject.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

modules/lang-expression/src/main/java/org/opensearch/script/expression/DateObject.java#L123

Added line #L123 was not covered by tests

Check warning on line 126 in modules/lang-expression/src/main/java/org/opensearch/script/expression/DateObject.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

modules/lang-expression/src/main/java/org/opensearch/script/expression/DateObject.java#L126

Added line #L126 was not covered by tests

Check warning on line 130 in modules/lang-expression/src/main/java/org/opensearch/script/expression/DateObject.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

modules/lang-expression/src/main/java/org/opensearch/script/expression/DateObject.java#L130

Added line #L130 was not covered by tests

Check warning on line 133 in modules/lang-expression/src/main/java/org/opensearch/script/expression/DateObject.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

modules/lang-expression/src/main/java/org/opensearch/script/expression/DateObject.java#L133

Added line #L133 was not covered by tests

Check warning on line 135 in modules/lang-expression/src/main/java/org/opensearch/script/expression/DateObject.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

modules/lang-expression/src/main/java/org/opensearch/script/expression/DateObject.java#L135

Added line #L135 was not covered by tests

Check warning on line 137 in modules/lang-expression/src/main/java/org/opensearch/script/expression/DateObject.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

modules/lang-expression/src/main/java/org/opensearch/script/expression/DateObject.java#L137

Added line #L137 was not covered by tests

Check warning on line 148 in modules/lang-expression/src/main/java/org/opensearch/script/expression/DateObject.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

modules/lang-expression/src/main/java/org/opensearch/script/expression/DateObject.java#L148

Added line #L148 was not covered by tests

Check warning on line 150 in modules/lang-expression/src/main/java/org/opensearch/script/expression/DateObject.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

modules/lang-expression/src/main/java/org/opensearch/script/expression/DateObject.java#L150

Added line #L150 was not covered by tests

Check warning on line 152 in modules/lang-expression/src/main/java/org/opensearch/script/expression/DateObject.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

modules/lang-expression/src/main/java/org/opensearch/script/expression/DateObject.java#L152

Added line #L152 was not covered by tests

Check warning on line 154 in modules/lang-expression/src/main/java/org/opensearch/script/expression/DateObject.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

modules/lang-expression/src/main/java/org/opensearch/script/expression/DateObject.java#L154

Added line #L154 was not covered by tests

Check warning on line 156 in modules/lang-expression/src/main/java/org/opensearch/script/expression/DateObject.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

modules/lang-expression/src/main/java/org/opensearch/script/expression/DateObject.java#L156

Added line #L156 was not covered by tests