From f864629e896acfd435e650edb2cd9bd302f4114a Mon Sep 17 00:00:00 2001 From: Callum Rogers Date: Wed, 4 Oct 2017 13:59:08 +0100 Subject: [PATCH] Fix checkstyle --- .../compose/connection/waiting/Exceptions.java | 15 +++++++++++++++ .../connection/waiting/ExceptionsShould.java | 17 ++++++++++++++++- 2 files changed, 31 insertions(+), 1 deletion(-) diff --git a/docker-compose-rule-core/src/main/java/com/palantir/docker/compose/connection/waiting/Exceptions.java b/docker-compose-rule-core/src/main/java/com/palantir/docker/compose/connection/waiting/Exceptions.java index 6ebd7650b..9a57e11fb 100644 --- a/docker-compose-rule-core/src/main/java/com/palantir/docker/compose/connection/waiting/Exceptions.java +++ b/docker-compose-rule-core/src/main/java/com/palantir/docker/compose/connection/waiting/Exceptions.java @@ -1,3 +1,18 @@ +/* + * Copyright 2016 Palantir Technologies, Inc. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.palantir.docker.compose.connection.waiting; import java.util.stream.Collectors; diff --git a/docker-compose-rule-core/src/test/java/com/palantir/docker/compose/connection/waiting/ExceptionsShould.java b/docker-compose-rule-core/src/test/java/com/palantir/docker/compose/connection/waiting/ExceptionsShould.java index c6820e1da..89fe51c3b 100644 --- a/docker-compose-rule-core/src/test/java/com/palantir/docker/compose/connection/waiting/ExceptionsShould.java +++ b/docker-compose-rule-core/src/test/java/com/palantir/docker/compose/connection/waiting/ExceptionsShould.java @@ -1,3 +1,18 @@ +/* + * Copyright 2016 Palantir Technologies, Inc. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package com.palantir.docker.compose.connection.waiting; import static org.hamcrest.MatcherAssert.assertThat; @@ -15,4 +30,4 @@ public void print_out_a_condensed_version_of_the_stacktrace() { + "java.lang.UnsupportedOperationException: baz" )); } -} \ No newline at end of file +}