Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
nicol authored and nicol committed Dec 6, 2024
1 parent 61748e0 commit 3240275
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ else if(!StringUtils.isBlank(line) && !line.equals("Deck"))

@Override
public List<RetrievableDeck> getDeckList(String filter, MTGCard mc) throws IOException {
List<RetrievableDeck> list = new ArrayList<>();
var list = new ArrayList<RetrievableDeck>();

Map<String,String> headers = new HashMap<>();
var headers = new HashMap<String,String>();
headers.put(URLTools.CONTENT_TYPE, URLTools.HEADER_JSON);
headers.put(URLTools.USER_AGENT,MTGConstants.USER_AGENT);
var resp = httpclient.doPost(uriPost+formats.get(filter), new StringEntity(postReqData), headers);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@
import org.magic.services.tools.UITools;
import org.magic.services.workers.AbstractObservableWorker;

import nl.basjes.parse.useragent.yauaa.shaded.org.apache.commons.lang3.ArrayUtils;

public class CardsEditionTablePanel extends JPanel {
/**
*
Expand Down
2 changes: 0 additions & 2 deletions src/main/java/org/magic/gui/models/MagicCardTableModel.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
import org.magic.gui.abstracts.GenericTableModel;
import org.magic.services.MTGControler;

import nl.basjes.parse.useragent.yauaa.shaded.org.apache.commons.lang3.ArrayUtils;

public class MagicCardTableModel extends GenericTableModel<MTGCard> {

private static final long serialVersionUID = 1L;
Expand Down

0 comments on commit 3240275

Please sign in to comment.