emilianbold commented on code in PR #4205:
URL: https://github.com/apache/netbeans/pull/4205#discussion_r892492825
##########
java/java.disco/src/org/netbeans/modules/java/disco/BundleTableModel.java:
##########
@@ -41,57 +69,37 @@ public BundleTableModel(final List<Pkg> bundles) {
}
- public List<Pkg> getBundles() { return bundles; }
+ public List<Pkg> getBundles() {
+ return bundles;
+ }
+
public void setBundles(final List<Pkg> bundles) {
this.bundles = bundles;
this.fireTableDataChanged();
}
- public @NonNull String getColumnName(final int col) {
- switch(col) {
- case 0 :
- case 1 :
- case 2 :
- case 3 :
- case 4 :
- case 5 : return columnNames[col];
- default: throw new IllegalArgumentException("Column not found " +
col);
- }
+ @Override
+ public int getRowCount() {
Review Comment:
Oh, no, don't worry about that. I figured out what you did there, I just had
to diff "mentally" instead of letting the tools do it :-)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
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