aboutsummaryrefslogtreecommitdiff
path: root/ufund-api/src/main/java/com/ufund/api/ufundapi/model
diff options
context:
space:
mode:
authorGunther6070 <haydenhartman10@yahoo.com>2025-03-30 16:41:24 -0400
committerGunther6070 <haydenhartman10@yahoo.com>2025-03-30 16:41:24 -0400
commit1abdb1408159796d12ed28c73862dd8d186384f0 (patch)
tree7fbacf2f717c9b4559c893cc84777c82507cdf71 /ufund-api/src/main/java/com/ufund/api/ufundapi/model
parent42725635e70426c4d2923c680609da8277c693ea (diff)
downloadJellySolutions-1abdb1408159796d12ed28c73862dd8d186384f0.tar.gz
JellySolutions-1abdb1408159796d12ed28c73862dd8d186384f0.tar.bz2
JellySolutions-1abdb1408159796d12ed28c73862dd8d186384f0.zip
Fixed broken tests and made them more consistent
Diffstat (limited to 'ufund-api/src/main/java/com/ufund/api/ufundapi/model')
-rw-r--r--ufund-api/src/main/java/com/ufund/api/ufundapi/model/Need.java18
1 files changed, 1 insertions, 17 deletions
diff --git a/ufund-api/src/main/java/com/ufund/api/ufundapi/model/Need.java b/ufund-api/src/main/java/com/ufund/api/ufundapi/model/Need.java
index 00cd38f..55a9441 100644
--- a/ufund-api/src/main/java/com/ufund/api/ufundapi/model/Need.java
+++ b/ufund-api/src/main/java/com/ufund/api/ufundapi/model/Need.java
@@ -46,7 +46,7 @@ public class Need {
* @param type The type of need (monetary, physical)
* @param urgent The urgency of the need
*/
- public Need(String name, String location, GoalType type, double maxGoal, boolean urgent) {
+ public Need(String name, String location, double maxGoal, GoalType type, boolean urgent) {
this.name = name;
this.location = location;
this.type = type;
@@ -74,10 +74,6 @@ public class Need {
return name;
}
- public String getLocation() {
- return location;
- }
-
public int getId() {
return id;
}
@@ -98,10 +94,6 @@ public class Need {
return current;
}
- public boolean isUrgent() {
- return urgent;
- }
-
public void setCurrent(double current) {
this.current = current;
}
@@ -122,15 +114,7 @@ public class Need {
this.name = name;
}
- public void setLocation(String location) {
- this.location = location;
- }
-
public void setID(int id){
this.id = id;
}
-
- public void setUrgent(boolean urgent) {
- this.urgent = urgent;
- }
} \ No newline at end of file