diff options
author | Andrew John Hughes <gnu_andrew@member.fsf.org> | 2008-03-12 00:01:44 +0000 |
---|---|---|
committer | Andrew John Hughes <gnu_andrew@member.fsf.org> | 2008-03-12 00:01:44 +0000 |
commit | 1e344c42e1d013741d721bbeef873bf1ce384280 (patch) | |
tree | 39fecc1b1a73d14c45ca0a572f3e4d8a45d02685 /java/awt | |
parent | 4765e830a0701718701d604b250bee0187b44c06 (diff) | |
download | classpath-1e344c42e1d013741d721bbeef873bf1ce384280.tar.gz |
2008-03-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/awt/MouseInfo.java:
(MouseInfo()): Private constructor to prevent
instance creation.
* java/lang/AbstractStringBuilder.java:
(ensureCapacity_unsynchronized(int)): Make
package-private, not protected.
Diffstat (limited to 'java/awt')
-rw-r--r-- | java/awt/MouseInfo.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/java/awt/MouseInfo.java b/java/awt/MouseInfo.java index 957b6bccb..8a853e153 100644 --- a/java/awt/MouseInfo.java +++ b/java/awt/MouseInfo.java @@ -51,6 +51,13 @@ public class MouseInfo private static MouseInfoPeer peer; /** + * Private constructor to prevent instance creation. + */ + private MouseInfo() + { + } + + /** * Returns a PointerInfo object containing information about the current * location of the mouse pointer * |