Skip to content

Commit

Permalink
Merge pull request #807 from jeffgbutler/build-errors
Browse files Browse the repository at this point in the history
Fix Jacoco Build Error
  • Loading branch information
jeffgbutler authored Jun 3, 2024
2 parents ed8cf05 + 21f0978 commit d66b9e0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,15 @@

<build>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<configuration>
<excludes>
<exclude>org/jetbrains/kotlin/**/*</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ default Optional<GeneratedAlwaysRecord> selectByPrimaryKey(Integer _id) {
return selectOne(c -> c.where(id, isEqualTo(_id)));
}

default int insert(GeneratedAlwaysRecord record) {
return MyBatis3Utils.insert(this::insert, record, generatedAlways, c ->
default int insert(GeneratedAlwaysRecord row) {
return MyBatis3Utils.insert(this::insert, row, generatedAlways, c ->
c.map(id).toProperty("id")
.map(firstName).toProperty("firstName")
.map(lastName).toProperty("lastName")
Expand Down

0 comments on commit d66b9e0

Please sign in to comment.