lol small diff fix

This commit is contained in:
Filip Izydorczyk 2020-10-02 18:01:51 +02:00
parent 30222d6856
commit fe5d2d20c3
3 changed files with 16 additions and 16 deletions

View File

@ -16,8 +16,8 @@
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>14</maven.compiler.source> <maven.compiler.source>1.14</maven.compiler.source>
<maven.compiler.target>14</maven.compiler.target> <maven.compiler.target>1.14</maven.compiler.target>
</properties> </properties>
<dependencies> <dependencies>

View File

@ -54,7 +54,7 @@ public class CommisionServiceTest {
final Commision result = this.service.getNewestCommision(usr) final Commision result = this.service.getNewestCommision(usr)
.orElseThrow(() -> new NullPointerException("There was no commision")); .orElseThrow(() -> new NullPointerException("There was no commision"));
assertTrue("Wrong commision was returned", result.getId() == newestCommision.getId()); assertTrue("Wrong commision was returned", result.getId().equals(newestCommision.getId()));
} }
} }

View File

@ -18,8 +18,8 @@
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>14</maven.compiler.source> <maven.compiler.source>1.14</maven.compiler.source>
<maven.compiler.target>14</maven.compiler.target> <maven.compiler.target>1.14</maven.compiler.target>
<start-class>com.plannaplan.App</start-class> <start-class>com.plannaplan.App</start-class>
</properties> </properties>