Remove now unused DaoOptionKeys class

This commit is contained in:
Chris Beams 2019-12-17 19:34:19 +01:00
parent 15c492b5b4
commit 43fb851514
No known key found for this signature in database
GPG key ID: 3D214F8F5BC5ED73
5 changed files with 1 additions and 35 deletions

View file

@ -18,7 +18,6 @@
package bisq.core.app;
import bisq.common.BisqException;
import bisq.common.config.Config;
import org.springframework.core.env.JOptCommandLinePropertySource;
import org.springframework.core.env.MutablePropertySources;
@ -62,8 +61,6 @@ public class BisqEnvironment extends StandardEnvironment {
@SuppressWarnings("ConstantConditions")
public BisqEnvironment(PropertySource commandLineProperties) {
//DaoOptionKeys
MutablePropertySources propertySources = getPropertySources();
propertySources.addFirst(commandLineProperties);
try {

View file

@ -1,25 +0,0 @@
/*
* This file is part of Bisq.
*
* Bisq is free software: you can redistribute it and/or modify it
* under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or (at
* your option) any later version.
*
* Bisq 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 Affero General Public
* License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with Bisq. If not, see <http://www.gnu.org/licenses/>.
*/
package bisq.core.dao;
/**
* Provides program argument options used in the DAO domain.
*/
public class DaoOptionKeys {
}

View file

@ -27,7 +27,7 @@ import lombok.Getter;
import lombok.extern.slf4j.Slf4j;
/**
* Returns a FullNode or LiteNode based on the DaoOptionKeys.FULL_DAO_NODE option.
* Returns a FullNode or LiteNode based on the Config.FULL_DAO_NODE option.
*/
@Slf4j
public class BsqNodeProvider {

View file

@ -17,9 +17,6 @@
package bisq.core.setup;
import bisq.core.app.BisqEnvironment;
import bisq.core.dao.DaoOptionKeys;
import bisq.common.app.Capabilities;
import bisq.common.app.Capability;
import bisq.common.config.Config;

View file

@ -18,7 +18,6 @@
package bisq.core.setup;
import bisq.core.btc.model.AddressEntryList;
import bisq.core.dao.DaoOptionKeys;
import bisq.core.dao.governance.ballot.BallotListService;
import bisq.core.dao.governance.blindvote.MyBlindVoteListService;
import bisq.core.dao.governance.bond.reputation.MyReputationListService;
@ -42,8 +41,6 @@ import bisq.common.config.Config;
import bisq.common.proto.persistable.PersistedDataHost;
import com.google.inject.Injector;
import com.google.inject.Key;
import com.google.inject.name.Names;
import java.util.ArrayList;
import java.util.List;