Skip to content

Commit

Permalink
End all files with new line
Browse files Browse the repository at this point in the history
Signed-off-by: Mitchell Gale <[email protected]>
  • Loading branch information
MitchellGale committed Jul 12, 2023
1 parent 91d65cc commit a933404
Show file tree
Hide file tree
Showing 38 changed files with 38 additions and 38 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -265,4 +265,4 @@ private static DefaultFunctionResolver subtract() {
private static DefaultFunctionResolver subtractFunction() {
return subtractBase(BuiltinFunctionName.SUBTRACTFUNCTION.getName());
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ public void logicalRelationWithDataSourceHasNoInput() {
assertEquals(0, relation.getChild().size());
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ public AssertionHelper shouldGenerateWatermark(long expected) {
return this;
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ void test() {
assertEquals(2000, window.getEndTime());
assertEquals(1999, window.maxTimestamp());
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ void testConstructWithIllegalArguments() {
() -> new SlidingWindowAssigner(1000, 0));
assertEquals("Slide size [0] must be positive number", error2.getMessage());
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ void testConstructWithIllegalWindowSize() {
() -> new TumblingWindowAssigner(-1));
assertEquals("Window size [-1] must be positive number", error.getMessage());
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ void shouldFireWindowBelowWatermark() {
assertEquals(TriggerResult.FIRE, trigger.trigger(new Window(500, 800)));
assertEquals(TriggerResult.FIRE, trigger.trigger(new Window(500, 1000)));
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@ public Boolean visitTableWrite(TableWriteOperator node, Object context) {
void testGetChild() {
assertEquals(Collections.singletonList(child), tableWrite.getChild());
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ public interface Encryptor {
*/
String decrypt(String encryptedText);

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ public String decrypt(String encryptedText) {
return new String(decryptedResult.getResult());
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ public ActionRequestValidationException validate() {
return null;
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ public CreateDataSourceActionResponse(StreamInput in) throws IOException {
public void writeTo(StreamOutput streamOutput) throws IOException {
streamOutput.writeString(result);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ public ActionRequestValidationException validate() {
}
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ public void writeTo(StreamOutput streamOutput) throws IOException {
streamOutput.writeString(result);
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ public ActionRequestValidationException validate() {
}
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ public void writeTo(StreamOutput streamOutput) throws IOException {
streamOutput.writeString(result);
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ public ActionRequestValidationException validate() {
return null;
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ public UpdateDataSourceActionResponse(StreamInput in) throws IOException {
public void writeTo(StreamOutput streamOutput) throws IOException {
streamOutput.writeString(result);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -250,4 +250,4 @@ private static boolean isClientError(Exception e) {
|| e instanceof IllegalArgumentException;
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@ public interface DataSourceMetadataStorage {
*/
void deleteDataSourceMetadata(String datasourceName);

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ protected void doExecute(Task task, CreateDataSourceActionRequest request,
}
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ protected void doExecute(Task task, DeleteDataSourceActionRequest request,
}
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,4 @@ protected Object buildJsonObject(DataSourceMetadata response) {
}.format(dataSourceMetadata);
return responseContent;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ protected void doExecute(Task task, UpdateDataSourceActionRequest request,
}
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ private static Runnable withCurrentContext(final Runnable task) {
task.run();
};
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,4 @@ public void testDecryptWithDifferentKey() {
encryptor2.decrypt(encrypted);
});
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,4 @@ public void testDoExecuteWithException() {
Assertions.assertEquals("Error",
exception.getMessage());
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,4 @@ public void testDoExecuteWithException() {
Assertions.assertEquals("Error",
exception.getMessage());
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -134,4 +134,4 @@ public void testDoExecuteWithException() {
Assertions.assertEquals("Error",
exception.getMessage());
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,4 @@ public void testDoExecuteWithException() {
Assertions.assertEquals("Error",
exception.getMessage());
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ public void testSchedule() {
Assert.assertTrue(isRun.get());
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -594,4 +594,4 @@ public void fieldWithSpacesInNameShouldPass() {
Assert.assertSame(TEXT, type.get());
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ public void testRetainWithUnexpandedObjectField() {
expected.sourceRef(new BytesArray("{\"a.attributes.hardware.correlate_id\": 10}"));
assertEquals(expected, row.data());
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,4 @@ private JSONObject readResponse(Response response) throws IOException {
}


}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ public interface QueryRangeFunctionResponseHandle {
* Return ExecutionEngine.Schema of the Prometheus response.
*/
ExecutionEngine.Schema schema();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,4 @@ public TableScanBuilder createScanBuilder() {
return null;
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -137,4 +137,4 @@ private Optional<NamedExpression> getSpanExpression(List<NamedExpression> namedE
}


}
}
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@ private static Optional<SpanExpression> getSpanExpression(



}
}

0 comments on commit a933404

Please sign in to comment.