mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-14 21:43:11 +00:00
[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:
@@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user