T235 Removed unnecessary methods
This commit is contained in:
		| @@ -10,7 +10,6 @@ import javax.validation.ConstraintViolationException; | |||||||
| import java.util.ArrayList; | import java.util.ArrayList; | ||||||
| import java.util.List; | import java.util.List; | ||||||
|  |  | ||||||
| //TODO: Is it really necessary? |  | ||||||
|  |  | ||||||
| /** | /** | ||||||
|  * Custom exception handler for {@link ConstraintViolationException} |  * Custom exception handler for {@link ConstraintViolationException} | ||||||
|   | |||||||
| @@ -17,7 +17,6 @@ import java.util.stream.Stream; | |||||||
| public class HttpCodeValidation implements ConstraintValidator<HttpCode, Integer> { | public class HttpCodeValidation implements ConstraintValidator<HttpCode, Integer> { | ||||||
|     private Set<Integer> allowedValues; |     private Set<Integer> allowedValues; | ||||||
|  |  | ||||||
|     //TODO: Find use of targetEnum |  | ||||||
|     /** |     /** | ||||||
|      * Initializes {@link #allowedValues} with possible http status values. |      * Initializes {@link #allowedValues} with possible http status values. | ||||||
|      * @param targetEnum HttpCode context |      * @param targetEnum HttpCode context | ||||||
| @@ -29,7 +28,6 @@ public class HttpCodeValidation implements ConstraintValidator<HttpCode, Integer | |||||||
|                 .collect(Collectors.toSet()); |                 .collect(Collectors.toSet()); | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     //TODO: Find use of ConstraintValidatorContext |  | ||||||
|     /** |     /** | ||||||
|      * @param integer value of {@link MockedMessageDto#getHttpStatus()} or {@link MockedMessage#getHttpStatus()} |      * @param integer value of {@link MockedMessageDto#getHttpStatus()} or {@link MockedMessage#getHttpStatus()} | ||||||
|      * @param context context for validation |      * @param context context for validation | ||||||
|   | |||||||
| @@ -21,6 +21,4 @@ public interface MockedResponseRepository extends CrudRepository<MockedMessage, | |||||||
|      * @return list of {@link com.release11.klaus.model.MockedMessage} |      * @return list of {@link com.release11.klaus.model.MockedMessage} | ||||||
|      */ |      */ | ||||||
|     List<MockedMessage> findAllByClientUUID(UUID clientUUID); |     List<MockedMessage> findAllByClientUUID(UUID clientUUID); | ||||||
| //    TODO: Remove if no use |  | ||||||
|     MockedMessage getByCompositePrimaryKey(String compositePrimaryKey); |  | ||||||
| } | } | ||||||
|   | |||||||
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
		Reference in New Issue
	
	Block a user