summaryrefslogtreecommitdiff
path: root/libjava/gnu
diff options
context:
space:
mode:
authormkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2004-05-03 20:06:09 +0000
committermkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2004-05-03 20:06:09 +0000
commit120c46c2553aedac243cc1187c7846a4bee93da1 (patch)
tree723848e7abeb06f7c6263afd684949b90779b05f /libjava/gnu
parent81cecdd819cfe1f565619ea3196775248ad6d984 (diff)
downloadgcc-120c46c2553aedac243cc1187c7846a4bee93da1.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81451 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/gnu')
-rw-r--r--libjava/gnu/java/awt/peer/gtk/GtkTextAreaPeer.java4
-rw-r--r--libjava/gnu/java/security/provider/DSAParameters.java1
2 files changed, 0 insertions, 5 deletions
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);
}