Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Java:packages
swingx
jdk17.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File jdk17.patch of Package swingx
diff -urEbwB swingx-project-1.6.5-1.orig/swingx-core/src/main/java/org/jdesktop/swingx/error/ErrorSupport.java swingx-project-1.6.5-1/swingx-core/src/main/java/org/jdesktop/swingx/error/ErrorSupport.java --- swingx-project-1.6.5-1.orig/swingx-core/src/main/java/org/jdesktop/swingx/error/ErrorSupport.java 2022-04-10 09:44:29.638589866 +0200 +++ swingx-project-1.6.5-1/swingx-core/src/main/java/org/jdesktop/swingx/error/ErrorSupport.java 2022-04-10 13:16:53.726099179 +0200 @@ -68,7 +68,7 @@ * added. */ public ErrorListener[] getErrorListeners() { - return listeners.toArray(null); + return listeners.toArray(new ErrorListener[0]); } /** diff -urEbwB swingx-project-1.6.5-1.orig/swingx-core/src/main/java/org/jdesktop/swingx/JXTable.java swingx-project-1.6.5-1/swingx-core/src/main/java/org/jdesktop/swingx/JXTable.java --- swingx-project-1.6.5-1.orig/swingx-core/src/main/java/org/jdesktop/swingx/JXTable.java 2022-04-10 09:44:29.630589818 +0200 +++ swingx-project-1.6.5-1/swingx-core/src/main/java/org/jdesktop/swingx/JXTable.java 2022-04-10 13:14:14.885160147 +0200 @@ -570,7 +570,7 @@ * @param rowData Row data, as a Vector of Objects. * @param columnNames Column names, as a Vector of Strings. */ - public JXTable(Vector<?> rowData, Vector<?> columnNames) { + public JXTable(Vector<? extends Vector> rowData, Vector<?> columnNames) { super(rowData, columnNames); init(); } diff -urEbwB swingx-project-1.6.5-1.orig/swingx-core/src/main/java/org/jdesktop/swingx/tree/TreeUtilities.java swingx-project-1.6.5-1/swingx-core/src/main/java/org/jdesktop/swingx/tree/TreeUtilities.java --- swingx-project-1.6.5-1.orig/swingx-core/src/main/java/org/jdesktop/swingx/tree/TreeUtilities.java 2022-04-10 09:44:29.642589889 +0200 +++ swingx-project-1.6.5-1/swingx-core/src/main/java/org/jdesktop/swingx/tree/TreeUtilities.java 2022-04-10 13:23:22.448397272 +0200 @@ -270,7 +270,7 @@ } protected Enumeration<M> getChildren(M node) { - Enumeration<M> children = node.children(); + Enumeration<M> children = (Enumeration<M>) node.children(); return children; } @@ -328,7 +328,7 @@ * @return */ protected Enumeration<M> getChildren(M node) { - return node.children(); + return (Enumeration<M>) node.children(); } @@ -374,7 +374,7 @@ } protected Enumeration<M> getChildren(M node) { - Enumeration<M> children = node.children(); + Enumeration<M> children = (Enumeration<M>) node.children(); return children; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor