Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing redirecting paths with duplicate code #2888

Merged
merged 5 commits into from
Jan 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions exercises/concept/calculator-conundrum/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"jmrunkle"
],
"contributors": [
"jagdish-15",
"sanderploegsma"
],
"files": {
Expand Down

This file was deleted.

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);
}
}
1 change: 1 addition & 0 deletions exercises/concept/wizards-and-warriors-2/.meta/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"sougat818"
],
"contributors": [
"jagdish-15",
"sanderploegsma"
],
"files": {
Expand Down

This file was deleted.

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;
}
}

This file was deleted.

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;
}
}

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
public enum TravelMethod {
WALKING,
HORSEBACK
}