Skip to content

Commit 7429e62

Browse files
Fix(docs): Address feedback from PR #103
This commit addresses the feedback provided by javier-godoy on PR #103: - Updated Javadoc for `AttributeConstraint.java` to clarify it as a specialization of `Constraint`. - Updated Javadoc for `ConstraintTransformerJpaImpl.java` and `ConstraintSpecification.java` to use `{@code}` for supertypes and implemented interfaces, as per FlowingCode development conventions. - Added author information to the License section in README.md.
1 parent 93fb78f commit 7429e62

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,3 +107,5 @@ Contributions are welcome! Please follow the process outlined below:
107107
## License
108108

109109
Apache License 2.0. See [LICENSE.txt](LICENSE.txt).
110+
111+
Copyright (c) FlowingCode

backend-core-business-spring-impl/src/main/java/com/flowingcode/backendcore/service/ConstraintSpecification.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
import lombok.RequiredArgsConstructor;
1515

1616
/**
17-
* Spring Data JPA {@link org.springframework.data.jpa.domain.Specification} that applies a model {@link com.flowingcode.backendcore.model.Constraint}.
17+
* Spring Data JPA {@code Specification} that applies a model
18+
* {@code Constraint}.
1819
*
1920
* @param <T> the entity type
2021
* @author jgodoy

backend-core-data-impl/src/main/java/com/flowingcode/backendcore/dao/jpa/ConstraintTransformerJpaImpl.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@
4545
import lombok.RequiredArgsConstructor;
4646

4747
/**
48-
* JPA implementation of {@link com.flowingcode.backendcore.model.ConstraintTransformer} for converting model constraints into JPA {@link jakarta.persistence.criteria.Predicate} instances.
48+
* JPA implementation of {@code ConstraintTransformer} for converting
49+
* model constraints into JPA {@code Predicate} instances.
4950
*
5051
* @author jgodoy
5152
*/

backend-core-model/src/main/java/com/flowingcode/backendcore/model/constraints/AttributeConstraint.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
import com.flowingcode.backendcore.model.Constraint;
2323

2424
/**
25-
* Marker interface for constraints applied to entity attributes.
25+
* Specialization of {@code Constraint} that applies to entity attributes.
2626
*
2727
* @author jgodoy
2828
*/

0 commit comments

Comments
 (0)