Skip to content

Commit

Permalink
Changed: Removed evemarketer.com API as a market price source
Browse files Browse the repository at this point in the history
  • Loading branch information
GoldenGnu committed Oct 1, 2023
1 parent f86a268 commit a9672c0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,13 @@
public class PriceDataSettings {

public enum PriceSource {
/*
EVEMARKETER(PricingFetch.EVEMARKETER, LocationType.REGION, 10000002L, Images.LINK_EVEMARKETER.getIcon()) {
@Override String getI18N() {
return DataModelPriceDataSettings.get().sourceEvemarketer();
}
},
*/
FUZZWORK(PricingFetch.FUZZWORK, LocationType.REGION, 10000002L, Images.LINK_FUZZWORK.getIcon()) {
@Override String getI18N() {
return DataModelPriceDataSettings.get().sourceFuzzwork();
Expand Down Expand Up @@ -373,7 +375,7 @@ public static Long getDefaultLocationID() {
}

public static PriceSource getDefaultPriceSource() {
return PriceSource.EVEMARKETER;
return PriceSource.FUZZWORK;
}

public void setPriceType(final PriceMode priceSource) {
Expand Down
4 changes: 2 additions & 2 deletions src/test/java/net/nikr/eve/jeveasset/io/online/ProxyTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
public class ProxyTest extends TestUtil {

private ProxyData proxyData;
private static final Set<Integer> TYPE_IDS = new HashSet<Integer>();
private static final Set<Integer> TYPE_IDS = new HashSet<>();

@AfterClass
public static void afterClass() {
Expand Down Expand Up @@ -108,7 +108,7 @@ private void testUpdate() {
private class PriceDataGetterMock extends PriceDataGetter {

protected void update() {
super.processUpdate(null, true, new TestPricingOptions(), TYPE_IDS, PriceSource.EVEMARKETER);
super.processUpdate(null, true, new TestPricingOptions(), TYPE_IDS, PriceSource.FUZZWORK);
}

}
Expand Down

0 comments on commit a9672c0

Please sign in to comment.