Skip to content

Commit

Permalink
Git issues, trying to fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Fuzzabee committed Mar 14, 2024
1 parent 0166fbb commit 21e1ab7
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
package edu.rpi.legup.puzzle.thermometer;

public class ThermometerExporter {
}

import java.util.ArrayList;

import edu.rpi.legup.model.PuzzleExporter;
import org.w3c.dom.Document;
import edu.rpi.legup.puzzle.thermometer.elements.Vial;
import edu.rpi.legup.puzzle.thermometer.ThermometerVial;

public class ThermometerExporter extends PuzzleExporter {

Expand All @@ -26,8 +23,8 @@ protected org.w3c.dom.Element createBoardElement(Document newDocument) {

// Creating the XML section for the vials and appending to the board
org.w3c.dom.Element vialsElement = newDocument.createElement("vials");
ArrayList<Vial> vials = board.getVials();
for (Vial vial : vials) {
ArrayList<ThermometerVial> vials = board.getVials();
for (ThermometerVial vial : vials) {
org.w3c.dom.Element vialElement = newDocument.createElement("vial");
// Temp for now, waiting on final implementation of vial
// vialElement.setAttribute("headx", vial.getHeadX());
Expand Down

0 comments on commit 21e1ab7

Please sign in to comment.