From c1b4f64d3344ab27b60754d40b5313a8947c49d3 Mon Sep 17 00:00:00 2001 From: Michael Koch Date: Tue, 13 Jul 2004 22:06:11 +0000 Subject: [PATCH] InputContext.java: Initialze in, line. 2004-07-14 Michael Koch Matthias Klose * java/awt/im/InputContext.java: Initialze in, line. Co-Authored-By: Matthias Klose From-SVN: r84648 --- libjava/ChangeLog | 5 +++++ libjava/java/awt/im/InputContext.java | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 5460fae445a..c64f2e943f1 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,8 @@ +2004-07-14 Michael Koch + Matthias Klose + + * java/awt/im/InputContext.java: Initialze in, line. + 2004-07-13 Ulrich Weigand * interpret.cc (run): Correctly access libffi return values of diff --git a/libjava/java/awt/im/InputContext.java b/libjava/java/awt/im/InputContext.java index c8e7cf35a4c..2c3c6aaafd1 100644 --- a/libjava/java/awt/im/InputContext.java +++ b/libjava/java/awt/im/InputContext.java @@ -100,8 +100,8 @@ public class InputContext while (e.hasMoreElements()) { URL url = (URL) e.nextElement(); - BufferedReader in; - String line; + BufferedReader in = null; + String line = null; try { in = new BufferedReader