Pankraz76 commented on code in PR #11284:
URL: https://github.com/apache/maven/pull/11284#discussion_r2436649094
##########
impl/maven-impl/src/main/java/org/apache/maven/impl/model/DefaultModelObjectPool.java:
##########
@@ -142,9 +131,9 @@ private Cache.ReferenceType
getReferenceTypeForClass(Class<?> objectType) {
*/
private Cache.ReferenceType getDefaultReferenceType() {
try {
- String referenceTypeProperty =
-
getProperty(Constants.MAVEN_MODEL_PROCESSOR_REFERENCE_TYPE,
Cache.ReferenceType.HARD.name());
- return
Cache.ReferenceType.valueOf(referenceTypeProperty.toUpperCase());
+ return Cache.ReferenceType.valueOf(
Review Comment:
tried to turn the coupling into cohesion.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]