mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-14 16:58:47 +00:00
* #2449 bump maven-checkstyle-plugin from 3.1.0 to 3.2.0 + resolve checkstyle issues * remove FileSelectorJFrame.java to resolve checkstyle issue * remove FileSelectorJFrame.java to resolve checkstyle issue * remove FileSelectorJFrame.java to resolve checkstyle issue * add refactored file with correct filename to resolve checkstyle issue * add the test data * change filenames from JFrame to Jframe for checkstyle * fix code smell from sonar report * add new testcases to improve the test coverage * remove code smell
This commit is contained in:
@@ -24,6 +24,9 @@
|
||||
*/
|
||||
package com.iluwatar.parameter.object;
|
||||
|
||||
/**
|
||||
* ParameterObject.
|
||||
*/
|
||||
public class ParameterObject {
|
||||
|
||||
/**
|
||||
@@ -83,6 +86,9 @@ public class ParameterObject {
|
||||
type, sortBy, sortOrder);
|
||||
}
|
||||
|
||||
/**
|
||||
* Builder for ParameterObject.
|
||||
*/
|
||||
public static final class Builder {
|
||||
|
||||
private String type;
|
||||
|
||||
@@ -24,6 +24,9 @@
|
||||
*/
|
||||
package com.iluwatar.parameter.object;
|
||||
|
||||
/**
|
||||
* SearchService to demonstrate parameter object pattern.
|
||||
*/
|
||||
public class SearchService {
|
||||
|
||||
/**
|
||||
|
||||
@@ -24,6 +24,9 @@
|
||||
*/
|
||||
package com.iluwatar.parameter.object;
|
||||
|
||||
/**
|
||||
* enum for sort order types.
|
||||
*/
|
||||
public enum SortOrder {
|
||||
ASC("asc"),
|
||||
DESC("desc");
|
||||
|
||||
Reference in New Issue
Block a user