Don't initialize the logger in AsyncJobResponse class

This commit is contained in:
Alena Prokharchyk 2012-02-27 14:22:58 -08:00
parent 3a4ee0d486
commit 867db1ae5e
1 changed files with 0 additions and 2 deletions

View File

@ -30,7 +30,6 @@ import com.google.gson.annotations.SerializedName;
@SuppressWarnings("unused")
public class AsyncJobResponse extends BaseResponse {
private static final Logger s_logger = Logger.getLogger(AsyncJobResponse.class.getName());
@SerializedName("accountid") @Param(description="the account that executed the async command")
private IdentityProxy accountId = new IdentityProxy("account");
@ -132,7 +131,6 @@ public class AsyncJobResponse extends BaseResponse {
} else if (jobInstanceType.equalsIgnoreCase(AsyncJob.Type.User.toString())) {
this.jobInstanceId.setTableName("user");
} else if (!jobInstanceType.equalsIgnoreCase(AsyncJob.Type.None.toString())){
s_logger.warn("Failed to get async job instanceId for job instance type " + jobInstanceType);
// TODO : when we hit here, we need to add instanceType -> UUID entity table mapping
assert(false);
}