mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-26 01:58:34 +00:00
refactor: sanitize javadoc
This commit is contained in:
@@ -28,7 +28,6 @@ package com.iluwatar.intercepting.filter;
|
||||
* Concrete implementation of filter This filter is responsible for checking/filtering the input in
|
||||
* the address field.
|
||||
*
|
||||
* @author joshzambales
|
||||
*/
|
||||
public class AddressFilter extends AbstractFilter {
|
||||
|
||||
|
||||
@@ -45,7 +45,6 @@ package com.iluwatar.intercepting.filter;
|
||||
* <p>In this example we check whether the order request is valid through pre-processing done via
|
||||
* {@link Filter}. Each field has its own corresponding {@link Filter}.
|
||||
*
|
||||
* @author joshzambales
|
||||
*/
|
||||
public class App {
|
||||
|
||||
|
||||
@@ -46,7 +46,6 @@ import javax.swing.WindowConstants;
|
||||
* <p>This is where {@link Filter}s come to play as the client pre-processes the request before
|
||||
* being displayed in the {@link Target}.
|
||||
*
|
||||
* @author joshzambales
|
||||
*/
|
||||
public class Client extends JFrame { // NOSONAR
|
||||
|
||||
|
||||
@@ -29,7 +29,6 @@ package com.iluwatar.intercepting.filter;
|
||||
* the input consist of numbers and it also checks if the input follows the length constraint (11
|
||||
* digits).
|
||||
*
|
||||
* @author joshzambales
|
||||
*/
|
||||
public class ContactFilter extends AbstractFilter {
|
||||
|
||||
|
||||
@@ -27,7 +27,6 @@ package com.iluwatar.intercepting.filter;
|
||||
/**
|
||||
* Concrete implementation of filter This checks for the deposit code.
|
||||
*
|
||||
* @author joshzambales
|
||||
*/
|
||||
public class DepositFilter extends AbstractFilter {
|
||||
|
||||
|
||||
@@ -28,7 +28,6 @@ package com.iluwatar.intercepting.filter;
|
||||
* Filters perform certain tasks prior or after execution of request by request handler. In this
|
||||
* case, before the request is handled by the target, the request undergoes through each Filter
|
||||
*
|
||||
* @author joshzambales
|
||||
*/
|
||||
public interface Filter {
|
||||
|
||||
|
||||
@@ -28,7 +28,6 @@ package com.iluwatar.intercepting.filter;
|
||||
/**
|
||||
* Filter Chain carries multiple filters and help to execute them in defined order on target.
|
||||
*
|
||||
* @author joshzambales
|
||||
*/
|
||||
public class FilterChain {
|
||||
|
||||
|
||||
@@ -27,7 +27,6 @@ package com.iluwatar.intercepting.filter;
|
||||
/**
|
||||
* Filter Manager manages the filters and {@link FilterChain}.
|
||||
*
|
||||
* @author joshzambales
|
||||
*/
|
||||
public class FilterManager {
|
||||
|
||||
|
||||
@@ -28,7 +28,6 @@ package com.iluwatar.intercepting.filter;
|
||||
* Concrete implementation of filter. This filter checks if the input in the Name field is valid.
|
||||
* (alphanumeric)
|
||||
*
|
||||
* @author joshzambales
|
||||
*/
|
||||
public class NameFilter extends AbstractFilter {
|
||||
|
||||
|
||||
@@ -27,7 +27,6 @@ package com.iluwatar.intercepting.filter;
|
||||
/**
|
||||
* Concrete implementation of filter. This checks for the order field.
|
||||
*
|
||||
* @author joshzambales
|
||||
*/
|
||||
public class OrderFilter extends AbstractFilter {
|
||||
|
||||
|
||||
@@ -42,7 +42,6 @@ import javax.swing.table.DefaultTableModel;
|
||||
/**
|
||||
* This is where the requests are displayed after being validated by filters.
|
||||
*
|
||||
* @author mjoshzambales
|
||||
*/
|
||||
public class Target extends JFrame { //NOSONAR
|
||||
|
||||
|
||||
+1
-2
@@ -35,9 +35,8 @@ import static org.mockito.Mockito.when;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
/**
|
||||
* Date: 12/13/15 - 3:01 PM
|
||||
* FilterManagerTest
|
||||
*
|
||||
* @author Jeroen Meulemeester
|
||||
*/
|
||||
class FilterManagerTest {
|
||||
|
||||
|
||||
@@ -34,9 +34,8 @@ import org.junit.jupiter.params.ParameterizedTest;
|
||||
import org.junit.jupiter.params.provider.MethodSource;
|
||||
|
||||
/**
|
||||
* Date: 12/13/15 - 2:17 PM
|
||||
* FilterTest
|
||||
*
|
||||
* @author Jeroen Meulemeester
|
||||
*/
|
||||
class FilterTest {
|
||||
|
||||
|
||||
@@ -29,9 +29,8 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
/**
|
||||
* Date: 12/13/15 - 2:57 PM
|
||||
* OrderTest
|
||||
*
|
||||
* @author Jeroen Meulemeester
|
||||
*/
|
||||
class OrderTest {
|
||||
|
||||
|
||||
@@ -30,9 +30,8 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
/**
|
||||
* Date: 01/29/23 - 1:33 PM
|
||||
* TargetTest
|
||||
*
|
||||
* @author Rahul Raj
|
||||
*/
|
||||
class TargetTest {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user