Hi Michael,
I opened a bug ticket on RasterImage class following Roberto's description.
I will ad also some comments regarding your modifications

Il giorno mer 11 nov 2020 alle ore 11:31 jump-pilot-svn--- via
Jump-pilot-devel <jump-pilot-devel@lists.sourceforge.net> ha scritto:

> Revision: 6620
>           http://sourceforge.net/p/jump-pilot/code/6620
> Author:   michaudm
> Date:     2020-11-11 10:30:58 +0000 (Wed, 11 Nov 2020)
> Log Message:
> -----------
> Remove a System.out.println which could cause NPE
>
> Modified Paths:
> --------------
>     core/trunk/src/org/openjump/core/rasterimage/RasterImageLayer.java
>
> Modified:
> core/trunk/src/org/openjump/core/rasterimage/RasterImageLayer.java
> ===================================================================
> --- core/trunk/src/org/openjump/core/rasterimage/RasterImageLayer.java
> 2020-11-08 23:39:40 UTC (rev 6619)
> +++ core/trunk/src/org/openjump/core/rasterimage/RasterImageLayer.java
> 2020-11-11 10:30:58 UTC (rev 6620)
> @@ -418,11 +418,6 @@
>          } catch (Exception e){
>              Logger.warn(e);
>          }
> -        System.out.println(
> -                "" + getCommittedMemory() + " " + imageFileName + " " +
> -                        image.getWidth()+"x"+image.getHeight() + " - " +
> -
> scaledBufferedImage.getWidth()+"x"+scaledBufferedImage.getHeight()
> -        );
>          if (imageToDraw != null) {
>              return imageToDraw;
>          } else {
>
>
>
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to