diff options
author | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-03-09 16:25:13 +0000 |
---|---|---|
committer | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-03-09 16:25:13 +0000 |
commit | 313caf3219d6d3e04f4782f2057a5760a9e33eb9 (patch) | |
tree | 64540597346c1dbf42c4d45061e63670958473ea /libjava/gnu | |
parent | 640feb7167a8054b03b1501e7091459bd76f784b (diff) | |
download | gcc-313caf3219d6d3e04f4782f2057a5760a9e33eb9.tar.gz |
* gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
* gnu/gcj/xlib/XImage.java: Likewise.
* gnu/gcj/xlib/XColor.java: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50498 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/gnu')
-rw-r--r-- | libjava/gnu/gcj/xlib/WindowAttributes.java | 8 | ||||
-rw-r--r-- | libjava/gnu/gcj/xlib/XColor.java | 2 | ||||
-rw-r--r-- | libjava/gnu/gcj/xlib/XImage.java | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/libjava/gnu/gcj/xlib/WindowAttributes.java b/libjava/gnu/gcj/xlib/WindowAttributes.java index 72a3bb87de8..6efeaa5d434 100644 --- a/libjava/gnu/gcj/xlib/WindowAttributes.java +++ b/libjava/gnu/gcj/xlib/WindowAttributes.java @@ -45,8 +45,8 @@ public class WindowAttributes { WindowAttributes attributes = (WindowAttributes) super.clone(); // In case of an exception before the stucture is copied. - attributes.in = 0; - attributes.out = 0; + attributes.in = null; + attributes.out = null; // FIXME: do anything else? @@ -77,13 +77,13 @@ public class WindowAttributes * Reference to XWindowAttribute structure containing attributes * read from a window. */ - RawData in = 0; + RawData in = null; /** * Reference to XSetWindowAttribute structure containing attributes * to be applied to a window. */ - RawData out = 0; + RawData out = null; long mask; diff --git a/libjava/gnu/gcj/xlib/XColor.java b/libjava/gnu/gcj/xlib/XColor.java index 7abcc1713f1..74ad6d7071a 100644 --- a/libjava/gnu/gcj/xlib/XColor.java +++ b/libjava/gnu/gcj/xlib/XColor.java @@ -38,5 +38,5 @@ public final class XColor public final native byte getFlags(); public final native long getPixelValue(); - RawData structure = 0; + RawData structure = null; } diff --git a/libjava/gnu/gcj/xlib/XImage.java b/libjava/gnu/gcj/xlib/XImage.java index 1b102f9ea76..5460549e0a5 100644 --- a/libjava/gnu/gcj/xlib/XImage.java +++ b/libjava/gnu/gcj/xlib/XImage.java @@ -141,7 +141,7 @@ public class XImage protected native void finalize(); boolean ownsData = false; - RawData structure = 0; + RawData structure = null; public final native int getWidth(); public final native int getHeight(); |