Commit a00d3b3c by Mark Wielaard Committed by Michael Koch

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
parent 7b68f0bf
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> 2004-05-03 Tom Tromey <tromey@redhat.com>
* java/net/URLStreamHandler.java (toExternalForm): Removed * java/net/URLStreamHandler.java (toExternalForm): Removed
......
...@@ -105,8 +105,6 @@ public class GtkTextAreaPeer extends GtkTextComponentPeer ...@@ -105,8 +105,6 @@ public class GtkTextAreaPeer extends GtkTextComponentPeer
public Dimension minimumSize (int rows, int cols) public Dimension minimumSize (int rows, int cols)
{ {
TextArea ta = ((TextArea) awtComponent); TextArea ta = ((TextArea) awtComponent);
int hScrollbarHeight = 0;
int vScrollbarWidth = 0;
int height = 0; int height = 0;
int width = 0; int width = 0;
...@@ -137,8 +135,6 @@ public class GtkTextAreaPeer extends GtkTextComponentPeer ...@@ -137,8 +135,6 @@ public class GtkTextAreaPeer extends GtkTextComponentPeer
public Dimension preferredSize (int rows, int cols) public Dimension preferredSize (int rows, int cols)
{ {
TextArea ta = ((TextArea) awtComponent); TextArea ta = ((TextArea) awtComponent);
int hScrollbarHeight = 0;
int vScrollbarWidth = 0;
int height = 0; int height = 0;
int width = 0; int width = 0;
......
...@@ -154,7 +154,6 @@ public byte[] engineGetEncoded(String format) ...@@ -154,7 +154,6 @@ public byte[] engineGetEncoded(String format)
public String engineToString() public String engineToString()
{ {
String lineSeparator = System.getProperty("line.seperator");
return ("q: " + q + " p: " + p + " g: " + g); return ("q: " + q + " p: " + p + " g: " + g);
} }
......
...@@ -150,7 +150,7 @@ public final class Security ...@@ -150,7 +150,7 @@ public final class Security
result = false; result = false;
} }
return false; return result;
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment