Design patterns implemented in Java
23 matches across 6 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | combinator/README.md | 0 | it was many and many a year ago, in a kingdom by the sea, that a maiden there lived whom you may know by the name of ann |
| HIGH | …src/test/java/com/iluwatar/combinator/FindersTest.java | 0 | it was many and many a year ago, in a kingdom by the sea, that a maiden there lived whom you may know by the name of ann |
| HIGH | …c/main/java/com/iluwatar/combinator/CombinatorApp.java | 0 | it was many and many a year ago, in a kingdom by the sea, that a maiden there lived whom you may know by the name of ann |
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | …main/java/com/iluwatar/servicetoworker/GiantModel.java | 48 | this.model = new com.iluwatar.model.view.controller.GiantModel(health, fatigue, nourishment); |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | notification/README.md | 81 | var form = new RegisterWorkerForm("John Doe", "Engineer", LocalDate.of(1990, 1, 1)); |
| LOW | …src/test/java/com/iluwatar/RegisterWorkerFormTest.java | 41 | registerWorkerForm = new RegisterWorkerForm("John Doe", "Engineer", LocalDate.of(1990, 1, 1)); |
| LOW | …src/test/java/com/iluwatar/RegisterWorkerFormTest.java | 52 | assertEquals("John Doe", registerWorkerForm.worker.getName()); |
| LOW | …atar/hexagonal/database/MongoTicketRepositoryTest.java | 78 | var details = new PlayerDetails("foo@bar.com", "123-123", "07001234"); |
| LOW | …atar/hexagonal/database/MongoTicketRepositoryTest.java | 88 | assertEquals("foo@bar.com", ticket.playerDetails().email()); |
| LOW | …java/com/iluwatar/hexagonal/test/LotteryTestUtils.java | 40 | return createLotteryTicket("foo@bar.com", "12231-213132", "+99324554", Set.of(1, 2, 3, 4)); |
| LOW | …st/java/com/iluwatar/monolithic/MonolithicAppTest.java | 109 | User mockUser = new User(1L, "John Doe", "john@example.com", "password123"); |
| LOW | …st/java/com/iluwatar/monolithic/MonolithicAppTest.java | 181 | User mockUser = new User(1L, "John Doe", "john@example.com", "password123"); |
| LOW | …st/java/com/iluwatar/monolithic/MonolithicAppTest.java | 241 | .thenReturn(new User(1L, "John Doe", "john@example.com", "password123")); |
| LOW | …st/java/com/iluwatar/monolithic/MonolithicAppTest.java | 248 | new User(1L, "John Doe", "john@example.com", "password123"), |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | caching/docker-compose.yml | 1 | # |
| LOW | localization/pt/facade/README.md | 181 | // Dwarf cart operator goes to the mine. |
| LOW | localization/zh/bridge/README.md | 161 | enchantedSword.unwield(); |
| LOW | localization/zh/facade/README.md | 161 | // Dwarf cart operator wakes up. |
| LOW | localization/ar/facade/README.md | 181 | // Dwarven tunnel digger goes to the mine. |
| LOW | localization/ko/facade/README.md | 181 | // Dwarven tunnel digger wakes up. |
| LOW | localization/es/facade/README.md | 181 | // Dwarven tunnel digger goes to the mine. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | …t/src/main/java/com/iluwatar/component/GameObject.java | 77 | * simply a duplicate of update() without the key event for demonstration purposes. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | localization/zh/chain/README.md | 64 | public abstract class RequestHandler { |