This is an automated email from the ASF dual-hosted git repository.
thurka pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git
The following commit(s) were added to refs/heads/master by this push:
new bb345ad72c use 'parameters' to find out if createProcedureInfo() was
already invoked - 'returnValue' can be null
new 7ef3c70f64 Merge pull request #6298 from thurka/GCN-3043
bb345ad72c is described below
commit bb345ad72cd34a3f94dd85fa91cd08d3b37bfb3a
Author: Tomas Hurka <[email protected]>
AuthorDate: Fri Aug 4 09:32:32 2023 +0200
use 'parameters' to find out if createProcedureInfo() was already invoked -
'returnValue' can be null
---
.../src/org/netbeans/modules/db/metadata/model/jdbc/JDBCProcedure.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/ide/db.metadata.model/src/org/netbeans/modules/db/metadata/model/jdbc/JDBCProcedure.java
b/ide/db.metadata.model/src/org/netbeans/modules/db/metadata/model/jdbc/JDBCProcedure.java
index cb9f54b6d9..cd350a90f4 100644
---
a/ide/db.metadata.model/src/org/netbeans/modules/db/metadata/model/jdbc/JDBCProcedure.java
+++
b/ide/db.metadata.model/src/org/netbeans/modules/db/metadata/model/jdbc/JDBCProcedure.java
@@ -201,7 +201,7 @@ public class JDBCProcedure extends ProcedureImplementation {
}
private Value initReturnValue() {
- if (returnValue != null) {
+ if (parameters != null) {
return returnValue;
}
createProcedureInfo();
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists