Project

General

Profile

Task #4669

Story #4654: Independent review of d1_common_java

- Regarding the style: A good addition to the types would be some builders, static factories and constructors as applicable

Added by Dave Vieglais almost 10 years ago. Updated about 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
2014-03-31
Due date:
% Done:

0%

Story Points:
Sprint:

Description

  • Regarding the style: A good addition to the types would be some builders, static factories and constructors as applicable (the implementations are verbose and repetitive) Consider how a Log assembly could look with the builder pattern: Log log = Log.builder() .add( LogEntry.builder().entryId("1").ipAddress("127.0.0.1").userAgent("Tim").build()) .add( LogEntry.builder().entryId("1").ipAddress("127.0.0.1").userAgent("Tim").build()) .build();

History

#1 Updated by Dave Vieglais over 9 years ago

  • Target version set to Release Backlog

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)