Skip to content

Commit a96a27e

Browse files
authored
Removed unnecessary comments
1 parent fdd5566 commit a96a27e

1 file changed

Lines changed: 0 additions & 20 deletions

File tree

jpa-specification/src/main/java/com/fd/jpa/converter/CycleAvoidingMappingContext.java

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -13,34 +13,14 @@
1313
*/
1414
public class CycleAvoidingMappingContext {
1515

16-
/** The known instances. */
1716
private Map<Object, Object> knownInstances = new IdentityHashMap<>();
1817

19-
/**
20-
* Gets the mapped instance.
21-
*
22-
* @param <T>
23-
* the generic type
24-
* @param source
25-
* the source
26-
* @param targetType
27-
* the target type
28-
* @return the mapped instance
29-
*/
3018
@SuppressWarnings("unchecked")
3119
@BeforeMapping
3220
public <T> T getMappedInstance(Object source, @TargetType Class<T> targetType) {
3321
return (T) knownInstances.get(source);
3422
}
3523

36-
/**
37-
* Store mapped instance.
38-
*
39-
* @param source
40-
* the source
41-
* @param target
42-
* the target
43-
*/
4424
@BeforeMapping
4525
public void storeMappedInstance(Object source, @MappingTarget Object target) {
4626
knownInstances.put(source, target);

0 commit comments

Comments
 (0)