Skip to content

Commit 3e1db15

Browse files
authored
Update MainLeaky.java
1 parent 82a78cb commit 3e1db15

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/main/java/edu/luc/cs/consoleapp/MainLeaky.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ public static void main(final String[] args) {
5656
* A sliding window queue that retains the last N elements.
5757
* This component is independent of the user interface and can be tested independently.
5858
* Nevertheless, it violates an important nonfunctional requirement: it leaks memory.
59+
* In addition, it violates the functional requirement of
60+
* interactively responding to each input.
5961
*/
6062
static class LeakyQueue {
6163

0 commit comments

Comments
 (0)