mirror of
https://github.com/mapstruct/mapstruct.git
synced 2025-07-12 00:00:08 +08:00
Automatically handling line endings
This commit is contained in:
parent
286a214fcd
commit
9b14a3509b
15
.gitattributes
vendored
Normal file
15
.gitattributes
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
# Repository specific GIT options
|
||||
|
||||
# Set default handling of line endings
|
||||
* text=auto
|
||||
|
||||
# Explicitly declare text files we want to always be normalized and converted
|
||||
# to native line endings on checkout.
|
||||
*.java text
|
||||
*.xml text
|
||||
*.txt text
|
||||
*.md text
|
||||
|
||||
# Java-friendly readable chunk headers
|
||||
|
||||
*.java diff=java
|
@ -1,31 +1,31 @@
|
||||
/**
|
||||
* Copyright 2012-2013 Gunnar Morling (http://www.gunnarmorling.de/)
|
||||
*
|
||||
* 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 org.mapstruct.ap.model;
|
||||
|
||||
public class Options
|
||||
{
|
||||
private final boolean suppressGeneratorTimestamp;
|
||||
|
||||
public Options( boolean suppressGeneratorTimestamp )
|
||||
{
|
||||
this.suppressGeneratorTimestamp = suppressGeneratorTimestamp;
|
||||
}
|
||||
|
||||
public boolean isSuppressGeneratorTimestamp()
|
||||
{
|
||||
return suppressGeneratorTimestamp;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Copyright 2012-2013 Gunnar Morling (http://www.gunnarmorling.de/)
|
||||
*
|
||||
* 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 org.mapstruct.ap.model;
|
||||
|
||||
public class Options
|
||||
{
|
||||
private final boolean suppressGeneratorTimestamp;
|
||||
|
||||
public Options( boolean suppressGeneratorTimestamp )
|
||||
{
|
||||
this.suppressGeneratorTimestamp = suppressGeneratorTimestamp;
|
||||
}
|
||||
|
||||
public boolean isSuppressGeneratorTimestamp()
|
||||
{
|
||||
return suppressGeneratorTimestamp;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user