From a00d3b3c65bb9a365cd3056eeb0ebbf29a9caf4d Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Mon, 3 May 2004 20:06:09 +0000 Subject: [PATCH] GtkTextAreaPeer.java (minimumSize): Removed unused variables hScrollbarHeight and vScrollbarWidth. 2004-05-03 Mark Wielaard * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed unused variables hScrollbarHeight and vScrollbarWidth. (preferredSize): Likewise. * gnu/java/security/provider/DSAParameters.java (engineToString): Removed unused call to System.getProperty("line.seperator"); * java/security/Security.java (loadProviders): Return result. From-SVN: r81451 --- libjava/ChangeLog | 9 +++++++++ libjava/gnu/java/awt/peer/gtk/GtkTextAreaPeer.java | 4 ---- libjava/gnu/java/security/provider/DSAParameters.java | 1 - libjava/java/security/Security.java | 2 +- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/libjava/ChangeLog b/libjava/ChangeLog index cce65c54b2e..e0d7f94f2f4 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,12 @@ +2004-05-03 Mark Wielaard + + * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed + unused variables hScrollbarHeight and vScrollbarWidth. + (preferredSize): Likewise. + * gnu/java/security/provider/DSAParameters.java (engineToString): + Removed unused call to System.getProperty("line.seperator"); + * java/security/Security.java (loadProviders): Return result. + 2004-05-03 Tom Tromey * java/net/URLStreamHandler.java (toExternalForm): Removed diff --git a/libjava/gnu/java/awt/peer/gtk/GtkTextAreaPeer.java b/libjava/gnu/java/awt/peer/gtk/GtkTextAreaPeer.java index e31a481537f..63d6fa86fe1 100644 --- a/libjava/gnu/java/awt/peer/gtk/GtkTextAreaPeer.java +++ b/libjava/gnu/java/awt/peer/gtk/GtkTextAreaPeer.java @@ -105,8 +105,6 @@ public class GtkTextAreaPeer extends GtkTextComponentPeer public Dimension minimumSize (int rows, int cols) { TextArea ta = ((TextArea) awtComponent); - int hScrollbarHeight = 0; - int vScrollbarWidth = 0; int height = 0; int width = 0; @@ -137,8 +135,6 @@ public class GtkTextAreaPeer extends GtkTextComponentPeer public Dimension preferredSize (int rows, int cols) { TextArea ta = ((TextArea) awtComponent); - int hScrollbarHeight = 0; - int vScrollbarWidth = 0; int height = 0; int width = 0; diff --git a/libjava/gnu/java/security/provider/DSAParameters.java b/libjava/gnu/java/security/provider/DSAParameters.java index 31c0d5e8e8e..3773308c26e 100644 --- a/libjava/gnu/java/security/provider/DSAParameters.java +++ b/libjava/gnu/java/security/provider/DSAParameters.java @@ -154,7 +154,6 @@ public byte[] engineGetEncoded(String format) public String engineToString() { - String lineSeparator = System.getProperty("line.seperator"); return ("q: " + q + " p: " + p + " g: " + g); } diff --git a/libjava/java/security/Security.java b/libjava/java/security/Security.java index d7edf20656f..25cadcac465 100644 --- a/libjava/java/security/Security.java +++ b/libjava/java/security/Security.java @@ -150,7 +150,7 @@ public final class Security result = false; } - return false; + return result; } /** -- 2.30.2