-
-
Notifications
You must be signed in to change notification settings - Fork 690
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace symlinks with duplicate classes (#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.)
- Loading branch information
1 parent
dc69bf0
commit bce1d70
Showing
6 changed files
with
64 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
"jmrunkle" | ||
], | ||
"contributors": [ | ||
"jagdish-15", | ||
"sanderploegsma" | ||
], | ||
"files": { | ||
|
1 change: 0 additions & 1 deletion
1
...ises/concept/calculator-conundrum/.meta/src/reference/java/IllegalOperationException.java
This file was deleted.
Oops, something went wrong.
9 changes: 9 additions & 0 deletions
9
...ises/concept/calculator-conundrum/.meta/src/reference/java/IllegalOperationException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
public class IllegalOperationException extends RuntimeException { | ||
public IllegalOperationException(String errorMessage) { | ||
super(errorMessage); | ||
} | ||
|
||
public IllegalOperationException(String errorMessage, Throwable cause) { | ||
super(errorMessage, cause); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
"sougat818" | ||
], | ||
"contributors": [ | ||
"jagdish-15", | ||
"sanderploegsma" | ||
], | ||
"files": { | ||
|
1 change: 0 additions & 1 deletion
1
exercises/concept/wizards-and-warriors-2/.meta/src/reference/java/Character.java
This file was deleted.
Oops, something went wrong.
29 changes: 29 additions & 0 deletions
29
exercises/concept/wizards-and-warriors-2/.meta/src/reference/java/Character.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
public class Character { | ||
private String characterClass; | ||
private int level; | ||
private int hitPoints; | ||
|
||
public String getCharacterClass() { | ||
return characterClass; | ||
} | ||
|
||
public void setCharacterClass(String characterClass) { | ||
this.characterClass = characterClass; | ||
} | ||
|
||
public int getLevel() { | ||
return level; | ||
} | ||
|
||
public void setLevel(int level) { | ||
this.level = level; | ||
} | ||
|
||
public int getHitPoints() { | ||
return hitPoints; | ||
} | ||
|
||
public void setHitPoints(int hitPoints) { | ||
this.hitPoints = hitPoints; | ||
} | ||
} |
1 change: 0 additions & 1 deletion
1
exercises/concept/wizards-and-warriors-2/.meta/src/reference/java/Destination.java
This file was deleted.
Oops, something went wrong.
20 changes: 20 additions & 0 deletions
20
exercises/concept/wizards-and-warriors-2/.meta/src/reference/java/Destination.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
public class Destination { | ||
private String name; | ||
private int inhabitants; | ||
|
||
public String getName() { | ||
return name; | ||
} | ||
|
||
public void setName(String name) { | ||
this.name = name; | ||
} | ||
|
||
public int getInhabitants() { | ||
return inhabitants; | ||
} | ||
|
||
public void setInhabitants(int inhabitants) { | ||
this.inhabitants = inhabitants; | ||
} | ||
} |
1 change: 0 additions & 1 deletion
1
exercises/concept/wizards-and-warriors-2/.meta/src/reference/java/TravelMethod.java
This file was deleted.
Oops, something went wrong.
4 changes: 4 additions & 0 deletions
4
exercises/concept/wizards-and-warriors-2/.meta/src/reference/java/TravelMethod.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
public enum TravelMethod { | ||
WALKING, | ||
HORSEBACK | ||
} |