X-Git-Url: https://git.ktnx.net/?p=mobile-ledger.git;a=blobdiff_plain;f=app%2Fsrc%2Fmain%2Fjava%2Fnet%2Fktnx%2Fmobileledger%2Futils%2FUrlEncodedFormData.java;h=f89c536fb29aab5881491eb47d00ee55186dd625;hp=5d69da212cc90b6cc0734a14675678a5964b9fae;hb=998dd32a089d199a2569069415755eb3169b35b0;hpb=6b740c280c79b0170321f533747cdbfc3e179a29 diff --git a/app/src/main/java/net/ktnx/mobileledger/utils/UrlEncodedFormData.java b/app/src/main/java/net/ktnx/mobileledger/utils/UrlEncodedFormData.java index 5d69da21..f89c536f 100644 --- a/app/src/main/java/net/ktnx/mobileledger/utils/UrlEncodedFormData.java +++ b/app/src/main/java/net/ktnx/mobileledger/utils/UrlEncodedFormData.java @@ -1,18 +1,18 @@ /* - * Copyright © 2018 Damyan Ivanov. - * This file is part of Mobile-Ledger. - * Mobile-Ledger is free software: you can distribute it and/or modify it + * Copyright © 2019 Damyan Ivanov. + * This file is part of MoLe. + * MoLe is free software: you can distribute it and/or modify it * under the term of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your opinion), any later version. * - * Mobile-Ledger is distributed in the hope that it will be useful, + * MoLe is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License terms for details. * * You should have received a copy of the GNU General Public License - * along with Mobile-Ledger. If not, see . + * along with MoLe. If not, see . */ package net.ktnx.mobileledger.utils; @@ -32,8 +32,8 @@ public class UrlEncodedFormData { pairs = new ArrayList<>(); } - public void add_pair(String name, String value) { - pairs.add(new AbstractMap.SimpleEntry(name, value)); + public void addPair(String name, String value) { + pairs.add(new AbstractMap.SimpleEntry<>(name, value)); } @NonNull