mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-26 12:23:59 +08:00
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
This commit is contained in:
parent
7b68f0bf7e
commit
a00d3b3c65
@ -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
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
@ -150,7 +150,7 @@ public final class Security
|
||||
result = false;
|
||||
}
|
||||
|
||||
return false;
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user