abdurrahimagca / AtmProject

Multiple variables declared on the same line JAVA-C1003
Style
Major
a year agoa year old
Multiple variable declared on the same line
 77        //todo: iban uzunlugunun kontrol edilmesi gerekli
 78        if(IBAN.length()!=24) return false;
 79
 80        double depositSender, depositReceiver; 81        String temp = SqlQuery.StringGetSQL("SELECT deposit FROM clients WHERE id=" + id, "deposit");
 82        depositSender = stringToDouble(temp);
 83        depositSender = depositSender - amount;
Multiple variable declared on the same line
105
106
107    public static boolean payOffDebt(String id, double amount) {
108        double deposit, debt;109        String temp = SqlQuery.StringGetSQL("SELECT debt FROM clients WHERE id=" + id, "debt");
110        debt = stringToDouble(temp);
111        temp = SqlQuery.StringGetSQL("SELECT deposit FROM clients WHERE id=" + id, "deposit");