Skip to content
Open
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
12 changes: 6 additions & 6 deletions core/src/main/java/pro/jtaylor/timetracker/core/Tracker.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,20 @@ public class Tracker {
@Autowired
private List<TimeEntry> entries;

public void add(TimeEntry entry) {
entries.add(entry);
public void add(TimeEntry timeEntry) {
entries.add(timeEntry);
}

public void remove(TimeEntry entry) {
entries.remove(entry);
public void remove(TimeEntry timeEntry) {
entries.remove(timeEntry);
}

public int size() {
return entries.size();
}

public TimeEntry get(int index) {
return entries.get(index);
public TimeEntry get(int entryIndex) {
return entries.get(entryIndex);
}
}

6 changes: 3 additions & 3 deletions web/src/main/webapp/index.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
<title>Super Simple Example Webpage</title>
<title>UECS2363</title>
</head>
<body>
<h1>Super Simple Example Web Page</h1>
<h1>Software Construction and Configuration</h1>
<p>
This is a very simple example web page on a JSP.
This is Software Construction and Configuration assignment.
</p>
</body>
</html>