changes
This commit is contained in:
@@ -12,7 +12,7 @@ class AccountReservationList extends ArrayList<IReservation> {
|
||||
String serial = String.format("%010d", Math.abs(java.util.Objects.hash(reservation.getPhysical_address())));
|
||||
int e = serial.length();
|
||||
int s = e - 10;
|
||||
serial = serial.substring(s, e-1);
|
||||
serial = serial.substring(s, e);
|
||||
return String.format("R%s", serial);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
/**
|
||||
* license: GPLv3
|
||||
reservationsystem
|
||||
*/
|
||||
package lodge.datamodel;
|
||||
|
||||
public interface IReservation {
|
||||
|
||||
Reference in New Issue
Block a user