diff --git a/src/main/java/br/com/fluentvalidator/AbstractValidator.java b/src/main/java/br/com/fluentvalidator/AbstractValidator.java index e6d5afc..27943bc 100644 --- a/src/main/java/br/com/fluentvalidator/AbstractValidator.java +++ b/src/main/java/br/com/fluentvalidator/AbstractValidator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator; import java.util.Collection; diff --git a/src/main/java/br/com/fluentvalidator/Validator.java b/src/main/java/br/com/fluentvalidator/Validator.java index e949e9f..288c1e0 100644 --- a/src/main/java/br/com/fluentvalidator/Validator.java +++ b/src/main/java/br/com/fluentvalidator/Validator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator; import java.util.Collection; diff --git a/src/main/java/br/com/fluentvalidator/annotation/CleanValidationContextException.java b/src/main/java/br/com/fluentvalidator/annotation/CleanValidationContextException.java index 2bf5938..a620a8d 100644 --- a/src/main/java/br/com/fluentvalidator/annotation/CleanValidationContextException.java +++ b/src/main/java/br/com/fluentvalidator/annotation/CleanValidationContextException.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.annotation; import static java.lang.annotation.ElementType.METHOD; diff --git a/src/main/java/br/com/fluentvalidator/aspect/ValidationExceptionAdvice.java b/src/main/java/br/com/fluentvalidator/aspect/ValidationExceptionAdvice.java index 2c92177..0fd41e5 100644 --- a/src/main/java/br/com/fluentvalidator/aspect/ValidationExceptionAdvice.java +++ b/src/main/java/br/com/fluentvalidator/aspect/ValidationExceptionAdvice.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.aspect; import org.aspectj.lang.annotation.AfterThrowing; diff --git a/src/main/java/br/com/fluentvalidator/builder/AttemptedValue.java b/src/main/java/br/com/fluentvalidator/builder/AttemptedValue.java index c0da27e..3457fa5 100644 --- a/src/main/java/br/com/fluentvalidator/builder/AttemptedValue.java +++ b/src/main/java/br/com/fluentvalidator/builder/AttemptedValue.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.builder; import java.util.function.Function; diff --git a/src/main/java/br/com/fluentvalidator/builder/Code.java b/src/main/java/br/com/fluentvalidator/builder/Code.java index d2907c0..a4905c8 100644 --- a/src/main/java/br/com/fluentvalidator/builder/Code.java +++ b/src/main/java/br/com/fluentvalidator/builder/Code.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.builder; import java.util.function.Function; diff --git a/src/main/java/br/com/fluentvalidator/builder/Critical.java b/src/main/java/br/com/fluentvalidator/builder/Critical.java index d5bed3b..bd98c4c 100644 --- a/src/main/java/br/com/fluentvalidator/builder/Critical.java +++ b/src/main/java/br/com/fluentvalidator/builder/Critical.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.builder; public interface Critical, N extends Whenever> extends RuleBuilder { diff --git a/src/main/java/br/com/fluentvalidator/builder/FieldName.java b/src/main/java/br/com/fluentvalidator/builder/FieldName.java index 4cbc700..51328b3 100644 --- a/src/main/java/br/com/fluentvalidator/builder/FieldName.java +++ b/src/main/java/br/com/fluentvalidator/builder/FieldName.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.builder; import java.util.function.Function; diff --git a/src/main/java/br/com/fluentvalidator/builder/HandleInvalidField.java b/src/main/java/br/com/fluentvalidator/builder/HandleInvalidField.java index 8c54281..4c42432 100644 --- a/src/main/java/br/com/fluentvalidator/builder/HandleInvalidField.java +++ b/src/main/java/br/com/fluentvalidator/builder/HandleInvalidField.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.builder; import br.com.fluentvalidator.exception.ValidationException; diff --git a/src/main/java/br/com/fluentvalidator/builder/Message.java b/src/main/java/br/com/fluentvalidator/builder/Message.java index 9f4d2d9..23a5115 100644 --- a/src/main/java/br/com/fluentvalidator/builder/Message.java +++ b/src/main/java/br/com/fluentvalidator/builder/Message.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.builder; import java.util.function.Function; diff --git a/src/main/java/br/com/fluentvalidator/builder/Must.java b/src/main/java/br/com/fluentvalidator/builder/Must.java index 7b3763e..d0e2176 100644 --- a/src/main/java/br/com/fluentvalidator/builder/Must.java +++ b/src/main/java/br/com/fluentvalidator/builder/Must.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.builder; import java.util.function.Predicate; diff --git a/src/main/java/br/com/fluentvalidator/builder/RuleBuilder.java b/src/main/java/br/com/fluentvalidator/builder/RuleBuilder.java index b32aa1f..82292bb 100644 --- a/src/main/java/br/com/fluentvalidator/builder/RuleBuilder.java +++ b/src/main/java/br/com/fluentvalidator/builder/RuleBuilder.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.builder; import java.util.function.Predicate; diff --git a/src/main/java/br/com/fluentvalidator/builder/RuleBuilderCollection.java b/src/main/java/br/com/fluentvalidator/builder/RuleBuilderCollection.java index d4ad11f..2fca6ae 100644 --- a/src/main/java/br/com/fluentvalidator/builder/RuleBuilderCollection.java +++ b/src/main/java/br/com/fluentvalidator/builder/RuleBuilderCollection.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.builder; import java.util.Collection; diff --git a/src/main/java/br/com/fluentvalidator/builder/RuleBuilderProperty.java b/src/main/java/br/com/fluentvalidator/builder/RuleBuilderProperty.java index 4baa014..6368dc2 100644 --- a/src/main/java/br/com/fluentvalidator/builder/RuleBuilderProperty.java +++ b/src/main/java/br/com/fluentvalidator/builder/RuleBuilderProperty.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.builder; public interface RuleBuilderProperty extends RuleBuilder, WheneverProperty> { diff --git a/src/main/java/br/com/fluentvalidator/builder/When.java b/src/main/java/br/com/fluentvalidator/builder/When.java index 8ed4e5e..03d211f 100644 --- a/src/main/java/br/com/fluentvalidator/builder/When.java +++ b/src/main/java/br/com/fluentvalidator/builder/When.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.builder; import java.util.function.Function; diff --git a/src/main/java/br/com/fluentvalidator/builder/WhenCollection.java b/src/main/java/br/com/fluentvalidator/builder/WhenCollection.java index 2714df2..d3f032e 100644 --- a/src/main/java/br/com/fluentvalidator/builder/WhenCollection.java +++ b/src/main/java/br/com/fluentvalidator/builder/WhenCollection.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.builder; import java.util.Collection; diff --git a/src/main/java/br/com/fluentvalidator/builder/WhenProperty.java b/src/main/java/br/com/fluentvalidator/builder/WhenProperty.java index 517a8a4..00ab7d1 100644 --- a/src/main/java/br/com/fluentvalidator/builder/WhenProperty.java +++ b/src/main/java/br/com/fluentvalidator/builder/WhenProperty.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.builder; public interface WhenProperty extends When, WheneverProperty> { diff --git a/src/main/java/br/com/fluentvalidator/builder/Whenever.java b/src/main/java/br/com/fluentvalidator/builder/Whenever.java index 4d5be2f..e6f15a9 100644 --- a/src/main/java/br/com/fluentvalidator/builder/Whenever.java +++ b/src/main/java/br/com/fluentvalidator/builder/Whenever.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.builder; public interface Whenever, N extends Whenever> { diff --git a/src/main/java/br/com/fluentvalidator/builder/WheneverCollection.java b/src/main/java/br/com/fluentvalidator/builder/WheneverCollection.java index 96de550..6bdb707 100644 --- a/src/main/java/br/com/fluentvalidator/builder/WheneverCollection.java +++ b/src/main/java/br/com/fluentvalidator/builder/WheneverCollection.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.builder; import java.util.Collection; diff --git a/src/main/java/br/com/fluentvalidator/builder/WheneverProperty.java b/src/main/java/br/com/fluentvalidator/builder/WheneverProperty.java index 0de2f67..658d112 100644 --- a/src/main/java/br/com/fluentvalidator/builder/WheneverProperty.java +++ b/src/main/java/br/com/fluentvalidator/builder/WheneverProperty.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.builder; import br.com.fluentvalidator.Validator; diff --git a/src/main/java/br/com/fluentvalidator/builder/WithValidator.java b/src/main/java/br/com/fluentvalidator/builder/WithValidator.java index 8d51dc4..a2b0054 100644 --- a/src/main/java/br/com/fluentvalidator/builder/WithValidator.java +++ b/src/main/java/br/com/fluentvalidator/builder/WithValidator.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.builder; import br.com.fluentvalidator.exception.ValidationException; diff --git a/src/main/java/br/com/fluentvalidator/context/Error.java b/src/main/java/br/com/fluentvalidator/context/Error.java index 45b733d..89d4a4a 100644 --- a/src/main/java/br/com/fluentvalidator/context/Error.java +++ b/src/main/java/br/com/fluentvalidator/context/Error.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.context; public class Error { diff --git a/src/main/java/br/com/fluentvalidator/context/ProcessorContext.java b/src/main/java/br/com/fluentvalidator/context/ProcessorContext.java index 0c99433..6c71247 100644 --- a/src/main/java/br/com/fluentvalidator/context/ProcessorContext.java +++ b/src/main/java/br/com/fluentvalidator/context/ProcessorContext.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.context; import java.util.Deque; diff --git a/src/main/java/br/com/fluentvalidator/context/ValidationContext.java b/src/main/java/br/com/fluentvalidator/context/ValidationContext.java index b8d53f1..efdcb21 100644 --- a/src/main/java/br/com/fluentvalidator/context/ValidationContext.java +++ b/src/main/java/br/com/fluentvalidator/context/ValidationContext.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.context; import java.util.Collection; diff --git a/src/main/java/br/com/fluentvalidator/context/ValidationResult.java b/src/main/java/br/com/fluentvalidator/context/ValidationResult.java index 8551940..3345f80 100644 --- a/src/main/java/br/com/fluentvalidator/context/ValidationResult.java +++ b/src/main/java/br/com/fluentvalidator/context/ValidationResult.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.context; import java.util.ArrayList; diff --git a/src/main/java/br/com/fluentvalidator/exception/ValidationException.java b/src/main/java/br/com/fluentvalidator/exception/ValidationException.java index 6a262de..3f1e7b7 100644 --- a/src/main/java/br/com/fluentvalidator/exception/ValidationException.java +++ b/src/main/java/br/com/fluentvalidator/exception/ValidationException.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.exception; import java.lang.reflect.Constructor; diff --git a/src/main/java/br/com/fluentvalidator/function/FunctionBuilder.java b/src/main/java/br/com/fluentvalidator/function/FunctionBuilder.java index da23496..12bce84 100644 --- a/src/main/java/br/com/fluentvalidator/function/FunctionBuilder.java +++ b/src/main/java/br/com/fluentvalidator/function/FunctionBuilder.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.function; import java.util.Objects; diff --git a/src/main/java/br/com/fluentvalidator/handler/HandlerInvalidField.java b/src/main/java/br/com/fluentvalidator/handler/HandlerInvalidField.java index e82ff60..ac036eb 100644 --- a/src/main/java/br/com/fluentvalidator/handler/HandlerInvalidField.java +++ b/src/main/java/br/com/fluentvalidator/handler/HandlerInvalidField.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.handler; import java.util.Collection; diff --git a/src/main/java/br/com/fluentvalidator/predicate/CollectionPredicate.java b/src/main/java/br/com/fluentvalidator/predicate/CollectionPredicate.java index b38a548..c1362ef 100644 --- a/src/main/java/br/com/fluentvalidator/predicate/CollectionPredicate.java +++ b/src/main/java/br/com/fluentvalidator/predicate/CollectionPredicate.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.predicate; import static br.com.fluentvalidator.predicate.ComparablePredicate.between; diff --git a/src/main/java/br/com/fluentvalidator/predicate/ComparablePredicate.java b/src/main/java/br/com/fluentvalidator/predicate/ComparablePredicate.java index 1888a61..7fa8e2b 100644 --- a/src/main/java/br/com/fluentvalidator/predicate/ComparablePredicate.java +++ b/src/main/java/br/com/fluentvalidator/predicate/ComparablePredicate.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.predicate; import static br.com.fluentvalidator.predicate.LogicalPredicate.not; diff --git a/src/main/java/br/com/fluentvalidator/predicate/DatePredicate.java b/src/main/java/br/com/fluentvalidator/predicate/DatePredicate.java index f0febfd..cfb4151 100644 --- a/src/main/java/br/com/fluentvalidator/predicate/DatePredicate.java +++ b/src/main/java/br/com/fluentvalidator/predicate/DatePredicate.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.predicate; import java.time.LocalDate; diff --git a/src/main/java/br/com/fluentvalidator/predicate/DateTimePredicate.java b/src/main/java/br/com/fluentvalidator/predicate/DateTimePredicate.java index 0f9fa8c..187a928 100644 --- a/src/main/java/br/com/fluentvalidator/predicate/DateTimePredicate.java +++ b/src/main/java/br/com/fluentvalidator/predicate/DateTimePredicate.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.predicate; import static br.com.fluentvalidator.predicate.LogicalPredicate.not; diff --git a/src/main/java/br/com/fluentvalidator/predicate/LocalDatePredicate.java b/src/main/java/br/com/fluentvalidator/predicate/LocalDatePredicate.java index 3254cc4..c13dc11 100644 --- a/src/main/java/br/com/fluentvalidator/predicate/LocalDatePredicate.java +++ b/src/main/java/br/com/fluentvalidator/predicate/LocalDatePredicate.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.predicate; import java.time.LocalDate; diff --git a/src/main/java/br/com/fluentvalidator/predicate/LocalDateTimePredicate.java b/src/main/java/br/com/fluentvalidator/predicate/LocalDateTimePredicate.java index 4a5790b..ecec05c 100644 --- a/src/main/java/br/com/fluentvalidator/predicate/LocalDateTimePredicate.java +++ b/src/main/java/br/com/fluentvalidator/predicate/LocalDateTimePredicate.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.predicate; import java.time.LocalDateTime; diff --git a/src/main/java/br/com/fluentvalidator/predicate/LocalTimePredicate.java b/src/main/java/br/com/fluentvalidator/predicate/LocalTimePredicate.java index 2123139..ede9fb5 100644 --- a/src/main/java/br/com/fluentvalidator/predicate/LocalTimePredicate.java +++ b/src/main/java/br/com/fluentvalidator/predicate/LocalTimePredicate.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.predicate; import static br.com.fluentvalidator.predicate.LogicalPredicate.is; diff --git a/src/main/java/br/com/fluentvalidator/predicate/LogicalPredicate.java b/src/main/java/br/com/fluentvalidator/predicate/LogicalPredicate.java index cb13315..5e3dd2c 100644 --- a/src/main/java/br/com/fluentvalidator/predicate/LogicalPredicate.java +++ b/src/main/java/br/com/fluentvalidator/predicate/LogicalPredicate.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.predicate; import static br.com.fluentvalidator.predicate.ObjectPredicate.nullValue; diff --git a/src/main/java/br/com/fluentvalidator/predicate/MapPredicate.java b/src/main/java/br/com/fluentvalidator/predicate/MapPredicate.java index 9f5d847..76cd045 100644 --- a/src/main/java/br/com/fluentvalidator/predicate/MapPredicate.java +++ b/src/main/java/br/com/fluentvalidator/predicate/MapPredicate.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.predicate; import static br.com.fluentvalidator.predicate.LogicalPredicate.not; diff --git a/src/main/java/br/com/fluentvalidator/predicate/ObjectPredicate.java b/src/main/java/br/com/fluentvalidator/predicate/ObjectPredicate.java index a820f95..cb5b5c3 100644 --- a/src/main/java/br/com/fluentvalidator/predicate/ObjectPredicate.java +++ b/src/main/java/br/com/fluentvalidator/predicate/ObjectPredicate.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.predicate; import static br.com.fluentvalidator.predicate.LogicalPredicate.not; diff --git a/src/main/java/br/com/fluentvalidator/predicate/PredicateBuilder.java b/src/main/java/br/com/fluentvalidator/predicate/PredicateBuilder.java index 86830c4..6e5c0c0 100644 --- a/src/main/java/br/com/fluentvalidator/predicate/PredicateBuilder.java +++ b/src/main/java/br/com/fluentvalidator/predicate/PredicateBuilder.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.predicate; import java.util.function.Predicate; diff --git a/src/main/java/br/com/fluentvalidator/predicate/StringPredicate.java b/src/main/java/br/com/fluentvalidator/predicate/StringPredicate.java index cd61cd5..ac7684b 100644 --- a/src/main/java/br/com/fluentvalidator/predicate/StringPredicate.java +++ b/src/main/java/br/com/fluentvalidator/predicate/StringPredicate.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.predicate; import static br.com.fluentvalidator.predicate.ComparablePredicate.greaterThan; diff --git a/src/main/java/br/com/fluentvalidator/predicate/TimePredicate.java b/src/main/java/br/com/fluentvalidator/predicate/TimePredicate.java index 599157d..c8b3af9 100644 --- a/src/main/java/br/com/fluentvalidator/predicate/TimePredicate.java +++ b/src/main/java/br/com/fluentvalidator/predicate/TimePredicate.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.predicate; import static br.com.fluentvalidator.predicate.LogicalPredicate.not; diff --git a/src/main/java/br/com/fluentvalidator/rule/AbstractRuleBuilder.java b/src/main/java/br/com/fluentvalidator/rule/AbstractRuleBuilder.java index 1ccc374..8f6ab0e 100644 --- a/src/main/java/br/com/fluentvalidator/rule/AbstractRuleBuilder.java +++ b/src/main/java/br/com/fluentvalidator/rule/AbstractRuleBuilder.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.rule; import java.util.function.Function; diff --git a/src/main/java/br/com/fluentvalidator/rule/AbstractValidationRule.java b/src/main/java/br/com/fluentvalidator/rule/AbstractValidationRule.java index a8fa6b8..2936731 100644 --- a/src/main/java/br/com/fluentvalidator/rule/AbstractValidationRule.java +++ b/src/main/java/br/com/fluentvalidator/rule/AbstractValidationRule.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.rule; import java.util.Collection; diff --git a/src/main/java/br/com/fluentvalidator/rule/FieldDescriptor.java b/src/main/java/br/com/fluentvalidator/rule/FieldDescriptor.java index a4153e7..0261812 100644 --- a/src/main/java/br/com/fluentvalidator/rule/FieldDescriptor.java +++ b/src/main/java/br/com/fluentvalidator/rule/FieldDescriptor.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.rule; interface FieldDescriptor { diff --git a/src/main/java/br/com/fluentvalidator/rule/Rule.java b/src/main/java/br/com/fluentvalidator/rule/Rule.java index 865c6c8..3f76bdf 100644 --- a/src/main/java/br/com/fluentvalidator/rule/Rule.java +++ b/src/main/java/br/com/fluentvalidator/rule/Rule.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.rule; public interface Rule { diff --git a/src/main/java/br/com/fluentvalidator/rule/RuleBuilderCollectionImpl.java b/src/main/java/br/com/fluentvalidator/rule/RuleBuilderCollectionImpl.java index d832094..9fd9d59 100644 --- a/src/main/java/br/com/fluentvalidator/rule/RuleBuilderCollectionImpl.java +++ b/src/main/java/br/com/fluentvalidator/rule/RuleBuilderCollectionImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.rule; import java.util.Collection; diff --git a/src/main/java/br/com/fluentvalidator/rule/RuleBuilderPropertyImpl.java b/src/main/java/br/com/fluentvalidator/rule/RuleBuilderPropertyImpl.java index 830e3fb..e92051c 100644 --- a/src/main/java/br/com/fluentvalidator/rule/RuleBuilderPropertyImpl.java +++ b/src/main/java/br/com/fluentvalidator/rule/RuleBuilderPropertyImpl.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.rule; import java.util.Collection; diff --git a/src/main/java/br/com/fluentvalidator/rule/RuleProcessorDefault.java b/src/main/java/br/com/fluentvalidator/rule/RuleProcessorDefault.java index 4c403c8..43be9ac 100644 --- a/src/main/java/br/com/fluentvalidator/rule/RuleProcessorDefault.java +++ b/src/main/java/br/com/fluentvalidator/rule/RuleProcessorDefault.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.rule; class RuleProcessorDefault implements RuleProcessorStrategy { diff --git a/src/main/java/br/com/fluentvalidator/rule/RuleProcessorFailFast.java b/src/main/java/br/com/fluentvalidator/rule/RuleProcessorFailFast.java index 4d7d9b7..e1fe4db 100644 --- a/src/main/java/br/com/fluentvalidator/rule/RuleProcessorFailFast.java +++ b/src/main/java/br/com/fluentvalidator/rule/RuleProcessorFailFast.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.rule; import java.util.Collection; diff --git a/src/main/java/br/com/fluentvalidator/rule/RuleProcessorStrategy.java b/src/main/java/br/com/fluentvalidator/rule/RuleProcessorStrategy.java index fdedfc5..ca0ba13 100644 --- a/src/main/java/br/com/fluentvalidator/rule/RuleProcessorStrategy.java +++ b/src/main/java/br/com/fluentvalidator/rule/RuleProcessorStrategy.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.rule; import java.util.Collection; diff --git a/src/main/java/br/com/fluentvalidator/rule/ValidationRule.java b/src/main/java/br/com/fluentvalidator/rule/ValidationRule.java index fb9f810..b3d2a3d 100644 --- a/src/main/java/br/com/fluentvalidator/rule/ValidationRule.java +++ b/src/main/java/br/com/fluentvalidator/rule/ValidationRule.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.rule; import java.util.function.Function; diff --git a/src/main/java/br/com/fluentvalidator/transform/ValidationResultTransform.java b/src/main/java/br/com/fluentvalidator/transform/ValidationResultTransform.java index ee1e0fd..427a520 100644 --- a/src/main/java/br/com/fluentvalidator/transform/ValidationResultTransform.java +++ b/src/main/java/br/com/fluentvalidator/transform/ValidationResultTransform.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.transform; import br.com.fluentvalidator.context.ValidationResult; diff --git a/src/test/java/br/com/fluentvalidator/ValidatorTest.java b/src/test/java/br/com/fluentvalidator/ValidatorTest.java index f138231..58c5ccb 100644 --- a/src/test/java/br/com/fluentvalidator/ValidatorTest.java +++ b/src/test/java/br/com/fluentvalidator/ValidatorTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator; import static br.com.fluentvalidator.predicate.LogicalPredicate.not; diff --git a/src/test/java/br/com/fluentvalidator/aspect/ValidationExceptionAdviceTest.java b/src/test/java/br/com/fluentvalidator/aspect/ValidationExceptionAdviceTest.java index 70bf04c..38d288f 100644 --- a/src/test/java/br/com/fluentvalidator/aspect/ValidationExceptionAdviceTest.java +++ b/src/test/java/br/com/fluentvalidator/aspect/ValidationExceptionAdviceTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.aspect; import static br.com.fluentvalidator.predicate.CollectionPredicate.empty; diff --git a/src/test/java/br/com/fluentvalidator/context/ValidationResultTest.java b/src/test/java/br/com/fluentvalidator/context/ValidationResultTest.java index e543707..1fb2ac2 100644 --- a/src/test/java/br/com/fluentvalidator/context/ValidationResultTest.java +++ b/src/test/java/br/com/fluentvalidator/context/ValidationResultTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.context; import static org.assertj.core.api.Assertions.assertThatCode; diff --git a/src/test/java/br/com/fluentvalidator/exception/ValidationExceptionTest.java b/src/test/java/br/com/fluentvalidator/exception/ValidationExceptionTest.java index 2bd8879..3713dac 100644 --- a/src/test/java/br/com/fluentvalidator/exception/ValidationExceptionTest.java +++ b/src/test/java/br/com/fluentvalidator/exception/ValidationExceptionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.exception; import static org.assertj.core.api.Assertions.assertThatThrownBy; diff --git a/src/test/java/br/com/fluentvalidator/exception/ValidationSampleException.java b/src/test/java/br/com/fluentvalidator/exception/ValidationSampleException.java index ee8ae2f..6b2c9f4 100644 --- a/src/test/java/br/com/fluentvalidator/exception/ValidationSampleException.java +++ b/src/test/java/br/com/fluentvalidator/exception/ValidationSampleException.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.exception; import br.com.fluentvalidator.context.ValidationResult; diff --git a/src/test/java/br/com/fluentvalidator/exception/ValidationSampleInvalidException.java b/src/test/java/br/com/fluentvalidator/exception/ValidationSampleInvalidException.java index fd9cb14..affdbdc 100644 --- a/src/test/java/br/com/fluentvalidator/exception/ValidationSampleInvalidException.java +++ b/src/test/java/br/com/fluentvalidator/exception/ValidationSampleInvalidException.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.exception; public class ValidationSampleInvalidException extends ValidationException { diff --git a/src/test/java/br/com/fluentvalidator/function/FunctionBuilderTest.java b/src/test/java/br/com/fluentvalidator/function/FunctionBuilderTest.java index bbb06b8..c51ac90 100644 --- a/src/test/java/br/com/fluentvalidator/function/FunctionBuilderTest.java +++ b/src/test/java/br/com/fluentvalidator/function/FunctionBuilderTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.function; import static org.hamcrest.CoreMatchers.equalTo; diff --git a/src/test/java/br/com/fluentvalidator/handler/HandlerInvalidFieldTest.java b/src/test/java/br/com/fluentvalidator/handler/HandlerInvalidFieldTest.java index da40c61..0a1ae22 100644 --- a/src/test/java/br/com/fluentvalidator/handler/HandlerInvalidFieldTest.java +++ b/src/test/java/br/com/fluentvalidator/handler/HandlerInvalidFieldTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.handler; import static org.assertj.core.api.Assertions.assertThat; diff --git a/src/test/java/br/com/fluentvalidator/model/Bill.java b/src/test/java/br/com/fluentvalidator/model/Bill.java index 2f08249..8984de7 100644 --- a/src/test/java/br/com/fluentvalidator/model/Bill.java +++ b/src/test/java/br/com/fluentvalidator/model/Bill.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.model; import java.time.LocalDate; diff --git a/src/test/java/br/com/fluentvalidator/model/Boy.java b/src/test/java/br/com/fluentvalidator/model/Boy.java index a7f5aea..cdb8108 100644 --- a/src/test/java/br/com/fluentvalidator/model/Boy.java +++ b/src/test/java/br/com/fluentvalidator/model/Boy.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.model; public class Boy extends Child { diff --git a/src/test/java/br/com/fluentvalidator/model/Child.java b/src/test/java/br/com/fluentvalidator/model/Child.java index e3b8174..c35a735 100644 --- a/src/test/java/br/com/fluentvalidator/model/Child.java +++ b/src/test/java/br/com/fluentvalidator/model/Child.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.model; public abstract class Child { diff --git a/src/test/java/br/com/fluentvalidator/model/Gender.java b/src/test/java/br/com/fluentvalidator/model/Gender.java index 83be333..7a9f23c 100644 --- a/src/test/java/br/com/fluentvalidator/model/Gender.java +++ b/src/test/java/br/com/fluentvalidator/model/Gender.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.model; public enum Gender { diff --git a/src/test/java/br/com/fluentvalidator/model/Girl.java b/src/test/java/br/com/fluentvalidator/model/Girl.java index 8f3dca6..e964a0b 100644 --- a/src/test/java/br/com/fluentvalidator/model/Girl.java +++ b/src/test/java/br/com/fluentvalidator/model/Girl.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.model; public class Girl extends Child { diff --git a/src/test/java/br/com/fluentvalidator/model/Parent.java b/src/test/java/br/com/fluentvalidator/model/Parent.java index 8ac8a90..9210caf 100644 --- a/src/test/java/br/com/fluentvalidator/model/Parent.java +++ b/src/test/java/br/com/fluentvalidator/model/Parent.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.model; import java.util.List; diff --git a/src/test/java/br/com/fluentvalidator/playground/StudentValidatorTest.java b/src/test/java/br/com/fluentvalidator/playground/StudentValidatorTest.java index 1f78fcd..08f4af5 100644 --- a/src/test/java/br/com/fluentvalidator/playground/StudentValidatorTest.java +++ b/src/test/java/br/com/fluentvalidator/playground/StudentValidatorTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.playground; import static org.assertj.core.api.Assertions.assertThat; diff --git a/src/test/java/br/com/fluentvalidator/playground/model/Student.java b/src/test/java/br/com/fluentvalidator/playground/model/Student.java index 31fea03..06ace53 100644 --- a/src/test/java/br/com/fluentvalidator/playground/model/Student.java +++ b/src/test/java/br/com/fluentvalidator/playground/model/Student.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.playground.model; public class Student { diff --git a/src/test/java/br/com/fluentvalidator/playground/validator/StudentValidatorAnotherWay01.java b/src/test/java/br/com/fluentvalidator/playground/validator/StudentValidatorAnotherWay01.java index c2fab12..65f4fc5 100644 --- a/src/test/java/br/com/fluentvalidator/playground/validator/StudentValidatorAnotherWay01.java +++ b/src/test/java/br/com/fluentvalidator/playground/validator/StudentValidatorAnotherWay01.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.playground.validator; import static br.com.fluentvalidator.predicate.LogicalPredicate.not; diff --git a/src/test/java/br/com/fluentvalidator/playground/validator/StudentValidatorAnotherWay02.java b/src/test/java/br/com/fluentvalidator/playground/validator/StudentValidatorAnotherWay02.java index b33bcde..63550fd 100644 --- a/src/test/java/br/com/fluentvalidator/playground/validator/StudentValidatorAnotherWay02.java +++ b/src/test/java/br/com/fluentvalidator/playground/validator/StudentValidatorAnotherWay02.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.playground.validator; import static br.com.fluentvalidator.function.FunctionBuilder.of; diff --git a/src/test/java/br/com/fluentvalidator/playground/validator/StudentValidatorAnotherWay03.java b/src/test/java/br/com/fluentvalidator/playground/validator/StudentValidatorAnotherWay03.java index d6125d0..7329d09 100644 --- a/src/test/java/br/com/fluentvalidator/playground/validator/StudentValidatorAnotherWay03.java +++ b/src/test/java/br/com/fluentvalidator/playground/validator/StudentValidatorAnotherWay03.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.playground.validator; import static br.com.fluentvalidator.predicate.LogicalPredicate.not; diff --git a/src/test/java/br/com/fluentvalidator/predicate/CollectionPredicateTest.java b/src/test/java/br/com/fluentvalidator/predicate/CollectionPredicateTest.java index ebf6fff..96cdfa0 100644 --- a/src/test/java/br/com/fluentvalidator/predicate/CollectionPredicateTest.java +++ b/src/test/java/br/com/fluentvalidator/predicate/CollectionPredicateTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.predicate; import static br.com.fluentvalidator.predicate.CollectionPredicate.empty; diff --git a/src/test/java/br/com/fluentvalidator/predicate/ComparablePredicateTest.java b/src/test/java/br/com/fluentvalidator/predicate/ComparablePredicateTest.java index 47f44be..1488319 100644 --- a/src/test/java/br/com/fluentvalidator/predicate/ComparablePredicateTest.java +++ b/src/test/java/br/com/fluentvalidator/predicate/ComparablePredicateTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.predicate; import static br.com.fluentvalidator.function.FunctionBuilder.of; diff --git a/src/test/java/br/com/fluentvalidator/predicate/ComplexObjectFrom.java b/src/test/java/br/com/fluentvalidator/predicate/ComplexObjectFrom.java index e13f147..65c0922 100644 --- a/src/test/java/br/com/fluentvalidator/predicate/ComplexObjectFrom.java +++ b/src/test/java/br/com/fluentvalidator/predicate/ComplexObjectFrom.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.predicate; class ComplexObjectFrom { diff --git a/src/test/java/br/com/fluentvalidator/predicate/DatePredicateTest.java b/src/test/java/br/com/fluentvalidator/predicate/DatePredicateTest.java index 0a3da9e..345db00 100644 --- a/src/test/java/br/com/fluentvalidator/predicate/DatePredicateTest.java +++ b/src/test/java/br/com/fluentvalidator/predicate/DatePredicateTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.predicate; import static br.com.fluentvalidator.predicate.DatePredicate.dateBetween; diff --git a/src/test/java/br/com/fluentvalidator/predicate/DateTimePredicateTest.java b/src/test/java/br/com/fluentvalidator/predicate/DateTimePredicateTest.java index acf6dfc..a7e9048 100644 --- a/src/test/java/br/com/fluentvalidator/predicate/DateTimePredicateTest.java +++ b/src/test/java/br/com/fluentvalidator/predicate/DateTimePredicateTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.predicate; import static br.com.fluentvalidator.predicate.DateTimePredicate.dateTimeBetween; diff --git a/src/test/java/br/com/fluentvalidator/predicate/LocalDatePredicateTest.java b/src/test/java/br/com/fluentvalidator/predicate/LocalDatePredicateTest.java index 8100bfc..76f13b7 100644 --- a/src/test/java/br/com/fluentvalidator/predicate/LocalDatePredicateTest.java +++ b/src/test/java/br/com/fluentvalidator/predicate/LocalDatePredicateTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.predicate; import static br.com.fluentvalidator.predicate.LocalDatePredicate.localDateAfter; diff --git a/src/test/java/br/com/fluentvalidator/predicate/LocalDateTimePredicateTest.java b/src/test/java/br/com/fluentvalidator/predicate/LocalDateTimePredicateTest.java index 4d01248..2d0e817 100644 --- a/src/test/java/br/com/fluentvalidator/predicate/LocalDateTimePredicateTest.java +++ b/src/test/java/br/com/fluentvalidator/predicate/LocalDateTimePredicateTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.predicate; import static br.com.fluentvalidator.predicate.LocalDateTimePredicate.localDateTimeAfter; diff --git a/src/test/java/br/com/fluentvalidator/predicate/LocalTimePredicateTest.java b/src/test/java/br/com/fluentvalidator/predicate/LocalTimePredicateTest.java index f8abf63..87f3a20 100644 --- a/src/test/java/br/com/fluentvalidator/predicate/LocalTimePredicateTest.java +++ b/src/test/java/br/com/fluentvalidator/predicate/LocalTimePredicateTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.predicate; import static br.com.fluentvalidator.predicate.LocalTimePredicate.localTimeAfter; diff --git a/src/test/java/br/com/fluentvalidator/predicate/LogicalPredicateTest.java b/src/test/java/br/com/fluentvalidator/predicate/LogicalPredicateTest.java index a1056be..fd4db84 100644 --- a/src/test/java/br/com/fluentvalidator/predicate/LogicalPredicateTest.java +++ b/src/test/java/br/com/fluentvalidator/predicate/LogicalPredicateTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.predicate; import static br.com.fluentvalidator.predicate.LogicalPredicate.isFalse; diff --git a/src/test/java/br/com/fluentvalidator/predicate/MapPredicateTest.java b/src/test/java/br/com/fluentvalidator/predicate/MapPredicateTest.java index e5f3dff..4f6780f 100644 --- a/src/test/java/br/com/fluentvalidator/predicate/MapPredicateTest.java +++ b/src/test/java/br/com/fluentvalidator/predicate/MapPredicateTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.predicate; import static br.com.fluentvalidator.function.FunctionBuilder.of; diff --git a/src/test/java/br/com/fluentvalidator/predicate/ObjectFrom.java b/src/test/java/br/com/fluentvalidator/predicate/ObjectFrom.java index bbfab39..ef9e84d 100644 --- a/src/test/java/br/com/fluentvalidator/predicate/ObjectFrom.java +++ b/src/test/java/br/com/fluentvalidator/predicate/ObjectFrom.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.predicate; class ObjectFrom { diff --git a/src/test/java/br/com/fluentvalidator/predicate/ObjectPredicateTest.java b/src/test/java/br/com/fluentvalidator/predicate/ObjectPredicateTest.java index 90b3cee..1d6dd1c 100644 --- a/src/test/java/br/com/fluentvalidator/predicate/ObjectPredicateTest.java +++ b/src/test/java/br/com/fluentvalidator/predicate/ObjectPredicateTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.predicate; import static br.com.fluentvalidator.predicate.ObjectPredicate.equalObject; diff --git a/src/test/java/br/com/fluentvalidator/predicate/StringPredicateTest.java b/src/test/java/br/com/fluentvalidator/predicate/StringPredicateTest.java index 8ab925d..f6aa320 100644 --- a/src/test/java/br/com/fluentvalidator/predicate/StringPredicateTest.java +++ b/src/test/java/br/com/fluentvalidator/predicate/StringPredicateTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.predicate; import static br.com.fluentvalidator.predicate.StringPredicate.*; diff --git a/src/test/java/br/com/fluentvalidator/predicate/TimePredicateTest.java b/src/test/java/br/com/fluentvalidator/predicate/TimePredicateTest.java index a3ef429..a689ccd 100644 --- a/src/test/java/br/com/fluentvalidator/predicate/TimePredicateTest.java +++ b/src/test/java/br/com/fluentvalidator/predicate/TimePredicateTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.predicate; import static br.com.fluentvalidator.predicate.TimePredicate.timeBetween; diff --git a/src/test/java/br/com/fluentvalidator/rule/RuleBuilderCollectionTest.java b/src/test/java/br/com/fluentvalidator/rule/RuleBuilderCollectionTest.java index e51e706..a3fa508 100644 --- a/src/test/java/br/com/fluentvalidator/rule/RuleBuilderCollectionTest.java +++ b/src/test/java/br/com/fluentvalidator/rule/RuleBuilderCollectionTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.rule; import static br.com.fluentvalidator.predicate.CollectionPredicate.hasSize; diff --git a/src/test/java/br/com/fluentvalidator/rule/RuleBuilderPropertyTest.java b/src/test/java/br/com/fluentvalidator/rule/RuleBuilderPropertyTest.java index d45bf1c..34f1d1c 100644 --- a/src/test/java/br/com/fluentvalidator/rule/RuleBuilderPropertyTest.java +++ b/src/test/java/br/com/fluentvalidator/rule/RuleBuilderPropertyTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.rule; import static br.com.fluentvalidator.predicate.LogicalPredicate.isFalse; diff --git a/src/test/java/br/com/fluentvalidator/rule/RuleProcessorStrategyTest.java b/src/test/java/br/com/fluentvalidator/rule/RuleProcessorStrategyTest.java index 9fc35eb..9469888 100644 --- a/src/test/java/br/com/fluentvalidator/rule/RuleProcessorStrategyTest.java +++ b/src/test/java/br/com/fluentvalidator/rule/RuleProcessorStrategyTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.rule; import static br.com.fluentvalidator.predicate.LogicalPredicate.not; diff --git a/src/test/java/br/com/fluentvalidator/rule/RuleTest.java b/src/test/java/br/com/fluentvalidator/rule/RuleTest.java index c67fce1..9553727 100644 --- a/src/test/java/br/com/fluentvalidator/rule/RuleTest.java +++ b/src/test/java/br/com/fluentvalidator/rule/RuleTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.rule; import static org.junit.Assert.assertTrue; diff --git a/src/test/java/br/com/fluentvalidator/rule/ValidationRuleTest.java b/src/test/java/br/com/fluentvalidator/rule/ValidationRuleTest.java index f776e31..863106a 100644 --- a/src/test/java/br/com/fluentvalidator/rule/ValidationRuleTest.java +++ b/src/test/java/br/com/fluentvalidator/rule/ValidationRuleTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.rule; import static br.com.fluentvalidator.predicate.LogicalPredicate.not; diff --git a/src/test/java/br/com/fluentvalidator/spring/ValidatorSpringConfig.java b/src/test/java/br/com/fluentvalidator/spring/ValidatorSpringConfig.java index e96ecc2..78486f5 100644 --- a/src/test/java/br/com/fluentvalidator/spring/ValidatorSpringConfig.java +++ b/src/test/java/br/com/fluentvalidator/spring/ValidatorSpringConfig.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.spring; import org.springframework.context.annotation.ComponentScan; diff --git a/src/test/java/br/com/fluentvalidator/spring/ValidatorSpringTest.java b/src/test/java/br/com/fluentvalidator/spring/ValidatorSpringTest.java index aab75ec..6797b89 100644 --- a/src/test/java/br/com/fluentvalidator/spring/ValidatorSpringTest.java +++ b/src/test/java/br/com/fluentvalidator/spring/ValidatorSpringTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.spring; import static org.assertj.core.api.Assertions.assertThat; diff --git a/src/test/java/br/com/fluentvalidator/spring/validator/ValidatorSpringBoy.java b/src/test/java/br/com/fluentvalidator/spring/validator/ValidatorSpringBoy.java index 38407bb..48066da 100644 --- a/src/test/java/br/com/fluentvalidator/spring/validator/ValidatorSpringBoy.java +++ b/src/test/java/br/com/fluentvalidator/spring/validator/ValidatorSpringBoy.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.spring.validator; import static br.com.fluentvalidator.predicate.LogicalPredicate.not; diff --git a/src/test/java/br/com/fluentvalidator/spring/validator/ValidatorSpringChild.java b/src/test/java/br/com/fluentvalidator/spring/validator/ValidatorSpringChild.java index 403f854..fb82b77 100644 --- a/src/test/java/br/com/fluentvalidator/spring/validator/ValidatorSpringChild.java +++ b/src/test/java/br/com/fluentvalidator/spring/validator/ValidatorSpringChild.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.spring.validator; import static br.com.fluentvalidator.predicate.ComparablePredicate.greaterThanOrEqual; diff --git a/src/test/java/br/com/fluentvalidator/spring/validator/ValidatorSpringGirl.java b/src/test/java/br/com/fluentvalidator/spring/validator/ValidatorSpringGirl.java index 7d4cfb0..c16de33 100644 --- a/src/test/java/br/com/fluentvalidator/spring/validator/ValidatorSpringGirl.java +++ b/src/test/java/br/com/fluentvalidator/spring/validator/ValidatorSpringGirl.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.spring.validator; import static br.com.fluentvalidator.predicate.LogicalPredicate.not; diff --git a/src/test/java/br/com/fluentvalidator/spring/validator/ValidatorSpringId.java b/src/test/java/br/com/fluentvalidator/spring/validator/ValidatorSpringId.java index 26b469b..ed132ee 100644 --- a/src/test/java/br/com/fluentvalidator/spring/validator/ValidatorSpringId.java +++ b/src/test/java/br/com/fluentvalidator/spring/validator/ValidatorSpringId.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.spring.validator; import static br.com.fluentvalidator.predicate.StringPredicate.stringMatches; diff --git a/src/test/java/br/com/fluentvalidator/spring/validator/ValidatorSpringParent.java b/src/test/java/br/com/fluentvalidator/spring/validator/ValidatorSpringParent.java index 1c829a6..c67464b 100644 --- a/src/test/java/br/com/fluentvalidator/spring/validator/ValidatorSpringParent.java +++ b/src/test/java/br/com/fluentvalidator/spring/validator/ValidatorSpringParent.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.spring.validator; import static br.com.fluentvalidator.predicate.CollectionPredicate.empty; diff --git a/src/test/java/br/com/fluentvalidator/transform/ValidationResultTransformTest.java b/src/test/java/br/com/fluentvalidator/transform/ValidationResultTransformTest.java index dd398f4..228bc8a 100644 --- a/src/test/java/br/com/fluentvalidator/transform/ValidationResultTransformTest.java +++ b/src/test/java/br/com/fluentvalidator/transform/ValidationResultTransformTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.transform; import static org.hamcrest.MatcherAssert.assertThat; diff --git a/src/test/java/br/com/fluentvalidator/validator/ValidatorBill.java b/src/test/java/br/com/fluentvalidator/validator/ValidatorBill.java index 5145be3..cfa3451 100644 --- a/src/test/java/br/com/fluentvalidator/validator/ValidatorBill.java +++ b/src/test/java/br/com/fluentvalidator/validator/ValidatorBill.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.validator; import br.com.fluentvalidator.AbstractValidator; diff --git a/src/test/java/br/com/fluentvalidator/validator/ValidatorBoy.java b/src/test/java/br/com/fluentvalidator/validator/ValidatorBoy.java index 6eaf37c..84e6f95 100644 --- a/src/test/java/br/com/fluentvalidator/validator/ValidatorBoy.java +++ b/src/test/java/br/com/fluentvalidator/validator/ValidatorBoy.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.validator; import static br.com.fluentvalidator.predicate.LogicalPredicate.not; diff --git a/src/test/java/br/com/fluentvalidator/validator/ValidatorChild.java b/src/test/java/br/com/fluentvalidator/validator/ValidatorChild.java index f5c8dd7..1d0c042 100644 --- a/src/test/java/br/com/fluentvalidator/validator/ValidatorChild.java +++ b/src/test/java/br/com/fluentvalidator/validator/ValidatorChild.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.validator; import static br.com.fluentvalidator.predicate.ComparablePredicate.greaterThanOrEqual; diff --git a/src/test/java/br/com/fluentvalidator/validator/ValidatorGirl.java b/src/test/java/br/com/fluentvalidator/validator/ValidatorGirl.java index 1011e96..033fd93 100644 --- a/src/test/java/br/com/fluentvalidator/validator/ValidatorGirl.java +++ b/src/test/java/br/com/fluentvalidator/validator/ValidatorGirl.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.validator; import static br.com.fluentvalidator.predicate.LogicalPredicate.not; diff --git a/src/test/java/br/com/fluentvalidator/validator/ValidatorId.java b/src/test/java/br/com/fluentvalidator/validator/ValidatorId.java index 35473c3..4cd7525 100644 --- a/src/test/java/br/com/fluentvalidator/validator/ValidatorId.java +++ b/src/test/java/br/com/fluentvalidator/validator/ValidatorId.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.validator; import static br.com.fluentvalidator.predicate.StringPredicate.stringMatches; diff --git a/src/test/java/br/com/fluentvalidator/validator/ValidatorParent.java b/src/test/java/br/com/fluentvalidator/validator/ValidatorParent.java index 763b0fd..e190c4e 100644 --- a/src/test/java/br/com/fluentvalidator/validator/ValidatorParent.java +++ b/src/test/java/br/com/fluentvalidator/validator/ValidatorParent.java @@ -1,3 +1,19 @@ +/* + * Copyright 2019 the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package br.com.fluentvalidator.validator; import static br.com.fluentvalidator.predicate.CollectionPredicate.empty;