This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 144306 - SQLHistory: clean up warnings
Summary: SQLHistory: clean up warnings
Status: VERIFIED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: SQL Editor (show other bugs)
Version: 6.x
Hardware: Macintosh All
: P3 blocker (vote)
Assignee: John Baker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-18 20:11 UTC by John Baker
Modified: 2008-09-11 17:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Baker 2008-08-18 20:11:19 UTC
Compiling 34 source files to /Users/test/r6/main/db.core/build/classes
/Users/test/r6/main/db.core/src/org/netbeans/modules/db/sql/execute/ui/SQLHistoryPanel.java:240: warning: [deprecation]
setNextFocusableComponent(java.awt.Component) in javax.swing.JComponent has been deprecated
        sqlHistoryTable.setNextFocusableComponent(sqlLimitTextField);
/Users/test/r6/main/db.core/src/org/netbeans/modules/db/sql/execute/ui/SQLHistoryPanel.java:253: warning: [deprecation]
setNextFocusableComponent(java.awt.Component) in javax.swing.JComponent has been deprecated
        sqlLimitButton.setNextFocusableComponent(insertSQLButton);
/Users/test/r6/main/db.core/src/org/netbeans/modules/db/sql/execute/ui/SQLHistoryPanel.java:928: warning: [deprecation]
atomicLock() in org.netbeans.editor.BaseDocument has been deprecated
                ((BaseDocument) doc).atomicLock();
/Users/test/r6/main/db.core/src/org/netbeans/modules/db/sql/execute/ui/SQLHistoryPanel.java:933: warning: [deprecation]
atomicUnlock() in org.netbeans.editor.BaseDocument has been deprecated
                ((BaseDocument) doc).atomicUnlock();
/Users/test/r6/main/db.core/src/org/netbeans/modules/db/sql/loader/SQLExecutionLoggerImpl.java:208: warning:
[deprecation] SHOW_GOTO in org.openide.text.Line has been deprecated
                l.show(focus ? Line.SHOW_GOTO : Line.SHOW_TRY_SHOW, column);
/Users/test/r6/main/db.core/src/org/netbeans/modules/db/sql/loader/SQLExecutionLoggerImpl.java:208: warning:
[deprecation] SHOW_TRY_SHOW in org.openide.text.Line has been deprecated
                l.show(focus ? Line.SHOW_GOTO : Line.SHOW_TRY_SHOW, column);
/Users/test/r6/main/db.core/src/org/netbeans/modules/db/sql/loader/SQLExecutionLoggerImpl.java:208: warning:
[deprecation] show(int,int) in org.openide.text.Line has been deprecated
                l.show(focus ? Line.SHOW_GOTO : Line.SHOW_TRY_SHOW, column);
7 warnings
Comment 1 John Baker 2008-09-10 00:39:30 UTC
c4e6a50c0c21 and bf01753da023
Comment 2 Quality Engineering 2008-09-10 05:43:53 UTC
Integrated into 'main-golden', will be available in build *200809100201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/bf01753da023
User: John Baker <jbaker@netbeans.org>
Log: #144306 SQLHistory: clean up warnings
Comment 3 Roman Mostyka 2008-09-11 17:45:05 UTC
Verified with build 080910.