[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gzz-commits] fenfire/org/fenfire/view/buoy MainNode2D.java
From: |
Tuomas Lukka |
Subject: |
Re: [Gzz-commits] fenfire/org/fenfire/view/buoy MainNode2D.java |
Date: |
Thu, 8 May 2003 17:56:04 +0300 |
User-agent: |
Mutt/1.4.1i |
On Wed, May 07, 2003 at 12:04:54PM -0400, Matti Katila wrote:
> CVSROOT: /cvsroot/fenfire
> Module name: fenfire
> Changes by: Matti Katila <address@hidden> 03/05/07 12:04:54
>
> Modified files:
> org/fenfire/view/buoy: MainNode2D.java
>
> Log message:
> check for check
>
> CVSWeb URLs:
> http://savannah.gnu.org/cgi-bin/viewcvs/fenfire/fenfire/org/fenfire/view/buoy/MainNode2D.java.diff?tr1=1.17&tr2=1.18&r1=text&r2=text
>
> Patches:
> Index: fenfire/org/fenfire/view/buoy/MainNode2D.java
> diff -u fenfire/org/fenfire/view/buoy/MainNode2D.java:1.17
> fenfire/org/fenfire/view/buoy/MainNode2D.java:1.18
> --- fenfire/org/fenfire/view/buoy/MainNode2D.java:1.17 Sun May 4
> 21:38:50 2003
> +++ fenfire/org/fenfire/view/buoy/MainNode2D.java Wed May 7 12:04:54 2003
> @@ -93,9 +93,10 @@
> vs.matcher.add(box2screen, box2paper, "BOX2PAPER");
> setZoomPan(vs, box2paper);
>
> - 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...
Tuomas