|
From: <ha...@us...> - 2008-02-28 17:40:48
|
Revision: 1932
http://cogkit.svn.sourceforge.net/cogkit/?rev=1932&view=rev
Author: hategan
Date: 2008-02-28 09:40:46 -0800 (Thu, 28 Feb 2008)
Log Message:
-----------
make this compile
Modified Paths:
--------------
trunk/current/src/cog/modules/gridfaces/src/org/globus/cog/gridface/impl/commands/GridCommandImpl.java
trunk/current/src/cog/modules/gridfaces/src/org/globus/cog/gridface/impl/desktop/util/GCMLoggerTable.java
trunk/current/src/cog/modules/gridfaces/src/org/globus/cog/gridface/interfaces/GridCommand.java
Modified: trunk/current/src/cog/modules/gridfaces/src/org/globus/cog/gridface/impl/commands/GridCommandImpl.java
===================================================================
--- trunk/current/src/cog/modules/gridfaces/src/org/globus/cog/gridface/impl/commands/GridCommandImpl.java 2008-02-28 17:35:09 UTC (rev 1931)
+++ trunk/current/src/cog/modules/gridfaces/src/org/globus/cog/gridface/impl/commands/GridCommandImpl.java 2008-02-28 17:40:46 UTC (rev 1932)
@@ -541,15 +541,10 @@
return attributes;
}
- public Calendar getCompletedTime() {
- return this.task.getCompletedTime();
- }
public Integer getId() {
return this.id;
}
- public Calendar getSubmittedTime() {
- return this.task.getSubmittedTime();
- }
+
public Task getTask() {
return this.task;
}
Modified: trunk/current/src/cog/modules/gridfaces/src/org/globus/cog/gridface/impl/desktop/util/GCMLoggerTable.java
===================================================================
--- trunk/current/src/cog/modules/gridfaces/src/org/globus/cog/gridface/impl/desktop/util/GCMLoggerTable.java 2008-02-28 17:35:09 UTC (rev 1931)
+++ trunk/current/src/cog/modules/gridfaces/src/org/globus/cog/gridface/impl/desktop/util/GCMLoggerTable.java 2008-02-28 17:40:46 UTC (rev 1932)
@@ -503,21 +503,22 @@
case DIRECTORY_COL:
return (String)command.getAttribute("directory");
case SUBMITTIME_COL :
- if (command.getSubmittedTime() != null) {
- String submitTime = sdf.format(command
- .getSubmittedTime().getTime());
- return submitTime;
- } else {
+ //TODO who is supposed to maintain this?
+ //if (command.getSubmittedTime() != null) {
+ // String submitTime = sdf.format(command
+ // .getSubmittedTime().getTime());
+ // return submitTime;
+ //} else {
return "Not available";
- }
+ //}
case COMPLETETIME_COL :
- if (command.getCompletedTime() != null) {
- String submitTime = sdf.format(command
- .getCompletedTime().getTime());
- return submitTime;
- } else {
+ //if (command.getCompletedTime() != null) {
+ // String submitTime = sdf.format(command
+ // .getCompletedTime().getTime());
+ // return submitTime;
+ //} else {
return "Not available";
- }
+ //}
case PROVIDER_COL :
return command.getAttribute("provider");
case SERVICE_COL :
Modified: trunk/current/src/cog/modules/gridfaces/src/org/globus/cog/gridface/interfaces/GridCommand.java
===================================================================
--- trunk/current/src/cog/modules/gridfaces/src/org/globus/cog/gridface/interfaces/GridCommand.java 2008-02-28 17:35:09 UTC (rev 1931)
+++ trunk/current/src/cog/modules/gridfaces/src/org/globus/cog/gridface/interfaces/GridCommand.java 2008-02-28 17:40:46 UTC (rev 1932)
@@ -71,10 +71,6 @@
/** validate the given command and return true or false */
public boolean validate();
-
- public Calendar getSubmittedTime();
-
- public Calendar getCompletedTime();
/** Get output of the given command when status changes to COMPLETED */
public Object getOutput();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|