Skip to content

Conversation

@glelouet
Copy link
Contributor

@glelouet glelouet commented Oct 3, 2025

Allows to add licenses in the examples

@glelouet
Copy link
Contributor Author

glelouet commented Oct 3, 2025

@phax
I can't add preformated header ?
The first line is always back to the first column, even though the parameter does not have it.

				<configuration>
					<classHeader>

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

            http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.

					</classHeader>
				</configuration>

produces :

/**
 * Licensed under the Apache License, Version 2.0 (the "License");
 *     you may not use this file except in compliance with the License.
 *     You may obtain a copy of the License at
 * 
 *             http://www.apache.org/licenses/LICENSE-2.0
 * 
 *     Unless required by applicable law or agreed to in writing, software
 *     distributed under the License is distributed on an "AS IS" BASIS,
 *     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *     See the License for the specific language governing permissions and
 *     limitations under the License.
 */
package com.helger.jcodemodel.examples.plugin.csv.basic;

public class SimpleFields {

@glelouet glelouet changed the title [WiP] add classes headers Classes headers Oct 5, 2025
@phax phax merged commit a3135be into phax:master Nov 2, 2025
1 check passed
@glelouet glelouet deleted the addlicenses branch November 2, 2025 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants