-
Notifications
You must be signed in to change notification settings - Fork 83
Closed
Milestone
Description
Several of the TCK properties files use Java-style multi-line comment blocks with /* ... */. This is not valid for properties and these should be updated to use # comments. Some config providers may process these as actual properties, resulting in unexpected warnings such as:
io.smallrye.config.ConfigValueConfigSource$ConfigValueProperties load0 SRCFG01007: Duplicate value found for name : *, config source name : PropertiesConfigSource[source=file:/tmp/jetty-localhost-8080-export10767443824762051966petstore_war-_export10767443824762051966petstore-any-7297070095780010405/webapp/WEB-INF/classes/META-INF/microprofile-config.properties], (old value : Copyright (c) 2019 Contributors to the Eclipse Foundation)
Example:
microprofile-open-api/tck/src/main/resources/class-microprofile-config.properties
Lines 1 to 15 in 1d51cfb
| /** | |
| * Copyright (c) 2017 Contributors to the Eclipse Foundation | |
| * <p> | |
| * 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 | |
| * <p> | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * <p> | |
| * 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. | |
| */ |