Oh..

Sorry. I confuse the methods. Sorry! Forget this.

On Mon, Dec 29, 2014 at 4:32 PM, Daniel Cunha <danielsoro@gmail.com> wrote:
This method is an abstract method.

So, it's very common that IDE's implement this method with return null.
In some languages if (null) == false.

So, Forge can in this case interpret null == false.
I prefer that I receive a BANG! (as Antonio talking) NullPointerException. 

 WDYT? 

On Mon, Dec 29, 2014 at 4:18 PM, George Gastaldi <ggastald@redhat.com> wrote:
I am sorry, I don't understand your idea, can you elaborate more?



Em 29/12/2014, às 14:05, Daniel Cunha <danielsoro@gmail.com> escreveu:

George,

this case.. Can forge assume which that's is false? (Is a bad suggestion?)

On Mon, Dec 29, 2014 at 4:00 PM, George Gastaldi <ggastald@redhat.com> wrote:
There is an error in your code:
https://github.com/Fazerty/jbfex-addon/blob/master/src/main/java/org/jbfex/addon/commands/JbfexMailCommand.java#L129

You are returning a null ProjectFactory, that's why the error happens.
_______________________________________________
forge-users mailing list
forge-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/forge-users



--
Daniel Cunha (soro)
_______________________________________________
forge-users mailing list
forge-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/forge-users

_______________________________________________
forge-users mailing list
forge-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/forge-users



--
Daniel Cunha (soro)



--
Daniel Cunha (soro)