[DS-707] Style / readability fixes

git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5579 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
Graham Triggs
2010-10-24 09:06:59 +00:00
parent 72e9793c81
commit 6f9d4e28ab
155 changed files with 2194 additions and 545 deletions

View File

@@ -230,11 +230,17 @@ public class DCDate
granularity = DateGran.TIME;
Date date = tryParse(fullIso, fromDC);
if (date == null)
{
date = tryParse(fullIso2, fromDC);
}
if (date == null)
{
date = tryParse(fullIso3, fromDC);
}
if (date == null)
{
date = tryParse(fullIso4, fromDC);
}
if (date == null)
{
// Seems there is no time component to the date.
@@ -442,7 +448,9 @@ public class DCDate
public String toString()
{
if (calendar == null)
{
return "null";
}
return toStringInternal();
}