mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-21 00:24:17 +00:00
deps: Refactor dependencies (#3224)
* remove spring dep move junit, logging, mockito under dep mgmt * upgrade anti-corruption-layer deps * async method invocation * balking, bloc * bridge to bytecode * caching * callback - cqrs * component - health check * hexagonal - metadata mapping * rest of the patterns * remove checkstyle, take spotless into use
This commit is contained in:
@@ -43,9 +43,7 @@ import lombok.extern.slf4j.Slf4j;
|
||||
@Slf4j
|
||||
public class App {
|
||||
|
||||
/**
|
||||
* This example creates three HeroStats (value objects) and checks equality between those.
|
||||
*/
|
||||
/** This example creates three HeroStats (value objects) and checks equality between those. */
|
||||
public static void main(String[] args) {
|
||||
var statA = HeroStat.valueOf(10, 5, 0);
|
||||
var statB = HeroStat.valueOf(10, 5, 0);
|
||||
|
||||
@@ -31,8 +31,7 @@ import lombok.Value;
|
||||
* HeroStat is a value object.
|
||||
*
|
||||
* @see <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/doc-files/ValueBased.html">
|
||||
* http://docs.oracle.com/javase/8/docs/api/java/lang/doc-files/ValueBased.html
|
||||
* </a>
|
||||
* http://docs.oracle.com/javase/8/docs/api/java/lang/doc-files/ValueBased.html </a>
|
||||
*/
|
||||
@Value(staticConstructor = "valueOf")
|
||||
@ToString
|
||||
|
||||
Reference in New Issue
Block a user