From 8aeb754f15f7ab96c1bfaadcbb28096d7cd5d148 Mon Sep 17 00:00:00 2001 From: Mario Danic Date: Thu, 29 Nov 2018 18:29:46 +0100 Subject: [PATCH] Remove useless class --- .../converters/ParticipantFlagsConverter.java | 36 ------------------- 1 file changed, 36 deletions(-) delete mode 100644 app/src/main/java/com/nextcloud/talk/models/json/converters/ParticipantFlagsConverter.java diff --git a/app/src/main/java/com/nextcloud/talk/models/json/converters/ParticipantFlagsConverter.java b/app/src/main/java/com/nextcloud/talk/models/json/converters/ParticipantFlagsConverter.java deleted file mode 100644 index 9b4556745..000000000 --- a/app/src/main/java/com/nextcloud/talk/models/json/converters/ParticipantFlagsConverter.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Nextcloud Talk application - * - * @author Mario Danic - * Copyright (C) 2017-2018 Mario Danic - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * at your option) any later version. - * - * This program 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 for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - -package com.nextcloud.talk.models.json.converters; - -import com.bluelinelabs.logansquare.typeconverters.LongBasedTypeConverter; -import com.nextcloud.talk.models.json.participants.Participant.ParticipantFlags; - -public class ParticipantFlagsConverter extends LongBasedTypeConverter { - @Override - public ParticipantFlags getFromLong(long l) { - return ParticipantFlags.fromValue(l); - }; - - @Override - public long convertToLong(ParticipantFlags object) { - return object.getValue(); - } -}