diff --git a/.gradle/8.14/executionHistory/executionHistory.bin b/.gradle/8.14/executionHistory/executionHistory.bin
index f0e0bae..757f77c 100644
Binary files a/.gradle/8.14/executionHistory/executionHistory.bin and b/.gradle/8.14/executionHistory/executionHistory.bin differ
diff --git a/.gradle/8.14/executionHistory/executionHistory.lock b/.gradle/8.14/executionHistory/executionHistory.lock
index 46b2cb0..feecbdb 100644
Binary files a/.gradle/8.14/executionHistory/executionHistory.lock and b/.gradle/8.14/executionHistory/executionHistory.lock differ
diff --git a/.gradle/8.14/fileHashes/fileHashes.bin b/.gradle/8.14/fileHashes/fileHashes.bin
index 59eedfd..6d9652c 100644
Binary files a/.gradle/8.14/fileHashes/fileHashes.bin and b/.gradle/8.14/fileHashes/fileHashes.bin differ
diff --git a/.gradle/8.14/fileHashes/fileHashes.lock b/.gradle/8.14/fileHashes/fileHashes.lock
index 65dae78..8876f31 100644
Binary files a/.gradle/8.14/fileHashes/fileHashes.lock and b/.gradle/8.14/fileHashes/fileHashes.lock differ
diff --git a/.gradle/8.14/fileHashes/resourceHashesCache.bin b/.gradle/8.14/fileHashes/resourceHashesCache.bin
index 990ee84..d70f36e 100644
Binary files a/.gradle/8.14/fileHashes/resourceHashesCache.bin and b/.gradle/8.14/fileHashes/resourceHashesCache.bin differ
diff --git a/.gradle/buildOutputCleanup/buildOutputCleanup.lock b/.gradle/buildOutputCleanup/buildOutputCleanup.lock
index 4bc2a9f..14c8488 100644
Binary files a/.gradle/buildOutputCleanup/buildOutputCleanup.lock and b/.gradle/buildOutputCleanup/buildOutputCleanup.lock differ
diff --git a/build/classes/java/main/hhn/temp/project/Task.class b/build/classes/java/main/hhn/temp/project/Task.class
index 2ece7c7..16a0075 100644
Binary files a/build/classes/java/main/hhn/temp/project/Task.class and b/build/classes/java/main/hhn/temp/project/Task.class differ
diff --git a/build/classes/java/test/project/BadCaseTaskTest.class b/build/classes/java/test/project/BadCaseTaskTest.class
index 3b67f1d..4af231b 100644
Binary files a/build/classes/java/test/project/BadCaseTaskTest.class and b/build/classes/java/test/project/BadCaseTaskTest.class differ
diff --git a/build/jacoco/test.exec b/build/jacoco/test.exec
index ac1deee..998bd91 100644
Binary files a/build/jacoco/test.exec and b/build/jacoco/test.exec differ
diff --git a/build/jacocoHtml/hhn.temp.project/Task.html b/build/jacocoHtml/hhn.temp.project/Task.html
index 96c2fb5..6890801 100644
--- a/build/jacocoHtml/hhn.temp.project/Task.html
+++ b/build/jacocoHtml/hhn.temp.project/Task.html
@@ -1 +1 @@
-
TaskTask
\ No newline at end of file
+TaskTask
\ No newline at end of file
diff --git a/build/jacocoHtml/hhn.temp.project/Task.java.html b/build/jacocoHtml/hhn.temp.project/Task.java.html
index 84ddb92..5ce06b6 100644
--- a/build/jacocoHtml/hhn.temp.project/Task.java.html
+++ b/build/jacocoHtml/hhn.temp.project/Task.java.html
@@ -14,8 +14,8 @@ public class Task {
throw new IllegalArgumentException("Name/Description is null!");
}
- if(name.isEmpty() || description.isEmpty()) {
- throw new IllegalArgumentException("Name/Description is empty!");
+ if(name.isEmpty()) {
+ throw new IllegalArgumentException("Name is empty!");
}
this.name = name;
@@ -46,21 +46,18 @@ public class Task {
throw new IllegalArgumentException("Description is null!");
}
- if(description.isEmpty()) {
- throw new IllegalArgumentException("Description is empty!");
- }
- this.description = description;
- }
+ this.description = description;
+ }
public void setStatus(TaskStatus taskStatus) {
- if (taskStatus == null ) {
+ if (taskStatus == null ) {
- throw new IllegalArgumentException("TaskStatus is null!");
+ throw new IllegalArgumentException("TaskStatus is null!");
}
- this.taskStatus = taskStatus;
- }
+ this.taskStatus = taskStatus;
+ }
}