Skip to content

Commit bce1d70

Browse files
authored
Replace symlinks with duplicate classes (exercism#2888)
This is try get around a possible compilation problem on Windows (see also https://forum.exercism.org/t/compilation-failure-in-calculator-conundrum-exercis/14254/5.)
1 parent dc69bf0 commit bce1d70

File tree

6 files changed

+64
-4
lines changed

6 files changed

+64
-4
lines changed

exercises/concept/calculator-conundrum/.meta/config.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"jmrunkle"
55
],
66
"contributors": [
7+
"jagdish-15",
78
"sanderploegsma"
89
],
910
"files": {

exercises/concept/calculator-conundrum/.meta/src/reference/java/IllegalOperationException.java

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
public class IllegalOperationException extends RuntimeException {
2+
public IllegalOperationException(String errorMessage) {
3+
super(errorMessage);
4+
}
5+
6+
public IllegalOperationException(String errorMessage, Throwable cause) {
7+
super(errorMessage, cause);
8+
}
9+
}

exercises/concept/wizards-and-warriors-2/.meta/config.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"sougat818"
44
],
55
"contributors": [
6+
"jagdish-15",
67
"sanderploegsma"
78
],
89
"files": {

exercises/concept/wizards-and-warriors-2/.meta/src/reference/java/Character.java

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
public class Character {
2+
private String characterClass;
3+
private int level;
4+
private int hitPoints;
5+
6+
public String getCharacterClass() {
7+
return characterClass;
8+
}
9+
10+
public void setCharacterClass(String characterClass) {
11+
this.characterClass = characterClass;
12+
}
13+
14+
public int getLevel() {
15+
return level;
16+
}
17+
18+
public void setLevel(int level) {
19+
this.level = level;
20+
}
21+
22+
public int getHitPoints() {
23+
return hitPoints;
24+
}
25+
26+
public void setHitPoints(int hitPoints) {
27+
this.hitPoints = hitPoints;
28+
}
29+
}

exercises/concept/wizards-and-warriors-2/.meta/src/reference/java/Destination.java

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
public class Destination {
2+
private String name;
3+
private int inhabitants;
4+
5+
public String getName() {
6+
return name;
7+
}
8+
9+
public void setName(String name) {
10+
this.name = name;
11+
}
12+
13+
public int getInhabitants() {
14+
return inhabitants;
15+
}
16+
17+
public void setInhabitants(int inhabitants) {
18+
this.inhabitants = inhabitants;
19+
}
20+
}

exercises/concept/wizards-and-warriors-2/.meta/src/reference/java/TravelMethod.java

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
public enum TravelMethod {
2+
WALKING,
3+
HORSEBACK
4+
}

0 commit comments

Comments
 (0)