mirror of
https://github.com/mapstruct/mapstruct.git
synced 2025-07-12 00:00:08 +08:00
Applying formatting style
This commit is contained in:
parent
9b14a3509b
commit
ea942eb707
@ -83,8 +83,8 @@ public class MappingProcessor extends AbstractProcessor {
|
|||||||
|
|
||||||
return ANNOTATIONS_CLAIMED_EXCLUSIVELY;
|
return ANNOTATIONS_CLAIMED_EXCLUSIVELY;
|
||||||
}
|
}
|
||||||
|
|
||||||
private Options createOptions() {
|
private Options createOptions() {
|
||||||
return new Options(Boolean.valueOf( processingEnv.getOptions().get( SUPPRESS_GENERATOR_TIMESTAMP )));
|
return new Options( Boolean.valueOf( processingEnv.getOptions().get( SUPPRESS_GENERATOR_TIMESTAMP ) ) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -75,8 +75,7 @@ public class Mapper {
|
|||||||
return usedMapperTypes;
|
return usedMapperTypes;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Options getOptions()
|
public Options getOptions() {
|
||||||
{
|
|
||||||
return options;
|
return options;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -15,17 +15,19 @@
|
|||||||
*/
|
*/
|
||||||
package org.mapstruct.ap.model;
|
package org.mapstruct.ap.model;
|
||||||
|
|
||||||
public class Options
|
/**
|
||||||
{
|
* The options passed to the code generator.
|
||||||
|
*
|
||||||
|
* @author Andreas Gudian
|
||||||
|
*/
|
||||||
|
public class Options {
|
||||||
private final boolean suppressGeneratorTimestamp;
|
private final boolean suppressGeneratorTimestamp;
|
||||||
|
|
||||||
public Options( boolean suppressGeneratorTimestamp )
|
public Options(boolean suppressGeneratorTimestamp) {
|
||||||
{
|
|
||||||
this.suppressGeneratorTimestamp = suppressGeneratorTimestamp;
|
this.suppressGeneratorTimestamp = suppressGeneratorTimestamp;
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isSuppressGeneratorTimestamp()
|
public boolean isSuppressGeneratorTimestamp() {
|
||||||
{
|
|
||||||
return suppressGeneratorTimestamp;
|
return suppressGeneratorTimestamp;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user