You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To reproduce:
Eclipse development env:
SpotBugs
Expected Behavior:
Should have a default for the following code:
Food(int itemno,int quantity)
{
this.itemno=itemno;
this.quantity=quantity;
switch(itemno)v
{
case 1:price=quantity*50;
break;
case 2:price=quantity*60;
break;
case 3:price=quantity*70;
break;
case 4:price=quantity*30;
break;
}
}
}
enviorment:
eclipse env:
Possible solution: shoulde have default for the code above
Impact: low
Severity: low
The text was updated successfully, but these errors were encountered:
marcoym2
changed the title
DM_DEFAULT_ENCODING
SF_SWITCH_NO_DEFAULT
Aug 15, 2023
report name: DM_DEFAULT_ENCODING
description:
To reproduce:
Eclipse development env:
SpotBugs
Expected Behavior:
Should have a default for the following code:
Food(int itemno,int quantity)
{
}
enviorment:
eclipse env:
Possible solution: shoulde have default for the code above
Impact: low
Severity: low
The text was updated successfully, but these errors were encountered: