Skip to content

Commit

Permalink
Removed unused param according to #52
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasSchaub committed Mar 7, 2024
1 parent 202c390 commit 71d9a78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1239,8 +1239,7 @@ private Tab createFragmentsTab(String aFragmentationName){
* @return Tab
*/
private Tab createItemsTab(String aFragmentationName){
int tmpAmount = GuiUtil.getLargestNumberOfFragmentsForGivenMoleculeListAndFragmentationName(this.moleculeDataModelList, aFragmentationName);
ItemizationDataTableView tmpItemizationDataTableView = new ItemizationDataTableView(tmpAmount, aFragmentationName, this.configuration);
ItemizationDataTableView tmpItemizationDataTableView = new ItemizationDataTableView(aFragmentationName, this.configuration);
tmpItemizationDataTableView.setItemsList(
this.moleculeDataModelList.stream().filter(x -> x.hasMoleculeUndergoneSpecificFragmentation(aFragmentationName)).toList());
GridTabForTableView tmpItemizationTab = new GridTabForTableView(Message.get("MainTabPane.itemizationTab.title") + " - " + aFragmentationName, TabNames.ITEMIZATION.name(), tmpItemizationDataTableView);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,10 @@ public class ItemizationDataTableView extends TableView implements IDataTableVie
/**
* Constructor.
*
* @param anItemAmount max amount of fragments to be displayed in fragment
* @param aFragmentationName String of fragmentation name used as title
* @param aConfiguration configuration instance to read resource file paths from
*/
public ItemizationDataTableView(int anItemAmount, String aFragmentationName, IConfiguration aConfiguration) {
public ItemizationDataTableView(String aFragmentationName, IConfiguration aConfiguration) {
super();
this.configuration = aConfiguration;
this.setEditable(false);
Expand Down

0 comments on commit 71d9a78

Please sign in to comment.