src/java.desktop/unix/classes/sun/awt/X11/XComponentPeer.java
changeset 49998 9070717a16a1
parent 47216 71c04702a3d5
child 52248 2e330da7cbf4
--- a/src/java.desktop/unix/classes/sun/awt/X11/XComponentPeer.java	Wed Apr 18 08:48:06 2018 -0700
+++ b/src/java.desktop/unix/classes/sun/awt/X11/XComponentPeer.java	Wed Apr 18 14:07:41 2018 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2002, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2018, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -730,14 +730,6 @@
         return Toolkit.getDefaultToolkit().checkImage(img, w, h, o);
     }
 
-    public Dimension preferredSize() {
-        return getPreferredSize();
-    }
-
-    public Dimension minimumSize() {
-        return getMinimumSize();
-    }
-
     public Insets getInsets() {
         return new Insets(0, 0, 0, 0);
     }
@@ -748,15 +740,6 @@
     public void endValidate() {
     }
 
-
-    /**
-     * DEPRECATED:  Replaced by getInsets().
-     */
-
-    public Insets insets() {
-        return getInsets();
-    }
-
     // Returns true if we are inside begin/endLayout and
     // are waiting for native painting
     public boolean isPaintPending() {