Author: jfuerth
Date: Fri Jun 12 13:51:49 2009
New Revision: 3091

Modified:
   trunk/src/ca/sqlpower/architect/swingui/PlayPen.java

Log:
Adding deprecation annotation (in addition to the old-style JavaDoc deprecation) in hopes that static analysis tools (PMD) will realize we have overridden these methods for a reason.

Modified: trunk/src/ca/sqlpower/architect/swingui/PlayPen.java
==============================================================================
--- trunk/src/ca/sqlpower/architect/swingui/PlayPen.java        (original)
+++ trunk/src/ca/sqlpower/architect/swingui/PlayPen.java Fri Jun 12 13:51:49 2009
@@ -1076,6 +1076,7 @@
         * function correctly.  You probably want to use
         * getPPComponentCount instead.
         */
+    @Deprecated
        public int getComponentCount() {
                return super.getComponentCount();
        }
@@ -1090,6 +1091,7 @@
         * #findTablePane}, {...@link #getRelationships}, or {...@link
         * #getTablePanes} instead.
         */
+    @Deprecated
        public Component getComponent(int i) {
                return super.getComponent(i);
        }

Reply via email to