Skip to content

Commit

Permalink
Remove "recentProjects != null" condition, since it is always true
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanhahmann authored and tinevez committed Nov 12, 2024
1 parent b3f2d85 commit d3e1526
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ private void remakeGUI( final Consumer< String > projectOpener )
scrollPane.setHorizontalScrollBarPolicy( ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER );
add( scrollPane, "span, wrap" );

if ( recentProjects != null && !recentProjects.isempty() )
if ( !recentProjects.isempty() )
{
final JLabel lblTitleHint = new JLabel( "Double-click to open the containing folder." );
lblTitleHint.setFont( lblTitleHint.getFont().deriveFont( lblTitleHint.getFont().getStyle() | Font.ITALIC ) );
Expand Down

0 comments on commit d3e1526

Please sign in to comment.