The "type may be weakened" inspection is triggered by this code, suggesting that Logger be weakened to Category. This is undesirable, since Category in log4j has been deprecated. Setting the "Use right hand side as weakened type" should solve this problem, since Logger.getLogger returns a Logger. But it doesn't. In fact, it has no effect.
The "type may be weakened" inspection is triggered by this code, suggesting that Logger be weakened to Category. This is undesirable, since Category in log4j has been deprecated. Setting the "Use right hand side as weakened type" should solve this problem, since Logger.getLogger returns a Logger. But it doesn't. In fact, it has no effect.