diff --git a/libraries-testing/src/main/java/com/baeldung/archunit/smurfs/persistence/domain/Smurf.java b/libraries-testing/src/main/java/com/baeldung/archunit/smurfs/persistence/domain/Smurf.java index 04427a8037..255a024cdc 100644 --- a/libraries-testing/src/main/java/com/baeldung/archunit/smurfs/persistence/domain/Smurf.java +++ b/libraries-testing/src/main/java/com/baeldung/archunit/smurfs/persistence/domain/Smurf.java @@ -13,44 +13,26 @@ public class Smurf { this.cartoon = cartoon; } - /** - * @return the name - */ public String getName() { return name; } - /** - * @param name the name to set - */ public void setName(String name) { this.name = name; } - /** - * @return the commic - */ public boolean isComic() { return comic; } - /** - * @param commic the commic to set - */ public void setCommic(boolean comic) { this.comic = comic; } - /** - * @return the cartoon - */ public boolean isCartoon() { return cartoon; } - /** - * @param cartoon the cartoon to set - */ public void setCartoon(boolean cartoon) { this.cartoon = cartoon; } diff --git a/libraries-testing/src/main/java/com/baeldung/archunit/smurfs/service/dto/SmurfDTO.java b/libraries-testing/src/main/java/com/baeldung/archunit/smurfs/service/dto/SmurfDTO.java index ac87b2137c..523c639c41 100644 --- a/libraries-testing/src/main/java/com/baeldung/archunit/smurfs/service/dto/SmurfDTO.java +++ b/libraries-testing/src/main/java/com/baeldung/archunit/smurfs/service/dto/SmurfDTO.java @@ -14,43 +14,28 @@ public class SmurfDTO { this.cartoon = cartoon; } - - /** - * @return the name - */ public String getName() { return name; } - /** - * @param name the name to set - */ + public void setName(String name) { this.name = name; } - /** - * @return the commic - */ + public boolean isComic() { return comic; } - /** - * @param commic the commic to set - */ + public void setCommic(boolean comic) { this.comic = comic; } - /** - * @return the cartoon - */ + public boolean isCartoon() { return cartoon; } - /** - * @param cartoon the cartoon to set - */ + public void setCartoon(boolean cartoon) { this.cartoon = cartoon; } - }