summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2004-05-03 20:06:09 +0000
committerMichael Koch <mkoch@gcc.gnu.org>2004-05-03 20:06:09 +0000
commita00d3b3c65bb9a365cd3056eeb0ebbf29a9caf4d (patch)
tree723848e7abeb06f7c6263afd684949b90779b05f
parent7b68f0bf7ec0b3e1fa43ca8b764c39c43e27bba7 (diff)
downloadgcc-a00d3b3c65bb9a365cd3056eeb0ebbf29a9caf4d.tar.gz
GtkTextAreaPeer.java (minimumSize): Removed unused variables hScrollbarHeight and vScrollbarWidth.
2004-05-03 Mark Wielaard <mark@klomp.org> * 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
-rw-r--r--libjava/ChangeLog9
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkTextAreaPeer.java4
-rw-r--r--libjava/gnu/java/security/provider/DSAParameters.java1
-rw-r--r--libjava/java/security/Security.java2
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 <mark@klomp.org>
+
+ * 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 <tromey@redhat.com>
* 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;
}
/**