File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
annotations/src/main/java/com/basistech/rosette/annotations
api/src/test/java/com/basistech/rosette/api Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 11/*
2- * Copyright 2017 Basis Technology Corp.
2+ * Copyright 2017-2022 Basis Technology Corp.
33*
44* Licensed under the Apache License, Version 2.0 (the "License");
55* you may not use this file except in compliance with the License.
2424@ Retention (RetentionPolicy .SOURCE )
2525@ Target (ElementType .TYPE )
2626public @interface JacksonMixin {
27- }
27+ }
Original file line number Diff line number Diff line change 11/*
2- * Copyright 2017 Basis Technology Corp.
2+ * Copyright 2017-2022 Basis Technology Corp.
33*
44* Licensed under the Apache License, Version 2.0 (the "License");
55* you may not use this file except in compliance with the License.
@@ -64,11 +64,12 @@ public class BasicTest extends AbstractTest {
6464 private MockServerClient mockServer ;
6565 private HttpRosetteAPI api ;
6666
67- private static int getFreePort () {
67+ public BasicTest () throws IOException {
68+ }
69+
70+ private static int getFreePort () throws IOException {
6871 try (ServerSocket socket = new ServerSocket (0 )) {
6972 serverPort = socket .getLocalPort ();
70- } catch (IOException e ) {
71- fail ("Failed to allocate a port" );
7273 }
7374 assertNotEquals (0 , serverPort );
7475 return serverPort ;
You can’t perform that action at this time.
0 commit comments