diff --git a/LICENSE.txt b/LICENSE.txt index 1b869027..23af23a5 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,6 +1,6 @@ BSD License -Copyright (c) 2000-2015 www.hamcrest.org +Copyright (c) 2000-2022 www.hamcrest.org All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/build.gradle b/build.gradle index ae063fc6..59114ff0 100644 --- a/build.gradle +++ b/build.gradle @@ -1,4 +1,5 @@ apply plugin: 'signing' +apply plugin: 'checkstyle' apply plugin: 'osgi' apply plugin: 'maven-publish' @@ -21,10 +22,7 @@ subprojects { checkstyle { - project.ext.checkstyleVersion = '6.18' - //works with a JDK 7 version which is supposed to be supported although - //deprecated, see https://github.com/hamcrest/JavaHamcrest/pull/211 for - //the discussion about the support + project.ext.checkstyleVersion = '8.41' sourceSets = [ project.sourceSets.main, project.sourceSets.test ] ignoreFailures = false diff --git a/checkstyle.xml b/checkstyle.xml index c1dbabf3..c3556b0f 100644 --- a/checkstyle.xml +++ b/checkstyle.xml @@ -1,11 +1,19 @@ + "-//Puppy Crawl//DTD Check Configuration 1.3//EN" + "https://checkstyle.org/dtds/configuration_1_3.dtd"> + + + + + + diff --git a/hamcrest-core/src/main/java/org/hamcrest/core/deprecated/HamcrestCoreIsDeprecated.java b/hamcrest-core/src/main/java/org/hamcrest/core/deprecated/HamcrestCoreIsDeprecated.java index 19482c3d..3b51ef15 100644 --- a/hamcrest-core/src/main/java/org/hamcrest/core/deprecated/HamcrestCoreIsDeprecated.java +++ b/hamcrest-core/src/main/java/org/hamcrest/core/deprecated/HamcrestCoreIsDeprecated.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.core.deprecated; /** diff --git a/hamcrest-core/src/main/java/org/hamcrest/core/deprecated/package-info.java b/hamcrest-core/src/main/java/org/hamcrest/core/deprecated/package-info.java index 394ab821..b2789634 100644 --- a/hamcrest-core/src/main/java/org/hamcrest/core/deprecated/package-info.java +++ b/hamcrest-core/src/main/java/org/hamcrest/core/deprecated/package-info.java @@ -1,3 +1,10 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ + /** * All classes in hamcrest-core.jar have been migrated to * hamcrest.jar. Please use that dependency instead. diff --git a/hamcrest-integration/src/main/java/org/hamcrest/EasyMock2Matchers.java b/hamcrest-integration/src/main/java/org/hamcrest/EasyMock2Matchers.java index 936aa7d5..bf5e486e 100644 --- a/hamcrest-integration/src/main/java/org/hamcrest/EasyMock2Matchers.java +++ b/hamcrest-integration/src/main/java/org/hamcrest/EasyMock2Matchers.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest; import org.hamcrest.integration.EasyMock2Adapter; diff --git a/hamcrest-integration/src/main/java/org/hamcrest/JMock1Matchers.java b/hamcrest-integration/src/main/java/org/hamcrest/JMock1Matchers.java index 6aac6f87..73b847c8 100644 --- a/hamcrest-integration/src/main/java/org/hamcrest/JMock1Matchers.java +++ b/hamcrest-integration/src/main/java/org/hamcrest/JMock1Matchers.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest; import org.hamcrest.integration.JMock1Adapter; diff --git a/hamcrest-integration/src/main/java/org/hamcrest/JavaLangMatcherAssert.java b/hamcrest-integration/src/main/java/org/hamcrest/JavaLangMatcherAssert.java index 6cc97e81..d9bd35e9 100644 --- a/hamcrest-integration/src/main/java/org/hamcrest/JavaLangMatcherAssert.java +++ b/hamcrest-integration/src/main/java/org/hamcrest/JavaLangMatcherAssert.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest; /** diff --git a/hamcrest-integration/src/main/java/org/hamcrest/integration/EasyMock2Adapter.java b/hamcrest-integration/src/main/java/org/hamcrest/integration/EasyMock2Adapter.java index 09ab0f7d..567be235 100644 --- a/hamcrest-integration/src/main/java/org/hamcrest/integration/EasyMock2Adapter.java +++ b/hamcrest-integration/src/main/java/org/hamcrest/integration/EasyMock2Adapter.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.integration; import org.easymock.IArgumentMatcher; diff --git a/hamcrest-integration/src/main/java/org/hamcrest/integration/JMock1Adapter.java b/hamcrest-integration/src/main/java/org/hamcrest/integration/JMock1Adapter.java index fa2021ce..7bad6465 100644 --- a/hamcrest-integration/src/main/java/org/hamcrest/integration/JMock1Adapter.java +++ b/hamcrest-integration/src/main/java/org/hamcrest/integration/JMock1Adapter.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.integration; import org.jmock.core.Constraint; diff --git a/hamcrest-library/src/main/java/org/hamcrest/library/deprecated/HamcrestLibraryIsDeprecated.java b/hamcrest-library/src/main/java/org/hamcrest/library/deprecated/HamcrestLibraryIsDeprecated.java index b7ec20c3..f286892b 100644 --- a/hamcrest-library/src/main/java/org/hamcrest/library/deprecated/HamcrestLibraryIsDeprecated.java +++ b/hamcrest-library/src/main/java/org/hamcrest/library/deprecated/HamcrestLibraryIsDeprecated.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.library.deprecated; /** diff --git a/hamcrest-library/src/main/java/org/hamcrest/library/deprecated/package-info.java b/hamcrest-library/src/main/java/org/hamcrest/library/deprecated/package-info.java index c98f5aff..3447ad37 100644 --- a/hamcrest-library/src/main/java/org/hamcrest/library/deprecated/package-info.java +++ b/hamcrest-library/src/main/java/org/hamcrest/library/deprecated/package-info.java @@ -1,3 +1,10 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ + /** * All classes in hamcrest-library.jar have been migrated to * hamcrest.jar. Please use that dependency instead. diff --git a/hamcrest/src/main/java/org/hamcrest/BaseDescription.java b/hamcrest/src/main/java/org/hamcrest/BaseDescription.java index d0c8fc41..a679b329 100644 --- a/hamcrest/src/main/java/org/hamcrest/BaseDescription.java +++ b/hamcrest/src/main/java/org/hamcrest/BaseDescription.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest; import org.hamcrest.internal.ArrayIterator; diff --git a/hamcrest/src/main/java/org/hamcrest/BaseMatcher.java b/hamcrest/src/main/java/org/hamcrest/BaseMatcher.java index aaa6e957..5198890a 100644 --- a/hamcrest/src/main/java/org/hamcrest/BaseMatcher.java +++ b/hamcrest/src/main/java/org/hamcrest/BaseMatcher.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest; /** diff --git a/hamcrest/src/main/java/org/hamcrest/Condition.java b/hamcrest/src/main/java/org/hamcrest/Condition.java index 02ce09e6..81eacccc 100644 --- a/hamcrest/src/main/java/org/hamcrest/Condition.java +++ b/hamcrest/src/main/java/org/hamcrest/Condition.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest; /** diff --git a/hamcrest/src/main/java/org/hamcrest/CoreMatchers.java b/hamcrest/src/main/java/org/hamcrest/CoreMatchers.java index 5e4e40fd..9862cc61 100644 --- a/hamcrest/src/main/java/org/hamcrest/CoreMatchers.java +++ b/hamcrest/src/main/java/org/hamcrest/CoreMatchers.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest; import org.hamcrest.core.IsIterableContaining; diff --git a/hamcrest/src/main/java/org/hamcrest/CustomMatcher.java b/hamcrest/src/main/java/org/hamcrest/CustomMatcher.java index 036a7640..e98a2dd1 100644 --- a/hamcrest/src/main/java/org/hamcrest/CustomMatcher.java +++ b/hamcrest/src/main/java/org/hamcrest/CustomMatcher.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest; /** diff --git a/hamcrest/src/main/java/org/hamcrest/CustomTypeSafeMatcher.java b/hamcrest/src/main/java/org/hamcrest/CustomTypeSafeMatcher.java index 22c2b357..e165109c 100644 --- a/hamcrest/src/main/java/org/hamcrest/CustomTypeSafeMatcher.java +++ b/hamcrest/src/main/java/org/hamcrest/CustomTypeSafeMatcher.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest; diff --git a/hamcrest/src/main/java/org/hamcrest/Description.java b/hamcrest/src/main/java/org/hamcrest/Description.java index 73bfa385..59b25cf4 100644 --- a/hamcrest/src/main/java/org/hamcrest/Description.java +++ b/hamcrest/src/main/java/org/hamcrest/Description.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest; /** diff --git a/hamcrest/src/main/java/org/hamcrest/DiagnosingMatcher.java b/hamcrest/src/main/java/org/hamcrest/DiagnosingMatcher.java index f87de2df..b786f4bc 100644 --- a/hamcrest/src/main/java/org/hamcrest/DiagnosingMatcher.java +++ b/hamcrest/src/main/java/org/hamcrest/DiagnosingMatcher.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest; /** diff --git a/hamcrest/src/main/java/org/hamcrest/FeatureMatcher.java b/hamcrest/src/main/java/org/hamcrest/FeatureMatcher.java index 385cf999..ed894ced 100644 --- a/hamcrest/src/main/java/org/hamcrest/FeatureMatcher.java +++ b/hamcrest/src/main/java/org/hamcrest/FeatureMatcher.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest; import org.hamcrest.internal.ReflectiveTypeFinder; diff --git a/hamcrest/src/main/java/org/hamcrest/Matcher.java b/hamcrest/src/main/java/org/hamcrest/Matcher.java index 77e09d5b..70a2ff5b 100644 --- a/hamcrest/src/main/java/org/hamcrest/Matcher.java +++ b/hamcrest/src/main/java/org/hamcrest/Matcher.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest; /** diff --git a/hamcrest/src/main/java/org/hamcrest/MatcherAssert.java b/hamcrest/src/main/java/org/hamcrest/MatcherAssert.java index bc001ebb..b5630b3b 100644 --- a/hamcrest/src/main/java/org/hamcrest/MatcherAssert.java +++ b/hamcrest/src/main/java/org/hamcrest/MatcherAssert.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest; diff --git a/hamcrest/src/main/java/org/hamcrest/Matchers.java b/hamcrest/src/main/java/org/hamcrest/Matchers.java index d4f543ea..77589365 100644 --- a/hamcrest/src/main/java/org/hamcrest/Matchers.java +++ b/hamcrest/src/main/java/org/hamcrest/Matchers.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest; import org.hamcrest.collection.ArrayMatching; diff --git a/hamcrest/src/main/java/org/hamcrest/SelfDescribing.java b/hamcrest/src/main/java/org/hamcrest/SelfDescribing.java index 06b361d2..cf9c37eb 100644 --- a/hamcrest/src/main/java/org/hamcrest/SelfDescribing.java +++ b/hamcrest/src/main/java/org/hamcrest/SelfDescribing.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest; /** @@ -13,4 +19,4 @@ public interface SelfDescribing { * The description to be built or appended to. */ void describeTo(Description description); -} \ No newline at end of file +} diff --git a/hamcrest/src/main/java/org/hamcrest/StringDescription.java b/hamcrest/src/main/java/org/hamcrest/StringDescription.java index 813c1782..883aa98e 100644 --- a/hamcrest/src/main/java/org/hamcrest/StringDescription.java +++ b/hamcrest/src/main/java/org/hamcrest/StringDescription.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest; import java.io.IOException; diff --git a/hamcrest/src/main/java/org/hamcrest/TypeSafeDiagnosingMatcher.java b/hamcrest/src/main/java/org/hamcrest/TypeSafeDiagnosingMatcher.java index 03efa9db..9a903795 100644 --- a/hamcrest/src/main/java/org/hamcrest/TypeSafeDiagnosingMatcher.java +++ b/hamcrest/src/main/java/org/hamcrest/TypeSafeDiagnosingMatcher.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest; import org.hamcrest.internal.ReflectiveTypeFinder; diff --git a/hamcrest/src/main/java/org/hamcrest/TypeSafeMatcher.java b/hamcrest/src/main/java/org/hamcrest/TypeSafeMatcher.java index 08dfce8b..4b08f21e 100644 --- a/hamcrest/src/main/java/org/hamcrest/TypeSafeMatcher.java +++ b/hamcrest/src/main/java/org/hamcrest/TypeSafeMatcher.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest; import org.hamcrest.internal.ReflectiveTypeFinder; diff --git a/hamcrest/src/main/java/org/hamcrest/beans/HasProperty.java b/hamcrest/src/main/java/org/hamcrest/beans/HasProperty.java index 320a49ef..b9d28c33 100644 --- a/hamcrest/src/main/java/org/hamcrest/beans/HasProperty.java +++ b/hamcrest/src/main/java/org/hamcrest/beans/HasProperty.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.beans; import org.hamcrest.Description; diff --git a/hamcrest/src/main/java/org/hamcrest/beans/HasPropertyWithValue.java b/hamcrest/src/main/java/org/hamcrest/beans/HasPropertyWithValue.java index 29b299b8..7cd15c01 100644 --- a/hamcrest/src/main/java/org/hamcrest/beans/HasPropertyWithValue.java +++ b/hamcrest/src/main/java/org/hamcrest/beans/HasPropertyWithValue.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.beans; import org.hamcrest.Condition; diff --git a/hamcrest/src/main/java/org/hamcrest/beans/PropertyUtil.java b/hamcrest/src/main/java/org/hamcrest/beans/PropertyUtil.java index 946c4f84..a2f97639 100644 --- a/hamcrest/src/main/java/org/hamcrest/beans/PropertyUtil.java +++ b/hamcrest/src/main/java/org/hamcrest/beans/PropertyUtil.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.beans; import java.beans.IntrospectionException; diff --git a/hamcrest/src/main/java/org/hamcrest/beans/SamePropertyValuesAs.java b/hamcrest/src/main/java/org/hamcrest/beans/SamePropertyValuesAs.java index 4799aeaa..3e3efea1 100644 --- a/hamcrest/src/main/java/org/hamcrest/beans/SamePropertyValuesAs.java +++ b/hamcrest/src/main/java/org/hamcrest/beans/SamePropertyValuesAs.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.beans; import org.hamcrest.Description; diff --git a/hamcrest/src/main/java/org/hamcrest/collection/ArrayAsIterableMatcher.java b/hamcrest/src/main/java/org/hamcrest/collection/ArrayAsIterableMatcher.java index a841a2c9..3fe7fbb2 100644 --- a/hamcrest/src/main/java/org/hamcrest/collection/ArrayAsIterableMatcher.java +++ b/hamcrest/src/main/java/org/hamcrest/collection/ArrayAsIterableMatcher.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.collection; import org.hamcrest.Description; diff --git a/hamcrest/src/main/java/org/hamcrest/collection/ArrayMatching.java b/hamcrest/src/main/java/org/hamcrest/collection/ArrayMatching.java index fc968e0b..fb7c13c4 100644 --- a/hamcrest/src/main/java/org/hamcrest/collection/ArrayMatching.java +++ b/hamcrest/src/main/java/org/hamcrest/collection/ArrayMatching.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.collection; import org.hamcrest.Matcher; diff --git a/hamcrest/src/main/java/org/hamcrest/collection/HasItemInArray.java b/hamcrest/src/main/java/org/hamcrest/collection/HasItemInArray.java index 5c0513c1..5b2c55c2 100644 --- a/hamcrest/src/main/java/org/hamcrest/collection/HasItemInArray.java +++ b/hamcrest/src/main/java/org/hamcrest/collection/HasItemInArray.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.collection; import org.hamcrest.Description; diff --git a/hamcrest/src/main/java/org/hamcrest/collection/IsArray.java b/hamcrest/src/main/java/org/hamcrest/collection/IsArray.java index 38f5d915..ba1436ff 100644 --- a/hamcrest/src/main/java/org/hamcrest/collection/IsArray.java +++ b/hamcrest/src/main/java/org/hamcrest/collection/IsArray.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.collection; import org.hamcrest.Description; diff --git a/hamcrest/src/main/java/org/hamcrest/collection/IsArrayContainingInAnyOrder.java b/hamcrest/src/main/java/org/hamcrest/collection/IsArrayContainingInAnyOrder.java index 7e72a622..60bd4f9e 100644 --- a/hamcrest/src/main/java/org/hamcrest/collection/IsArrayContainingInAnyOrder.java +++ b/hamcrest/src/main/java/org/hamcrest/collection/IsArrayContainingInAnyOrder.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.collection; import org.hamcrest.Description; diff --git a/hamcrest/src/main/java/org/hamcrest/collection/IsArrayContainingInOrder.java b/hamcrest/src/main/java/org/hamcrest/collection/IsArrayContainingInOrder.java index c046914f..462973a4 100644 --- a/hamcrest/src/main/java/org/hamcrest/collection/IsArrayContainingInOrder.java +++ b/hamcrest/src/main/java/org/hamcrest/collection/IsArrayContainingInOrder.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.collection; import org.hamcrest.Description; diff --git a/hamcrest/src/main/java/org/hamcrest/collection/IsArrayWithSize.java b/hamcrest/src/main/java/org/hamcrest/collection/IsArrayWithSize.java index 4ae7235e..5ff6a4ab 100644 --- a/hamcrest/src/main/java/org/hamcrest/collection/IsArrayWithSize.java +++ b/hamcrest/src/main/java/org/hamcrest/collection/IsArrayWithSize.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.collection; import org.hamcrest.FeatureMatcher; diff --git a/hamcrest/src/main/java/org/hamcrest/collection/IsCollectionWithSize.java b/hamcrest/src/main/java/org/hamcrest/collection/IsCollectionWithSize.java index f79afdc6..29f09ea5 100644 --- a/hamcrest/src/main/java/org/hamcrest/collection/IsCollectionWithSize.java +++ b/hamcrest/src/main/java/org/hamcrest/collection/IsCollectionWithSize.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.collection; import org.hamcrest.FeatureMatcher; diff --git a/hamcrest/src/main/java/org/hamcrest/collection/IsEmptyCollection.java b/hamcrest/src/main/java/org/hamcrest/collection/IsEmptyCollection.java index 481b08c3..3f3eb3e4 100644 --- a/hamcrest/src/main/java/org/hamcrest/collection/IsEmptyCollection.java +++ b/hamcrest/src/main/java/org/hamcrest/collection/IsEmptyCollection.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.collection; import org.hamcrest.Description; diff --git a/hamcrest/src/main/java/org/hamcrest/collection/IsEmptyIterable.java b/hamcrest/src/main/java/org/hamcrest/collection/IsEmptyIterable.java index 047e670c..10116543 100644 --- a/hamcrest/src/main/java/org/hamcrest/collection/IsEmptyIterable.java +++ b/hamcrest/src/main/java/org/hamcrest/collection/IsEmptyIterable.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.collection; import org.hamcrest.Description; diff --git a/hamcrest/src/main/java/org/hamcrest/collection/IsIn.java b/hamcrest/src/main/java/org/hamcrest/collection/IsIn.java index 84098110..d2b276f4 100644 --- a/hamcrest/src/main/java/org/hamcrest/collection/IsIn.java +++ b/hamcrest/src/main/java/org/hamcrest/collection/IsIn.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.collection; import org.hamcrest.BaseMatcher; diff --git a/hamcrest/src/main/java/org/hamcrest/collection/IsIterableContainingInAnyOrder.java b/hamcrest/src/main/java/org/hamcrest/collection/IsIterableContainingInAnyOrder.java index d6a9a33d..92d96b90 100644 --- a/hamcrest/src/main/java/org/hamcrest/collection/IsIterableContainingInAnyOrder.java +++ b/hamcrest/src/main/java/org/hamcrest/collection/IsIterableContainingInAnyOrder.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.collection; import org.hamcrest.Description; diff --git a/hamcrest/src/main/java/org/hamcrest/collection/IsIterableContainingInOrder.java b/hamcrest/src/main/java/org/hamcrest/collection/IsIterableContainingInOrder.java index ed62aa29..168bed56 100644 --- a/hamcrest/src/main/java/org/hamcrest/collection/IsIterableContainingInOrder.java +++ b/hamcrest/src/main/java/org/hamcrest/collection/IsIterableContainingInOrder.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.collection; import org.hamcrest.Description; diff --git a/hamcrest/src/main/java/org/hamcrest/collection/IsIterableContainingInRelativeOrder.java b/hamcrest/src/main/java/org/hamcrest/collection/IsIterableContainingInRelativeOrder.java index 06577685..dff72428 100644 --- a/hamcrest/src/main/java/org/hamcrest/collection/IsIterableContainingInRelativeOrder.java +++ b/hamcrest/src/main/java/org/hamcrest/collection/IsIterableContainingInRelativeOrder.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.collection; import org.hamcrest.Description; diff --git a/hamcrest/src/main/java/org/hamcrest/collection/IsIterableWithSize.java b/hamcrest/src/main/java/org/hamcrest/collection/IsIterableWithSize.java index 0a1535fe..1f46638c 100644 --- a/hamcrest/src/main/java/org/hamcrest/collection/IsIterableWithSize.java +++ b/hamcrest/src/main/java/org/hamcrest/collection/IsIterableWithSize.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.collection; import org.hamcrest.FeatureMatcher; diff --git a/hamcrest/src/main/java/org/hamcrest/collection/IsMapContaining.java b/hamcrest/src/main/java/org/hamcrest/collection/IsMapContaining.java index 4ed45392..32543cfe 100644 --- a/hamcrest/src/main/java/org/hamcrest/collection/IsMapContaining.java +++ b/hamcrest/src/main/java/org/hamcrest/collection/IsMapContaining.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.collection; import org.hamcrest.Description; diff --git a/hamcrest/src/main/java/org/hamcrest/collection/IsMapWithSize.java b/hamcrest/src/main/java/org/hamcrest/collection/IsMapWithSize.java index 966d9ca2..2bc43411 100644 --- a/hamcrest/src/main/java/org/hamcrest/collection/IsMapWithSize.java +++ b/hamcrest/src/main/java/org/hamcrest/collection/IsMapWithSize.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.collection; import org.hamcrest.FeatureMatcher; diff --git a/hamcrest/src/main/java/org/hamcrest/comparator/ComparatorMatcherBuilder.java b/hamcrest/src/main/java/org/hamcrest/comparator/ComparatorMatcherBuilder.java index cf522113..a5fb5b82 100644 --- a/hamcrest/src/main/java/org/hamcrest/comparator/ComparatorMatcherBuilder.java +++ b/hamcrest/src/main/java/org/hamcrest/comparator/ComparatorMatcherBuilder.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.comparator; import org.hamcrest.Description; diff --git a/hamcrest/src/main/java/org/hamcrest/core/AllOf.java b/hamcrest/src/main/java/org/hamcrest/core/AllOf.java index b8c3faad..083ed4a8 100644 --- a/hamcrest/src/main/java/org/hamcrest/core/AllOf.java +++ b/hamcrest/src/main/java/org/hamcrest/core/AllOf.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.core; import org.hamcrest.Description; diff --git a/hamcrest/src/main/java/org/hamcrest/core/AnyOf.java b/hamcrest/src/main/java/org/hamcrest/core/AnyOf.java index 7a22c22e..fa4039dd 100644 --- a/hamcrest/src/main/java/org/hamcrest/core/AnyOf.java +++ b/hamcrest/src/main/java/org/hamcrest/core/AnyOf.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.core; import org.hamcrest.Description; diff --git a/hamcrest/src/main/java/org/hamcrest/core/CombinableMatcher.java b/hamcrest/src/main/java/org/hamcrest/core/CombinableMatcher.java index e37efce6..ac20e252 100644 --- a/hamcrest/src/main/java/org/hamcrest/core/CombinableMatcher.java +++ b/hamcrest/src/main/java/org/hamcrest/core/CombinableMatcher.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.core; import org.hamcrest.Description; diff --git a/hamcrest/src/main/java/org/hamcrest/core/DescribedAs.java b/hamcrest/src/main/java/org/hamcrest/core/DescribedAs.java index 23876095..695c5991 100644 --- a/hamcrest/src/main/java/org/hamcrest/core/DescribedAs.java +++ b/hamcrest/src/main/java/org/hamcrest/core/DescribedAs.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.core; import org.hamcrest.BaseMatcher; diff --git a/hamcrest/src/main/java/org/hamcrest/core/Every.java b/hamcrest/src/main/java/org/hamcrest/core/Every.java index 988758b1..0bebdb02 100644 --- a/hamcrest/src/main/java/org/hamcrest/core/Every.java +++ b/hamcrest/src/main/java/org/hamcrest/core/Every.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.core; import org.hamcrest.Description; diff --git a/hamcrest/src/main/java/org/hamcrest/core/Is.java b/hamcrest/src/main/java/org/hamcrest/core/Is.java index 5264e89d..7986beff 100644 --- a/hamcrest/src/main/java/org/hamcrest/core/Is.java +++ b/hamcrest/src/main/java/org/hamcrest/core/Is.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.core; import org.hamcrest.BaseMatcher; diff --git a/hamcrest/src/main/java/org/hamcrest/core/IsAnything.java b/hamcrest/src/main/java/org/hamcrest/core/IsAnything.java index 94943dc0..348a0713 100644 --- a/hamcrest/src/main/java/org/hamcrest/core/IsAnything.java +++ b/hamcrest/src/main/java/org/hamcrest/core/IsAnything.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.core; import org.hamcrest.BaseMatcher; diff --git a/hamcrest/src/main/java/org/hamcrest/core/IsCollectionContaining.java b/hamcrest/src/main/java/org/hamcrest/core/IsCollectionContaining.java index b54b6aa9..8c1d476b 100644 --- a/hamcrest/src/main/java/org/hamcrest/core/IsCollectionContaining.java +++ b/hamcrest/src/main/java/org/hamcrest/core/IsCollectionContaining.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.core; import org.hamcrest.Description; diff --git a/hamcrest/src/main/java/org/hamcrest/core/IsEqual.java b/hamcrest/src/main/java/org/hamcrest/core/IsEqual.java index 582c630f..22a7bdaa 100644 --- a/hamcrest/src/main/java/org/hamcrest/core/IsEqual.java +++ b/hamcrest/src/main/java/org/hamcrest/core/IsEqual.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.core; import org.hamcrest.BaseMatcher; diff --git a/hamcrest/src/main/java/org/hamcrest/core/IsInstanceOf.java b/hamcrest/src/main/java/org/hamcrest/core/IsInstanceOf.java index 5a508c9b..6dcae515 100644 --- a/hamcrest/src/main/java/org/hamcrest/core/IsInstanceOf.java +++ b/hamcrest/src/main/java/org/hamcrest/core/IsInstanceOf.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.core; import org.hamcrest.Description; diff --git a/hamcrest/src/main/java/org/hamcrest/core/IsIterableContaining.java b/hamcrest/src/main/java/org/hamcrest/core/IsIterableContaining.java index 67e776b0..99fdeb95 100644 --- a/hamcrest/src/main/java/org/hamcrest/core/IsIterableContaining.java +++ b/hamcrest/src/main/java/org/hamcrest/core/IsIterableContaining.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.core; import org.hamcrest.Description; diff --git a/hamcrest/src/main/java/org/hamcrest/core/IsNot.java b/hamcrest/src/main/java/org/hamcrest/core/IsNot.java index d5cf9c06..3d05ec00 100644 --- a/hamcrest/src/main/java/org/hamcrest/core/IsNot.java +++ b/hamcrest/src/main/java/org/hamcrest/core/IsNot.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.core; import org.hamcrest.BaseMatcher; diff --git a/hamcrest/src/main/java/org/hamcrest/core/IsNull.java b/hamcrest/src/main/java/org/hamcrest/core/IsNull.java index 9ebf080f..48786b6a 100644 --- a/hamcrest/src/main/java/org/hamcrest/core/IsNull.java +++ b/hamcrest/src/main/java/org/hamcrest/core/IsNull.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.core; import org.hamcrest.BaseMatcher; diff --git a/hamcrest/src/main/java/org/hamcrest/core/IsSame.java b/hamcrest/src/main/java/org/hamcrest/core/IsSame.java index cbc3971b..cf6e13a7 100644 --- a/hamcrest/src/main/java/org/hamcrest/core/IsSame.java +++ b/hamcrest/src/main/java/org/hamcrest/core/IsSame.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.core; import org.hamcrest.BaseMatcher; diff --git a/hamcrest/src/main/java/org/hamcrest/core/ShortcutCombination.java b/hamcrest/src/main/java/org/hamcrest/core/ShortcutCombination.java index 30b33af5..9db70d53 100644 --- a/hamcrest/src/main/java/org/hamcrest/core/ShortcutCombination.java +++ b/hamcrest/src/main/java/org/hamcrest/core/ShortcutCombination.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.core; import org.hamcrest.BaseMatcher; diff --git a/hamcrest/src/main/java/org/hamcrest/core/StringContains.java b/hamcrest/src/main/java/org/hamcrest/core/StringContains.java index 050fd159..ae9474f7 100644 --- a/hamcrest/src/main/java/org/hamcrest/core/StringContains.java +++ b/hamcrest/src/main/java/org/hamcrest/core/StringContains.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.core; import org.hamcrest.Matcher; diff --git a/hamcrest/src/main/java/org/hamcrest/core/StringEndsWith.java b/hamcrest/src/main/java/org/hamcrest/core/StringEndsWith.java index 48ffd923..087892cc 100644 --- a/hamcrest/src/main/java/org/hamcrest/core/StringEndsWith.java +++ b/hamcrest/src/main/java/org/hamcrest/core/StringEndsWith.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.core; import org.hamcrest.Matcher; diff --git a/hamcrest/src/main/java/org/hamcrest/core/StringRegularExpression.java b/hamcrest/src/main/java/org/hamcrest/core/StringRegularExpression.java index b893ff0e..4d327236 100644 --- a/hamcrest/src/main/java/org/hamcrest/core/StringRegularExpression.java +++ b/hamcrest/src/main/java/org/hamcrest/core/StringRegularExpression.java @@ -1,5 +1,8 @@ /** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. */ package org.hamcrest.core; diff --git a/hamcrest/src/main/java/org/hamcrest/core/StringStartsWith.java b/hamcrest/src/main/java/org/hamcrest/core/StringStartsWith.java index fa49b793..4c769793 100644 --- a/hamcrest/src/main/java/org/hamcrest/core/StringStartsWith.java +++ b/hamcrest/src/main/java/org/hamcrest/core/StringStartsWith.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.core; import org.hamcrest.Matcher; diff --git a/hamcrest/src/main/java/org/hamcrest/core/SubstringMatcher.java b/hamcrest/src/main/java/org/hamcrest/core/SubstringMatcher.java index f2b7cff0..a5321e47 100644 --- a/hamcrest/src/main/java/org/hamcrest/core/SubstringMatcher.java +++ b/hamcrest/src/main/java/org/hamcrest/core/SubstringMatcher.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.core; import org.hamcrest.Description; diff --git a/hamcrest/src/main/java/org/hamcrest/internal/ArrayIterator.java b/hamcrest/src/main/java/org/hamcrest/internal/ArrayIterator.java index 03e4c43e..8d2ed871 100644 --- a/hamcrest/src/main/java/org/hamcrest/internal/ArrayIterator.java +++ b/hamcrest/src/main/java/org/hamcrest/internal/ArrayIterator.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.internal; import java.lang.reflect.Array; diff --git a/hamcrest/src/main/java/org/hamcrest/internal/NullSafety.java b/hamcrest/src/main/java/org/hamcrest/internal/NullSafety.java index 9310abfc..f80395d2 100644 --- a/hamcrest/src/main/java/org/hamcrest/internal/NullSafety.java +++ b/hamcrest/src/main/java/org/hamcrest/internal/NullSafety.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.internal; import org.hamcrest.Matcher; diff --git a/hamcrest/src/main/java/org/hamcrest/internal/ReflectiveTypeFinder.java b/hamcrest/src/main/java/org/hamcrest/internal/ReflectiveTypeFinder.java index b06df48c..02a7f05e 100644 --- a/hamcrest/src/main/java/org/hamcrest/internal/ReflectiveTypeFinder.java +++ b/hamcrest/src/main/java/org/hamcrest/internal/ReflectiveTypeFinder.java @@ -1,3 +1,13 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ +package org.hamcrest.internal; + +import java.lang.reflect.Method; + /** * The TypeSafe classes, and their descendants, need a mechanism to find out what type has been used as a parameter * for the concrete matcher. Unfortunately, this type is lost during type erasure so we need to use reflection @@ -23,10 +33,6 @@ * @author Steve Freeman * @author Nat Pryce */ -package org.hamcrest.internal; - -import java.lang.reflect.Method; - public class ReflectiveTypeFinder { private final String methodName; private final int expectedNumberOfParameters; diff --git a/hamcrest/src/main/java/org/hamcrest/internal/SelfDescribingValue.java b/hamcrest/src/main/java/org/hamcrest/internal/SelfDescribingValue.java index 6537018a..e932e2d5 100644 --- a/hamcrest/src/main/java/org/hamcrest/internal/SelfDescribingValue.java +++ b/hamcrest/src/main/java/org/hamcrest/internal/SelfDescribingValue.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.internal; import org.hamcrest.Description; diff --git a/hamcrest/src/main/java/org/hamcrest/internal/SelfDescribingValueIterator.java b/hamcrest/src/main/java/org/hamcrest/internal/SelfDescribingValueIterator.java index bc8f8f43..5040144f 100644 --- a/hamcrest/src/main/java/org/hamcrest/internal/SelfDescribingValueIterator.java +++ b/hamcrest/src/main/java/org/hamcrest/internal/SelfDescribingValueIterator.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.internal; import org.hamcrest.SelfDescribing; diff --git a/hamcrest/src/main/java/org/hamcrest/io/FileMatchers.java b/hamcrest/src/main/java/org/hamcrest/io/FileMatchers.java index 0b76fb14..e8324100 100644 --- a/hamcrest/src/main/java/org/hamcrest/io/FileMatchers.java +++ b/hamcrest/src/main/java/org/hamcrest/io/FileMatchers.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.io; import org.hamcrest.Description; diff --git a/hamcrest/src/main/java/org/hamcrest/number/BigDecimalCloseTo.java b/hamcrest/src/main/java/org/hamcrest/number/BigDecimalCloseTo.java index d9cb0264..8850ef6f 100644 --- a/hamcrest/src/main/java/org/hamcrest/number/BigDecimalCloseTo.java +++ b/hamcrest/src/main/java/org/hamcrest/number/BigDecimalCloseTo.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.number; import org.hamcrest.Description; diff --git a/hamcrest/src/main/java/org/hamcrest/number/IsCloseTo.java b/hamcrest/src/main/java/org/hamcrest/number/IsCloseTo.java index 3b6967dc..bc813ab9 100644 --- a/hamcrest/src/main/java/org/hamcrest/number/IsCloseTo.java +++ b/hamcrest/src/main/java/org/hamcrest/number/IsCloseTo.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.number; import org.hamcrest.Description; diff --git a/hamcrest/src/main/java/org/hamcrest/number/IsNaN.java b/hamcrest/src/main/java/org/hamcrest/number/IsNaN.java index 415a9a2b..cea72d94 100644 --- a/hamcrest/src/main/java/org/hamcrest/number/IsNaN.java +++ b/hamcrest/src/main/java/org/hamcrest/number/IsNaN.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.number; import org.hamcrest.Description; diff --git a/hamcrest/src/main/java/org/hamcrest/number/OrderingComparison.java b/hamcrest/src/main/java/org/hamcrest/number/OrderingComparison.java index 8a77713d..3cd2b4b3 100644 --- a/hamcrest/src/main/java/org/hamcrest/number/OrderingComparison.java +++ b/hamcrest/src/main/java/org/hamcrest/number/OrderingComparison.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.number; import org.hamcrest.Matcher; diff --git a/hamcrest/src/main/java/org/hamcrest/object/HasEqualValues.java b/hamcrest/src/main/java/org/hamcrest/object/HasEqualValues.java index cffea890..59cd6f4e 100644 --- a/hamcrest/src/main/java/org/hamcrest/object/HasEqualValues.java +++ b/hamcrest/src/main/java/org/hamcrest/object/HasEqualValues.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.object; import org.hamcrest.Description; diff --git a/hamcrest/src/main/java/org/hamcrest/object/HasToString.java b/hamcrest/src/main/java/org/hamcrest/object/HasToString.java index 2dab9de4..ea98d29a 100644 --- a/hamcrest/src/main/java/org/hamcrest/object/HasToString.java +++ b/hamcrest/src/main/java/org/hamcrest/object/HasToString.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.object; import org.hamcrest.FeatureMatcher; diff --git a/hamcrest/src/main/java/org/hamcrest/object/IsCompatibleType.java b/hamcrest/src/main/java/org/hamcrest/object/IsCompatibleType.java index e1410a47..a021d2fd 100644 --- a/hamcrest/src/main/java/org/hamcrest/object/IsCompatibleType.java +++ b/hamcrest/src/main/java/org/hamcrest/object/IsCompatibleType.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.object; import org.hamcrest.Description; diff --git a/hamcrest/src/main/java/org/hamcrest/object/IsEventFrom.java b/hamcrest/src/main/java/org/hamcrest/object/IsEventFrom.java index 43b64d46..fb108388 100644 --- a/hamcrest/src/main/java/org/hamcrest/object/IsEventFrom.java +++ b/hamcrest/src/main/java/org/hamcrest/object/IsEventFrom.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.object; import org.hamcrest.Description; diff --git a/hamcrest/src/main/java/org/hamcrest/text/CharSequenceLength.java b/hamcrest/src/main/java/org/hamcrest/text/CharSequenceLength.java index e5e3d466..c9668c19 100644 --- a/hamcrest/src/main/java/org/hamcrest/text/CharSequenceLength.java +++ b/hamcrest/src/main/java/org/hamcrest/text/CharSequenceLength.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.text; import org.hamcrest.FeatureMatcher; diff --git a/hamcrest/src/main/java/org/hamcrest/text/IsBlankString.java b/hamcrest/src/main/java/org/hamcrest/text/IsBlankString.java index b168541b..5c6dfbef 100644 --- a/hamcrest/src/main/java/org/hamcrest/text/IsBlankString.java +++ b/hamcrest/src/main/java/org/hamcrest/text/IsBlankString.java @@ -1,4 +1,9 @@ - +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.text; import org.hamcrest.Description; diff --git a/hamcrest/src/main/java/org/hamcrest/text/IsEmptyString.java b/hamcrest/src/main/java/org/hamcrest/text/IsEmptyString.java index bbe56814..f5dddb10 100644 --- a/hamcrest/src/main/java/org/hamcrest/text/IsEmptyString.java +++ b/hamcrest/src/main/java/org/hamcrest/text/IsEmptyString.java @@ -1,4 +1,9 @@ - +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.text; import org.hamcrest.Description; diff --git a/hamcrest/src/main/java/org/hamcrest/text/IsEqualCompressingWhiteSpace.java b/hamcrest/src/main/java/org/hamcrest/text/IsEqualCompressingWhiteSpace.java index 15d7a877..0921d518 100644 --- a/hamcrest/src/main/java/org/hamcrest/text/IsEqualCompressingWhiteSpace.java +++ b/hamcrest/src/main/java/org/hamcrest/text/IsEqualCompressingWhiteSpace.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.text; import org.hamcrest.Description; diff --git a/hamcrest/src/main/java/org/hamcrest/text/IsEqualIgnoringCase.java b/hamcrest/src/main/java/org/hamcrest/text/IsEqualIgnoringCase.java index defa6123..39ce6221 100644 --- a/hamcrest/src/main/java/org/hamcrest/text/IsEqualIgnoringCase.java +++ b/hamcrest/src/main/java/org/hamcrest/text/IsEqualIgnoringCase.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.text; import org.hamcrest.Description; diff --git a/hamcrest/src/main/java/org/hamcrest/text/MatchesPattern.java b/hamcrest/src/main/java/org/hamcrest/text/MatchesPattern.java index e0eda0a8..a8fb9d81 100644 --- a/hamcrest/src/main/java/org/hamcrest/text/MatchesPattern.java +++ b/hamcrest/src/main/java/org/hamcrest/text/MatchesPattern.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.text; import org.hamcrest.Description; diff --git a/hamcrest/src/main/java/org/hamcrest/text/StringContainsInOrder.java b/hamcrest/src/main/java/org/hamcrest/text/StringContainsInOrder.java index 6df9a531..0baf702f 100644 --- a/hamcrest/src/main/java/org/hamcrest/text/StringContainsInOrder.java +++ b/hamcrest/src/main/java/org/hamcrest/text/StringContainsInOrder.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.text; import org.hamcrest.Description; diff --git a/hamcrest/src/main/java/org/hamcrest/xml/HasXPath.java b/hamcrest/src/main/java/org/hamcrest/xml/HasXPath.java index 30ed081a..c531be91 100644 --- a/hamcrest/src/main/java/org/hamcrest/xml/HasXPath.java +++ b/hamcrest/src/main/java/org/hamcrest/xml/HasXPath.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.xml; import org.hamcrest.Condition; diff --git a/hamcrest/src/test/java/org/hamcrest/AbstractMatcherTest.java b/hamcrest/src/test/java/org/hamcrest/AbstractMatcherTest.java index f11dec3b..8fab9a88 100644 --- a/hamcrest/src/test/java/org/hamcrest/AbstractMatcherTest.java +++ b/hamcrest/src/test/java/org/hamcrest/AbstractMatcherTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest; import junit.framework.TestCase; diff --git a/hamcrest/src/test/java/org/hamcrest/BaseDescriptionTest.java b/hamcrest/src/test/java/org/hamcrest/BaseDescriptionTest.java index afbdd65f..5af4e0fe 100644 --- a/hamcrest/src/test/java/org/hamcrest/BaseDescriptionTest.java +++ b/hamcrest/src/test/java/org/hamcrest/BaseDescriptionTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest; import org.junit.Test; diff --git a/hamcrest/src/test/java/org/hamcrest/BaseMatcherTest.java b/hamcrest/src/test/java/org/hamcrest/BaseMatcherTest.java index e663f041..ec1e31ad 100644 --- a/hamcrest/src/test/java/org/hamcrest/BaseMatcherTest.java +++ b/hamcrest/src/test/java/org/hamcrest/BaseMatcherTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest; import org.junit.Test; diff --git a/hamcrest/src/test/java/org/hamcrest/CustomMatcherTest.java b/hamcrest/src/test/java/org/hamcrest/CustomMatcherTest.java index 08649f7a..3ad27611 100644 --- a/hamcrest/src/test/java/org/hamcrest/CustomMatcherTest.java +++ b/hamcrest/src/test/java/org/hamcrest/CustomMatcherTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest; import org.junit.Test; diff --git a/hamcrest/src/test/java/org/hamcrest/CustomTypeSafeMatcherTest.java b/hamcrest/src/test/java/org/hamcrest/CustomTypeSafeMatcherTest.java index 2c867126..3bc24fa9 100644 --- a/hamcrest/src/test/java/org/hamcrest/CustomTypeSafeMatcherTest.java +++ b/hamcrest/src/test/java/org/hamcrest/CustomTypeSafeMatcherTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest; import org.junit.Test; diff --git a/hamcrest/src/test/java/org/hamcrest/FeatureMatcherTest.java b/hamcrest/src/test/java/org/hamcrest/FeatureMatcherTest.java index 8d864eb8..a823563d 100644 --- a/hamcrest/src/test/java/org/hamcrest/FeatureMatcherTest.java +++ b/hamcrest/src/test/java/org/hamcrest/FeatureMatcherTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest; import org.hamcrest.core.IsEqual; diff --git a/hamcrest/src/test/java/org/hamcrest/MatcherAssertTest.java b/hamcrest/src/test/java/org/hamcrest/MatcherAssertTest.java index 8d88daa8..f3934ed3 100644 --- a/hamcrest/src/test/java/org/hamcrest/MatcherAssertTest.java +++ b/hamcrest/src/test/java/org/hamcrest/MatcherAssertTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest; import org.junit.Test; diff --git a/hamcrest/src/test/java/org/hamcrest/NullDescriptionTest.java b/hamcrest/src/test/java/org/hamcrest/NullDescriptionTest.java index cccece0a..5b2e1a49 100644 --- a/hamcrest/src/test/java/org/hamcrest/NullDescriptionTest.java +++ b/hamcrest/src/test/java/org/hamcrest/NullDescriptionTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest; import org.hamcrest.Description.NullDescription; diff --git a/hamcrest/src/test/java/org/hamcrest/TypeSafeDiagnosingMatcherTest.java b/hamcrest/src/test/java/org/hamcrest/TypeSafeDiagnosingMatcherTest.java index 0b001391..1aa93609 100644 --- a/hamcrest/src/test/java/org/hamcrest/TypeSafeDiagnosingMatcherTest.java +++ b/hamcrest/src/test/java/org/hamcrest/TypeSafeDiagnosingMatcherTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest; import org.junit.Test; diff --git a/hamcrest/src/test/java/org/hamcrest/TypeSafeMatcherTest.java b/hamcrest/src/test/java/org/hamcrest/TypeSafeMatcherTest.java index 5563fabc..36375489 100644 --- a/hamcrest/src/test/java/org/hamcrest/TypeSafeMatcherTest.java +++ b/hamcrest/src/test/java/org/hamcrest/TypeSafeMatcherTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest; import org.junit.Test; diff --git a/hamcrest/src/test/java/org/hamcrest/beans/HasPropertyTest.java b/hamcrest/src/test/java/org/hamcrest/beans/HasPropertyTest.java index 11813106..7b768668 100644 --- a/hamcrest/src/test/java/org/hamcrest/beans/HasPropertyTest.java +++ b/hamcrest/src/test/java/org/hamcrest/beans/HasPropertyTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.beans; import org.hamcrest.Matcher; diff --git a/hamcrest/src/test/java/org/hamcrest/beans/HasPropertyWithValueTest.java b/hamcrest/src/test/java/org/hamcrest/beans/HasPropertyWithValueTest.java index d5f427e6..0ff3d23d 100644 --- a/hamcrest/src/test/java/org/hamcrest/beans/HasPropertyWithValueTest.java +++ b/hamcrest/src/test/java/org/hamcrest/beans/HasPropertyWithValueTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.beans; import org.hamcrest.*; diff --git a/hamcrest/src/test/java/org/hamcrest/beans/SamePropertyValuesAsTest.java b/hamcrest/src/test/java/org/hamcrest/beans/SamePropertyValuesAsTest.java index caecb684..6401326b 100644 --- a/hamcrest/src/test/java/org/hamcrest/beans/SamePropertyValuesAsTest.java +++ b/hamcrest/src/test/java/org/hamcrest/beans/SamePropertyValuesAsTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.beans; import org.hamcrest.AbstractMatcherTest; diff --git a/hamcrest/src/test/java/org/hamcrest/collection/ArrayMatchingInAnyOrderTest.java b/hamcrest/src/test/java/org/hamcrest/collection/ArrayMatchingInAnyOrderTest.java index be4d3f1e..6dcce940 100644 --- a/hamcrest/src/test/java/org/hamcrest/collection/ArrayMatchingInAnyOrderTest.java +++ b/hamcrest/src/test/java/org/hamcrest/collection/ArrayMatchingInAnyOrderTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.collection; import org.hamcrest.AbstractMatcherTest; diff --git a/hamcrest/src/test/java/org/hamcrest/collection/ArrayMatchingInOrderTest.java b/hamcrest/src/test/java/org/hamcrest/collection/ArrayMatchingInOrderTest.java index 784817a0..3a2db144 100644 --- a/hamcrest/src/test/java/org/hamcrest/collection/ArrayMatchingInOrderTest.java +++ b/hamcrest/src/test/java/org/hamcrest/collection/ArrayMatchingInOrderTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.collection; import org.hamcrest.AbstractMatcherTest; diff --git a/hamcrest/src/test/java/org/hamcrest/collection/HasItemInArrayTest.java b/hamcrest/src/test/java/org/hamcrest/collection/HasItemInArrayTest.java index c4d7e34a..9865b82e 100644 --- a/hamcrest/src/test/java/org/hamcrest/collection/HasItemInArrayTest.java +++ b/hamcrest/src/test/java/org/hamcrest/collection/HasItemInArrayTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.collection; import org.hamcrest.AbstractMatcherTest; diff --git a/hamcrest/src/test/java/org/hamcrest/collection/IsArrayContainingInAnyOrderTest.java b/hamcrest/src/test/java/org/hamcrest/collection/IsArrayContainingInAnyOrderTest.java index 01d9e3de..2d394877 100644 --- a/hamcrest/src/test/java/org/hamcrest/collection/IsArrayContainingInAnyOrderTest.java +++ b/hamcrest/src/test/java/org/hamcrest/collection/IsArrayContainingInAnyOrderTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.collection; import static org.hamcrest.collection.IsArrayContainingInAnyOrder.arrayContainingInAnyOrder; diff --git a/hamcrest/src/test/java/org/hamcrest/collection/IsArrayContainingInOrderTest.java b/hamcrest/src/test/java/org/hamcrest/collection/IsArrayContainingInOrderTest.java index b719dd14..bcba9d49 100644 --- a/hamcrest/src/test/java/org/hamcrest/collection/IsArrayContainingInOrderTest.java +++ b/hamcrest/src/test/java/org/hamcrest/collection/IsArrayContainingInOrderTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.collection; import static org.hamcrest.collection.IsArrayContainingInOrder.arrayContaining; diff --git a/hamcrest/src/test/java/org/hamcrest/collection/IsArrayTest.java b/hamcrest/src/test/java/org/hamcrest/collection/IsArrayTest.java index 4135d9f5..c4c28183 100644 --- a/hamcrest/src/test/java/org/hamcrest/collection/IsArrayTest.java +++ b/hamcrest/src/test/java/org/hamcrest/collection/IsArrayTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.collection; import org.hamcrest.AbstractMatcherTest; diff --git a/hamcrest/src/test/java/org/hamcrest/collection/IsArrayWithSizeTest.java b/hamcrest/src/test/java/org/hamcrest/collection/IsArrayWithSizeTest.java index 18f607ec..9d62decc 100644 --- a/hamcrest/src/test/java/org/hamcrest/collection/IsArrayWithSizeTest.java +++ b/hamcrest/src/test/java/org/hamcrest/collection/IsArrayWithSizeTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.collection; import org.hamcrest.AbstractMatcherTest; diff --git a/hamcrest/src/test/java/org/hamcrest/collection/IsCollectionWithSizeTest.java b/hamcrest/src/test/java/org/hamcrest/collection/IsCollectionWithSizeTest.java index b04a0c5c..1a8a0217 100644 --- a/hamcrest/src/test/java/org/hamcrest/collection/IsCollectionWithSizeTest.java +++ b/hamcrest/src/test/java/org/hamcrest/collection/IsCollectionWithSizeTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.collection; import org.hamcrest.AbstractMatcherTest; diff --git a/hamcrest/src/test/java/org/hamcrest/collection/IsEmptyCollectionTest.java b/hamcrest/src/test/java/org/hamcrest/collection/IsEmptyCollectionTest.java index ea875e8a..353a49d1 100644 --- a/hamcrest/src/test/java/org/hamcrest/collection/IsEmptyCollectionTest.java +++ b/hamcrest/src/test/java/org/hamcrest/collection/IsEmptyCollectionTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.collection; import org.hamcrest.AbstractMatcherTest; diff --git a/hamcrest/src/test/java/org/hamcrest/collection/IsEmptyIterableTest.java b/hamcrest/src/test/java/org/hamcrest/collection/IsEmptyIterableTest.java index 600b5760..90517987 100644 --- a/hamcrest/src/test/java/org/hamcrest/collection/IsEmptyIterableTest.java +++ b/hamcrest/src/test/java/org/hamcrest/collection/IsEmptyIterableTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.collection; import org.hamcrest.AbstractMatcherTest; diff --git a/hamcrest/src/test/java/org/hamcrest/collection/IsInTest.java b/hamcrest/src/test/java/org/hamcrest/collection/IsInTest.java index e9fcbdcb..fc2d8c7f 100644 --- a/hamcrest/src/test/java/org/hamcrest/collection/IsInTest.java +++ b/hamcrest/src/test/java/org/hamcrest/collection/IsInTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.collection; import org.hamcrest.AbstractMatcherTest; diff --git a/hamcrest/src/test/java/org/hamcrest/collection/IsIterableContainingInAnyOrderTest.java b/hamcrest/src/test/java/org/hamcrest/collection/IsIterableContainingInAnyOrderTest.java index 091c3475..63dbbe66 100644 --- a/hamcrest/src/test/java/org/hamcrest/collection/IsIterableContainingInAnyOrderTest.java +++ b/hamcrest/src/test/java/org/hamcrest/collection/IsIterableContainingInAnyOrderTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.collection; import org.hamcrest.AbstractMatcherTest; diff --git a/hamcrest/src/test/java/org/hamcrest/collection/IsIterableContainingInOrderTest.java b/hamcrest/src/test/java/org/hamcrest/collection/IsIterableContainingInOrderTest.java index 23cecf10..89c671a7 100644 --- a/hamcrest/src/test/java/org/hamcrest/collection/IsIterableContainingInOrderTest.java +++ b/hamcrest/src/test/java/org/hamcrest/collection/IsIterableContainingInOrderTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.collection; import org.hamcrest.AbstractMatcherTest; diff --git a/hamcrest/src/test/java/org/hamcrest/collection/IsIterableContainingInRelativeOrderTest.java b/hamcrest/src/test/java/org/hamcrest/collection/IsIterableContainingInRelativeOrderTest.java index 8192c8bf..8875ef29 100644 --- a/hamcrest/src/test/java/org/hamcrest/collection/IsIterableContainingInRelativeOrderTest.java +++ b/hamcrest/src/test/java/org/hamcrest/collection/IsIterableContainingInRelativeOrderTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.collection; import org.hamcrest.AbstractMatcherTest; diff --git a/hamcrest/src/test/java/org/hamcrest/collection/IsIterableWithSizeTest.java b/hamcrest/src/test/java/org/hamcrest/collection/IsIterableWithSizeTest.java index 8bf65d14..a2720d87 100644 --- a/hamcrest/src/test/java/org/hamcrest/collection/IsIterableWithSizeTest.java +++ b/hamcrest/src/test/java/org/hamcrest/collection/IsIterableWithSizeTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.collection; import org.hamcrest.AbstractMatcherTest; diff --git a/hamcrest/src/test/java/org/hamcrest/collection/IsMapContainingKeyTest.java b/hamcrest/src/test/java/org/hamcrest/collection/IsMapContainingKeyTest.java index 13f067c8..8b45a6d8 100644 --- a/hamcrest/src/test/java/org/hamcrest/collection/IsMapContainingKeyTest.java +++ b/hamcrest/src/test/java/org/hamcrest/collection/IsMapContainingKeyTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.collection; import org.hamcrest.AbstractMatcherTest; diff --git a/hamcrest/src/test/java/org/hamcrest/collection/IsMapContainingTest.java b/hamcrest/src/test/java/org/hamcrest/collection/IsMapContainingTest.java index 3eed3463..870476bf 100644 --- a/hamcrest/src/test/java/org/hamcrest/collection/IsMapContainingTest.java +++ b/hamcrest/src/test/java/org/hamcrest/collection/IsMapContainingTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.collection; import org.hamcrest.AbstractMatcherTest; diff --git a/hamcrest/src/test/java/org/hamcrest/collection/IsMapContainingValueTest.java b/hamcrest/src/test/java/org/hamcrest/collection/IsMapContainingValueTest.java index a2d7f908..9acc3902 100644 --- a/hamcrest/src/test/java/org/hamcrest/collection/IsMapContainingValueTest.java +++ b/hamcrest/src/test/java/org/hamcrest/collection/IsMapContainingValueTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.collection; diff --git a/hamcrest/src/test/java/org/hamcrest/collection/IsMapWithSizeTest.java b/hamcrest/src/test/java/org/hamcrest/collection/IsMapWithSizeTest.java index c050924c..60762461 100644 --- a/hamcrest/src/test/java/org/hamcrest/collection/IsMapWithSizeTest.java +++ b/hamcrest/src/test/java/org/hamcrest/collection/IsMapWithSizeTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.collection; import org.hamcrest.AbstractMatcherTest; diff --git a/hamcrest/src/test/java/org/hamcrest/comparator/ComparatorMatcherBuilderTest.java b/hamcrest/src/test/java/org/hamcrest/comparator/ComparatorMatcherBuilderTest.java index a5fdb4ac..0aaa7174 100644 --- a/hamcrest/src/test/java/org/hamcrest/comparator/ComparatorMatcherBuilderTest.java +++ b/hamcrest/src/test/java/org/hamcrest/comparator/ComparatorMatcherBuilderTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.comparator; import org.hamcrest.AbstractMatcherTest; diff --git a/hamcrest/src/test/java/org/hamcrest/comparator/ComparatorMatcherTest.java b/hamcrest/src/test/java/org/hamcrest/comparator/ComparatorMatcherTest.java index 2bc53d4c..5768bfb8 100644 --- a/hamcrest/src/test/java/org/hamcrest/comparator/ComparatorMatcherTest.java +++ b/hamcrest/src/test/java/org/hamcrest/comparator/ComparatorMatcherTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.comparator; import org.hamcrest.AbstractMatcherTest; diff --git a/hamcrest/src/test/java/org/hamcrest/core/AllOfTest.java b/hamcrest/src/test/java/org/hamcrest/core/AllOfTest.java index 0387207c..7cdee998 100644 --- a/hamcrest/src/test/java/org/hamcrest/core/AllOfTest.java +++ b/hamcrest/src/test/java/org/hamcrest/core/AllOfTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.core; import org.hamcrest.Matcher; diff --git a/hamcrest/src/test/java/org/hamcrest/core/AnyOfTest.java b/hamcrest/src/test/java/org/hamcrest/core/AnyOfTest.java index e2d9a9ee..c2e801e4 100644 --- a/hamcrest/src/test/java/org/hamcrest/core/AnyOfTest.java +++ b/hamcrest/src/test/java/org/hamcrest/core/AnyOfTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.core; import org.hamcrest.Matcher; diff --git a/hamcrest/src/test/java/org/hamcrest/core/CombinableTest.java b/hamcrest/src/test/java/org/hamcrest/core/CombinableTest.java index 7a209b62..c3cf0c63 100644 --- a/hamcrest/src/test/java/org/hamcrest/core/CombinableTest.java +++ b/hamcrest/src/test/java/org/hamcrest/core/CombinableTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.core; import org.hamcrest.Matcher; diff --git a/hamcrest/src/test/java/org/hamcrest/core/DescribedAsTest.java b/hamcrest/src/test/java/org/hamcrest/core/DescribedAsTest.java index 5c76af90..2c0f64ab 100644 --- a/hamcrest/src/test/java/org/hamcrest/core/DescribedAsTest.java +++ b/hamcrest/src/test/java/org/hamcrest/core/DescribedAsTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.core; import org.hamcrest.Matcher; diff --git a/hamcrest/src/test/java/org/hamcrest/core/EveryTest.java b/hamcrest/src/test/java/org/hamcrest/core/EveryTest.java index ff9f1772..edb48493 100644 --- a/hamcrest/src/test/java/org/hamcrest/core/EveryTest.java +++ b/hamcrest/src/test/java/org/hamcrest/core/EveryTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.core; import org.hamcrest.Matcher; diff --git a/hamcrest/src/test/java/org/hamcrest/core/IsAnythingTest.java b/hamcrest/src/test/java/org/hamcrest/core/IsAnythingTest.java index 80a8444c..1d8e75a5 100644 --- a/hamcrest/src/test/java/org/hamcrest/core/IsAnythingTest.java +++ b/hamcrest/src/test/java/org/hamcrest/core/IsAnythingTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.core; import org.hamcrest.Matcher; diff --git a/hamcrest/src/test/java/org/hamcrest/core/IsCollectionContainingTest.java b/hamcrest/src/test/java/org/hamcrest/core/IsCollectionContainingTest.java index db76bb1d..03cff363 100644 --- a/hamcrest/src/test/java/org/hamcrest/core/IsCollectionContainingTest.java +++ b/hamcrest/src/test/java/org/hamcrest/core/IsCollectionContainingTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.core; import org.hamcrest.AbstractMatcherTest; diff --git a/hamcrest/src/test/java/org/hamcrest/core/IsEqualTest.java b/hamcrest/src/test/java/org/hamcrest/core/IsEqualTest.java index d3ff21c5..cd75d923 100644 --- a/hamcrest/src/test/java/org/hamcrest/core/IsEqualTest.java +++ b/hamcrest/src/test/java/org/hamcrest/core/IsEqualTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.core; import org.hamcrest.Matcher; diff --git a/hamcrest/src/test/java/org/hamcrest/core/IsInstanceOfTest.java b/hamcrest/src/test/java/org/hamcrest/core/IsInstanceOfTest.java index 8dd85af1..4c92ddea 100644 --- a/hamcrest/src/test/java/org/hamcrest/core/IsInstanceOfTest.java +++ b/hamcrest/src/test/java/org/hamcrest/core/IsInstanceOfTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.core; import org.hamcrest.Matcher; diff --git a/hamcrest/src/test/java/org/hamcrest/core/IsIterableContainingTest.java b/hamcrest/src/test/java/org/hamcrest/core/IsIterableContainingTest.java index 02148b81..6b714be3 100644 --- a/hamcrest/src/test/java/org/hamcrest/core/IsIterableContainingTest.java +++ b/hamcrest/src/test/java/org/hamcrest/core/IsIterableContainingTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.core; import org.hamcrest.Description; diff --git a/hamcrest/src/test/java/org/hamcrest/core/IsNotTest.java b/hamcrest/src/test/java/org/hamcrest/core/IsNotTest.java index 79f46837..e4b23440 100644 --- a/hamcrest/src/test/java/org/hamcrest/core/IsNotTest.java +++ b/hamcrest/src/test/java/org/hamcrest/core/IsNotTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.core; import org.hamcrest.Matcher; diff --git a/hamcrest/src/test/java/org/hamcrest/core/IsNullTest.java b/hamcrest/src/test/java/org/hamcrest/core/IsNullTest.java index 74b046b5..3af90f53 100644 --- a/hamcrest/src/test/java/org/hamcrest/core/IsNullTest.java +++ b/hamcrest/src/test/java/org/hamcrest/core/IsNullTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.core; import org.hamcrest.Matcher; diff --git a/hamcrest/src/test/java/org/hamcrest/core/IsSameTest.java b/hamcrest/src/test/java/org/hamcrest/core/IsSameTest.java index a4a20105..f60448dd 100644 --- a/hamcrest/src/test/java/org/hamcrest/core/IsSameTest.java +++ b/hamcrest/src/test/java/org/hamcrest/core/IsSameTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.core; import org.hamcrest.Matcher; diff --git a/hamcrest/src/test/java/org/hamcrest/core/IsTest.java b/hamcrest/src/test/java/org/hamcrest/core/IsTest.java index d5220bde..061cc7c8 100644 --- a/hamcrest/src/test/java/org/hamcrest/core/IsTest.java +++ b/hamcrest/src/test/java/org/hamcrest/core/IsTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.core; import org.hamcrest.Matcher; diff --git a/hamcrest/src/test/java/org/hamcrest/core/SampleBaseClass.java b/hamcrest/src/test/java/org/hamcrest/core/SampleBaseClass.java index baf4d8e9..0c7169c6 100644 --- a/hamcrest/src/test/java/org/hamcrest/core/SampleBaseClass.java +++ b/hamcrest/src/test/java/org/hamcrest/core/SampleBaseClass.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.core; public class SampleBaseClass { diff --git a/hamcrest/src/test/java/org/hamcrest/core/SampleSubClass.java b/hamcrest/src/test/java/org/hamcrest/core/SampleSubClass.java index bdaa160f..3d29866b 100644 --- a/hamcrest/src/test/java/org/hamcrest/core/SampleSubClass.java +++ b/hamcrest/src/test/java/org/hamcrest/core/SampleSubClass.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.core; public class SampleSubClass extends SampleBaseClass { diff --git a/hamcrest/src/test/java/org/hamcrest/core/StringContainsTest.java b/hamcrest/src/test/java/org/hamcrest/core/StringContainsTest.java index 1fc269ef..7ef3bd2e 100644 --- a/hamcrest/src/test/java/org/hamcrest/core/StringContainsTest.java +++ b/hamcrest/src/test/java/org/hamcrest/core/StringContainsTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.core; import org.hamcrest.AbstractMatcherTest; diff --git a/hamcrest/src/test/java/org/hamcrest/core/StringEndsWithTest.java b/hamcrest/src/test/java/org/hamcrest/core/StringEndsWithTest.java index f482cbfa..de7cf53c 100644 --- a/hamcrest/src/test/java/org/hamcrest/core/StringEndsWithTest.java +++ b/hamcrest/src/test/java/org/hamcrest/core/StringEndsWithTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.core; import org.hamcrest.AbstractMatcherTest; diff --git a/hamcrest/src/test/java/org/hamcrest/core/StringMatchingTest.java b/hamcrest/src/test/java/org/hamcrest/core/StringMatchingTest.java index 7c2e5cd0..da731065 100644 --- a/hamcrest/src/test/java/org/hamcrest/core/StringMatchingTest.java +++ b/hamcrest/src/test/java/org/hamcrest/core/StringMatchingTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.core; import org.junit.Rule; diff --git a/hamcrest/src/test/java/org/hamcrest/core/StringRegularExpressionTest.java b/hamcrest/src/test/java/org/hamcrest/core/StringRegularExpressionTest.java index 2b2991bf..7b9fb0b3 100644 --- a/hamcrest/src/test/java/org/hamcrest/core/StringRegularExpressionTest.java +++ b/hamcrest/src/test/java/org/hamcrest/core/StringRegularExpressionTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.core; import org.hamcrest.AbstractMatcherTest; diff --git a/hamcrest/src/test/java/org/hamcrest/core/StringStartsWithTest.java b/hamcrest/src/test/java/org/hamcrest/core/StringStartsWithTest.java index f093acb4..2bf081a9 100644 --- a/hamcrest/src/test/java/org/hamcrest/core/StringStartsWithTest.java +++ b/hamcrest/src/test/java/org/hamcrest/core/StringStartsWithTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.core; import org.hamcrest.AbstractMatcherTest; diff --git a/hamcrest/src/test/java/org/hamcrest/io/FileMatchersTest.java b/hamcrest/src/test/java/org/hamcrest/io/FileMatchersTest.java index b2e642db..2bc49ebf 100644 --- a/hamcrest/src/test/java/org/hamcrest/io/FileMatchersTest.java +++ b/hamcrest/src/test/java/org/hamcrest/io/FileMatchersTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.io; import org.hamcrest.AbstractMatcherTest; diff --git a/hamcrest/src/test/java/org/hamcrest/number/BigDecimalCloseToTest.java b/hamcrest/src/test/java/org/hamcrest/number/BigDecimalCloseToTest.java index c82e6f4e..b7621763 100644 --- a/hamcrest/src/test/java/org/hamcrest/number/BigDecimalCloseToTest.java +++ b/hamcrest/src/test/java/org/hamcrest/number/BigDecimalCloseToTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.number; import org.hamcrest.AbstractMatcherTest; diff --git a/hamcrest/src/test/java/org/hamcrest/number/IsCloseToTest.java b/hamcrest/src/test/java/org/hamcrest/number/IsCloseToTest.java index 8b0e244b..dc208151 100644 --- a/hamcrest/src/test/java/org/hamcrest/number/IsCloseToTest.java +++ b/hamcrest/src/test/java/org/hamcrest/number/IsCloseToTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.number; import org.hamcrest.AbstractMatcherTest; diff --git a/hamcrest/src/test/java/org/hamcrest/number/IsNanTest.java b/hamcrest/src/test/java/org/hamcrest/number/IsNanTest.java index c9b39568..5ceed96c 100644 --- a/hamcrest/src/test/java/org/hamcrest/number/IsNanTest.java +++ b/hamcrest/src/test/java/org/hamcrest/number/IsNanTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.number; import org.hamcrest.Matcher; diff --git a/hamcrest/src/test/java/org/hamcrest/number/OrderingComparisonTest.java b/hamcrest/src/test/java/org/hamcrest/number/OrderingComparisonTest.java index 5953bd0b..8cc8eb36 100644 --- a/hamcrest/src/test/java/org/hamcrest/number/OrderingComparisonTest.java +++ b/hamcrest/src/test/java/org/hamcrest/number/OrderingComparisonTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.number; import org.hamcrest.AbstractMatcherTest; diff --git a/hamcrest/src/test/java/org/hamcrest/object/HasEqualsValuesTest.java b/hamcrest/src/test/java/org/hamcrest/object/HasEqualsValuesTest.java index 44aa7619..6e2edd1b 100644 --- a/hamcrest/src/test/java/org/hamcrest/object/HasEqualsValuesTest.java +++ b/hamcrest/src/test/java/org/hamcrest/object/HasEqualsValuesTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.object; import org.hamcrest.AbstractMatcherTest; diff --git a/hamcrest/src/test/java/org/hamcrest/object/HasToStringTest.java b/hamcrest/src/test/java/org/hamcrest/object/HasToStringTest.java index 122e19b5..3ed8f5d7 100644 --- a/hamcrest/src/test/java/org/hamcrest/object/HasToStringTest.java +++ b/hamcrest/src/test/java/org/hamcrest/object/HasToStringTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.object; import org.hamcrest.Matcher; diff --git a/hamcrest/src/test/java/org/hamcrest/object/IsCompatibleTypeTest.java b/hamcrest/src/test/java/org/hamcrest/object/IsCompatibleTypeTest.java index 62a3637c..8903b77a 100644 --- a/hamcrest/src/test/java/org/hamcrest/object/IsCompatibleTypeTest.java +++ b/hamcrest/src/test/java/org/hamcrest/object/IsCompatibleTypeTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.object; import org.hamcrest.AbstractMatcherTest; diff --git a/hamcrest/src/test/java/org/hamcrest/object/IsEventFromTest.java b/hamcrest/src/test/java/org/hamcrest/object/IsEventFromTest.java index b3c4a3a5..56a00e98 100644 --- a/hamcrest/src/test/java/org/hamcrest/object/IsEventFromTest.java +++ b/hamcrest/src/test/java/org/hamcrest/object/IsEventFromTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.object; import org.hamcrest.AbstractMatcherTest; diff --git a/hamcrest/src/test/java/org/hamcrest/object/MatchesPatternTest.java b/hamcrest/src/test/java/org/hamcrest/object/MatchesPatternTest.java index 3e2d9114..7590e20b 100644 --- a/hamcrest/src/test/java/org/hamcrest/object/MatchesPatternTest.java +++ b/hamcrest/src/test/java/org/hamcrest/object/MatchesPatternTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.object; import org.hamcrest.Matcher; diff --git a/hamcrest/src/test/java/org/hamcrest/text/CharSequenceLengthTest.java b/hamcrest/src/test/java/org/hamcrest/text/CharSequenceLengthTest.java index 76629465..e3362b91 100644 --- a/hamcrest/src/test/java/org/hamcrest/text/CharSequenceLengthTest.java +++ b/hamcrest/src/test/java/org/hamcrest/text/CharSequenceLengthTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.text; import org.hamcrest.AbstractMatcherTest; diff --git a/hamcrest/src/test/java/org/hamcrest/text/IsBlankStringTest.java b/hamcrest/src/test/java/org/hamcrest/text/IsBlankStringTest.java index c5f35f1c..2a9c1fc1 100644 --- a/hamcrest/src/test/java/org/hamcrest/text/IsBlankStringTest.java +++ b/hamcrest/src/test/java/org/hamcrest/text/IsBlankStringTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.text; import org.hamcrest.Matcher; diff --git a/hamcrest/src/test/java/org/hamcrest/text/IsEmptyStringTest.java b/hamcrest/src/test/java/org/hamcrest/text/IsEmptyStringTest.java index 62e30535..22a3b8b7 100644 --- a/hamcrest/src/test/java/org/hamcrest/text/IsEmptyStringTest.java +++ b/hamcrest/src/test/java/org/hamcrest/text/IsEmptyStringTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.text; import org.hamcrest.Matcher; diff --git a/hamcrest/src/test/java/org/hamcrest/text/IsEqualCompressingWhiteSpaceTest.java b/hamcrest/src/test/java/org/hamcrest/text/IsEqualCompressingWhiteSpaceTest.java index e85e54f6..7d1f9e21 100644 --- a/hamcrest/src/test/java/org/hamcrest/text/IsEqualCompressingWhiteSpaceTest.java +++ b/hamcrest/src/test/java/org/hamcrest/text/IsEqualCompressingWhiteSpaceTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.text; import org.hamcrest.AbstractMatcherTest; diff --git a/hamcrest/src/test/java/org/hamcrest/text/IsEqualIgnoringCaseTest.java b/hamcrest/src/test/java/org/hamcrest/text/IsEqualIgnoringCaseTest.java index b2b73917..24ca5d81 100644 --- a/hamcrest/src/test/java/org/hamcrest/text/IsEqualIgnoringCaseTest.java +++ b/hamcrest/src/test/java/org/hamcrest/text/IsEqualIgnoringCaseTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.text; import org.hamcrest.Matcher; diff --git a/hamcrest/src/test/java/org/hamcrest/text/StringContainsInOrderTest.java b/hamcrest/src/test/java/org/hamcrest/text/StringContainsInOrderTest.java index 52390a82..5f16cdc2 100644 --- a/hamcrest/src/test/java/org/hamcrest/text/StringContainsInOrderTest.java +++ b/hamcrest/src/test/java/org/hamcrest/text/StringContainsInOrderTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.text; import org.hamcrest.AbstractMatcherTest; diff --git a/hamcrest/src/test/java/org/hamcrest/xml/HasXPathTest.java b/hamcrest/src/test/java/org/hamcrest/xml/HasXPathTest.java index a66689dc..db5a363e 100644 --- a/hamcrest/src/test/java/org/hamcrest/xml/HasXPathTest.java +++ b/hamcrest/src/test/java/org/hamcrest/xml/HasXPathTest.java @@ -1,3 +1,9 @@ +/** + * Copyright (c) 2000-2022 www.hamcrest.org. All rights reserved. + * + * This work is licensed under the terms of the BSD license. + * For a copy, see LICENSE.txt in this repository. + */ package org.hamcrest.xml; import org.hamcrest.Matcher;