- From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 06 Oct 2009 08:16:26 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/tasklist In directory hutz:/tmp/cvs-serv21587/src/org/w3c/unicorn/tasklist Modified Files: Tasklist.java Log Message: added getDefaultTask method Index: Tasklist.java =================================================================== RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/tasklist/Tasklist.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- Tasklist.java 28 Aug 2009 12:39:54 -0000 1.2 +++ Tasklist.java 6 Oct 2009 08:16:24 -0000 1.3 @@ -10,6 +10,10 @@ private String defaultTaskId; + public Task getDefaultTask() { + return Framework.mapOfTask.get(getDefaultTaskId()); + } + public String getDefaultTaskId() { if (defaultTaskId == null) { String id = Framework.mapOfTask.values().toArray(new Task[0])[0].getID();
Received on Tuesday, 6 October 2009 08:16:28 UTC