@@ -41,29 +41,29 @@ final class CachedMostSpecificTypeFirstSelection(converters: Traversable[Convert
41
41
override def findCached [S , T ](sm : Type [S ], tm : Type [T ]) = {
42
42
_cache.get((sm, tm)) match {
43
43
case Some (jcv) =>
44
- // logger.debug("findCached(%s, %s) => %s".format(sm, tm, jcv))
44
+ logger.debug(" findCached(%s, %s) => %s" .format(sm, tm, jcv))
45
45
jcv.asInstanceOf [Maybe [Converter ]]
46
46
case None =>
47
- // logger.debug("findCached(%s, %s) => %s".format(sm, tm, None))
47
+ logger.debug(" findCached(%s, %s) => %s" .format(sm, tm, None ))
48
48
NoVal
49
49
}
50
50
}
51
51
52
52
def findNonCached [S , T ](sm : Type [S ], tm : Type [T ]): Maybe [Converter ] = {
53
53
_strictSourceConverters.find(_.get.canConvertType(sm, tm)) match {
54
54
case Some (jcv) =>
55
- // logger.debug("findNonCached(%s, %s) => STRICT: %s".format(sm, tm, jcv))
55
+ logger.debug(" findNonCached(%s, %s) => STRICT: %s" .format(sm, tm, jcv))
56
56
jcv.asInstanceOf [Maybe [Converter ]]
57
57
case None =>
58
58
_nonStrictSourceConverters foreach { case convJ =>
59
59
val conv = convJ.get
60
60
}
61
61
_nonStrictSourceConverters.find(_.get.canConvertType(sm, tm)) match {
62
62
case Some (jcv) =>
63
- // logger.debug("findNonCached(%s, %s) => NON-STRICT: %s".format(sm, tm, jcv))
63
+ logger.debug(" findNonCached(%s, %s) => NON-STRICT: %s" .format(sm, tm, jcv))
64
64
jcv.asInstanceOf [Maybe [Converter ]]
65
65
case None =>
66
- // logger.debug("findNonCached(%s, %s) => %s".format(sm, tm, None))
66
+ logger.debug(" findNonCached(%s, %s) => %s" .format(sm, tm, None ))
67
67
NoVal
68
68
}
69
69
}
0 commit comments