public Optional < T > updateResourceWithLog ( ) { Optional < T > resourceAsOpt = updateResource ( ) ; log . debug ( "Updated Resource - {}" , updateResource ( ) . isPresent ( ) ? "YES" : "NO" ) ; return resourceAsOpt ; }
Update resource with log optional .