Skip to content

Commit

Permalink
Fix checkstyle errors
Browse files Browse the repository at this point in the history
Try to catch errors earlier
  • Loading branch information
jodastephen committed Oct 30, 2018
1 parent 0ef60e4 commit c31b328
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import com.opengamma.strata.data.MarketDataName;

/**
* Builder for {@code CurrencyParameterSensitivities}
* Builder for {@code CurrencyParameterSensitivities}.
*/
public final class CurrencyParameterSensitivitiesBuilder {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import com.opengamma.strata.product.PortfolioItemInfo;

/**
* Builder for {@code CurveSensitivities}
* Builder for {@code CurveSensitivities}.
*/
public final class CurveSensitivitiesBuilder {

Expand Down
5 changes: 4 additions & 1 deletion modules/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@
<goals>
<goal>checkstyle</goal>
</goals>
<configuration>
<failsOnError>true</failsOnError>
</configuration>
</execution>
</executions>
</plugin>
Expand Down Expand Up @@ -631,7 +634,7 @@
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>${project.artifactId}</artifactId>
<version>1.3.0</version>
<version>2.0.0</version>
</dependency>
</oldVersion>
</configuration>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,17 @@ public final class SimpleLegalEntity implements LegalEntity, Serializable, Immut
* The legal entity identifier.
*/
@PropertyDefinition(validate = "notNull", overrideGet = true)
public final LegalEntityId legalEntityId;
private final LegalEntityId legalEntityId;
/**
* The legal entity name.
*/
@PropertyDefinition(validate = "notNull", overrideGet = true)
public final String name;
private final String name;
/**
* The country that the legal entity is based in.
*/
@PropertyDefinition(validate = "notNull", overrideGet = true)
public final Country country;
private final Country country;

//------------------------- AUTOGENERATED START -------------------------
/**
Expand Down

0 comments on commit c31b328

Please sign in to comment.