Applying formatting style

This commit is contained in:
Gunnar Morling 2013-05-13 22:38:36 +02:00
parent 9b14a3509b
commit ea942eb707
3 changed files with 11 additions and 10 deletions

View File

@ -83,8 +83,8 @@ public class MappingProcessor extends AbstractProcessor {
return ANNOTATIONS_CLAIMED_EXCLUSIVELY;
}
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 ) ) );
}
}

View File

@ -75,8 +75,7 @@ public class Mapper {
return usedMapperTypes;
}
public Options getOptions()
{
public Options getOptions() {
return options;
}
}

View File

@ -15,17 +15,19 @@
*/
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;
public Options( boolean suppressGeneratorTimestamp )
{
public Options(boolean suppressGeneratorTimestamp) {
this.suppressGeneratorTimestamp = suppressGeneratorTimestamp;
}
public boolean isSuppressGeneratorTimestamp()
{
public boolean isSuppressGeneratorTimestamp() {
return suppressGeneratorTimestamp;
}
}