gzz-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gzz-commits] fenfire/org/fenfire/view/buoy MainNode2D.java


From: Matti Katila
Subject: Re: [Gzz-commits] fenfire/org/fenfire/view/buoy MainNode2D.java
Date: Thu, 8 May 2003 20:26:45 +0300 (EEST)

On Thu, 8 May 2003, Tuomas Lukka wrote:
> On Wed, May 07, 2003 at 12:04:54PM -0400, Matti Katila wrote:
>> Modified files:
>>      org/fenfire/view/buoy: MainNode2D.java 
>> Log message:
>>      check for check
>>  
>> -    if (RDFUtil.isNodeType(fen, plane, PP.Paper) ||
>> -        RDFUtil.isNodeType(fen, plane, RST.Canvas)) ;
>> -    else throw new Error("plane is NOT a container!");
>> +    if (fen != null)
>> +            if (RDFUtil.isNodeType(fen, plane, PP.Paper) ||
>> +                RDFUtil.isNodeType(fen, plane, RST.Canvas)) ;
>> +            else throw new Error("plane is NOT a container!");
>>  
>>      view2d.render(vs, plane, into, into, box2paper);
> 
> I think this is probably the wrong fix: you should rather see *why* fen
> might be null...

Yes, check was in wrong place firstly. I moved it in CanvasView2D where it 
belongs.


    -Matti





reply via email to

[Prev in Thread] Current Thread [Next in Thread]