Many wrong warnings in the Inspections in the Ruby Plugin
Hello guys,
I am having a very strange behaviors with the inspections and I cannot find a way to solve it. For instance check this piece of code:
We are doing a spider to navigate inside of our Intranet. It uses APIs built in Java, therefore we are using JRuby. Please Check the local variables "connection_retry" and "documents_queue_db". Both variables are perfectly initialized in the body of the method, however the inspector keeps telling us that the "Local variable can be non initialized". The class has around 10 methods and this problem is present only in two specific methods. In one of these methods it happens in absolutely every local variable.
Any ideas in how to solve this? is there any known bug?
Thanks in advance,
GA
请先登录再写评论。
Hello Guillermo,
Do we have any chance to look at your particular code with inspection warning? I mean the whole method body with errors.
Thanks,
Oleg