1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-06 03:50:19 +02:00

unused class

This commit is contained in:
Nikolay Pultsin 2015-10-07 02:34:45 +01:00
parent ff0fbb763d
commit c4c7f6411b

View file

@ -1,39 +0,0 @@
/*
* Copyright (C) 2007-2015 FBReader.ORG Limited <contact@fbreader.org>
*
* 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 2 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, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301, USA.
*/
package org.geometerplus.zlibrary.core.options;
import org.geometerplus.zlibrary.core.util.ZLBoolean3;
public final class ZLBoolean3Option extends ZLOption {
public ZLBoolean3Option(String group, String optionName, ZLBoolean3 defaultValue) {
super(group, optionName, defaultValue.Name);
}
public ZLBoolean3 getValue() {
return ZLBoolean3.getByName(getConfigValue());
}
public void setValue(ZLBoolean3 value) {
if (value == null) {
return;
}
setConfigValue(value.Name);
}
}