Skip to content

Commit c420d4c

Browse files
PaulaRudyPaulaRudy
authored andcommitted
Removed unused preferences stuff.
1 parent 155597f commit c420d4c

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

core/src/test/java/edu/wpi/grip/core/serialization/CompatibilityTest.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,7 @@ public void setUp() throws Exception {
6363
reader.close();
6464
String newtext = oldtext.replaceAll("REPLACEME", photoFileName);//This gives the correct location of the test photo needed to the project file
6565
//The following alters the project settings in the project file to the defaults given in the "settings" variable
66-
newtext = newtext.replaceAll("<teamNumber>.*</teamNumber>", "<teamNumber>" + settings.getTeamNumber() + "</teamNumber>");
67-
newtext = newtext.replaceAll("<publishAddress>.*</publishAddress>", "<publishAddress>" + settings.getPublishAddress() + "</publishAddress>");
68-
newtext = newtext.replaceAll("<deployAddress>.*</deployAddress>", "<deployAddress>" + settings.getDeployAddress() + "</deployAddress>");
6966
newtext = newtext.replaceAll("<deployDir>.*</deployDir>", "<deployDir>" + settings.getDeployDir() + "</deployDir>");
70-
newtext = newtext.replaceAll("<deployUser>.*</deployUser>", "<deployUser>" + settings.getDeployUser() + "</deployUser>");
7167
newtext = newtext.replaceAll("<deployJavaHome>.*</deployJavaHome>", "<deployJavaHome>" + settings.getDeployJavaHome() + "</deployJavaHome>");
7268

7369
//Write the altered project file text

0 commit comments

Comments
 (0)