Skip to content
Snippets Groups Projects
Commit ed78c50d authored by Emmanuel Bruno's avatar Emmanuel Bruno
Browse files

fixes typos.

parent ae75ada5
No related branches found
No related tags found
No related merge requests found
mvn sonar:sonar -D sonar.branch.name="$(git rev-parse --abbrev-ref HEAD|tr / _ )" -DskipTests=true -Dsonar.language=java -Dsonar.report.export.path=sonar-report.json -Dsonar.host.url=http://localhost:9000 --activate-profiles sonar
...@@ -20,7 +20,7 @@ import java.io.Serializable; ...@@ -20,7 +20,7 @@ import java.io.Serializable;
@NoArgsConstructor(staticName = "of") @NoArgsConstructor(staticName = "of")
public class BiblioModel { public class BiblioModel {
private static long lastId = 0; private static long lastId = 0;
MutableLongObjectMap<Auteur> auteurs = LongObjectMaps.mutable.empty(); final MutableLongObjectMap<Auteur> auteurs = LongObjectMaps.mutable.empty();
public Auteur addAuteur(Auteur auteur) throws IllegalArgumentException { public Auteur addAuteur(Auteur auteur) throws IllegalArgumentException {
if (auteur.id != 0) throw new IllegalArgumentException(); if (auteur.id != 0) throw new IllegalArgumentException();
......
...@@ -79,7 +79,7 @@ public class BiblioModelTest { ...@@ -79,7 +79,7 @@ public class BiblioModelTest {
@Test @Test
public void of() { public void of() {
BiblioModel modeleBibliotheque1 = modeleBibliotheque.of(); BiblioModel modeleBibliotheque1 = BiblioModel.of();
assertNotNull(modeleBibliotheque1); assertNotNull(modeleBibliotheque1);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment