getDetails method shouldnt return password fix

minor_adjustments
Selim Eser 2024-06-13 12:21:08 +02:00
parent ed2acc0065
commit b71f9c090a
1 changed files with 2 additions and 2 deletions

View File

@ -226,8 +226,8 @@ public class System {
} }
public String[] getDetails(){ public String[] getDetails(){
return new String[]{current_user.getUsername(), current_user.getPassword(), return new String[]{current_user.getUsername(), current_user.getHometown(),
current_user.getHometown(), current_user.getZip(), current_user.getCar_name(), current_user.getZip(), current_user.getCar_name(),
current_user.getCar_l_100km()==0?"":String.valueOf(current_user.getCar_l_100km()), current_user.getCar_l_100km()==0?"":String.valueOf(current_user.getCar_l_100km()),
current_user.getCar_avg_kmh()==0?"":String.valueOf(current_user.getCar_avg_kmh()), current_user.getCar_avg_kmh()==0?"":String.valueOf(current_user.getCar_avg_kmh()),
current_user.getBike_avg_kmh()==0?"":String.valueOf(current_user.getBike_avg_kmh())}; current_user.getBike_avg_kmh()==0?"":String.valueOf(current_user.getBike_avg_kmh())};