1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-03 15:15:25 +02:00

[219975] Fix SystemMessage#clone()

This commit is contained in:
Martin Oberhuber 2008-02-22 15:58:22 +00:00
parent 7855f9e110
commit 774e2450b7
3 changed files with 8 additions and 6 deletions

View file

@ -1,5 +1,5 @@
/********************************************************************************
* Copyright (c) 2008 IBM Corporation. All rights reserved.
* Copyright (c) 2008 IBM Corporation and others. All rights reserved.
* This program and the accompanying materials are made available under the terms
* of the Eclipse Public License v1.0 which accompanies this distribution, and is
* available at http://www.eclipse.org/legal/epl-v10.html
@ -10,6 +10,7 @@
*
* Contributors:
* David McKnight (IBM) - [216252] [api][nls] Resource Strings specific to subsystems should be moved from rse.ui into files.ui / shells.ui / processes.ui where possible
* Martin Oberhuber (Wind River) - [219975] Fix SystemMessage#clone()
********************************************************************************/
package org.eclipse.rse.services.clientserver.messages;
@ -18,7 +19,7 @@ import java.io.StringWriter;
import org.eclipse.core.runtime.IStatus;
public class SimpleSystemMessage extends SystemMessage {
public class SimpleSystemMessage extends SystemMessage implements Cloneable {
/**
* alternative to message number for ids?

View file

@ -13,6 +13,7 @@
*
* Contributors:
* David McKnight (IBM) - [216252] SystemMessages using RSEStatus
* Martin Oberhuber (Wind River) - [219975] Fix SystemMessage#clone()
*******************************************************************************/
package org.eclipse.rse.services.clientserver.messages;

View file

@ -1,5 +1,5 @@
/********************************************************************************
* Copyright (c) 2004, 2006 IBM Corporation. All rights reserved.
* Copyright (c) 2004, 2008 IBM Corporation and others. All rights reserved.
* This program and the accompanying materials are made available under the terms
* of the Eclipse Public License v1.0 which accompanies this distribution, and is
* available at http://www.eclipse.org/legal/epl-v10.html
@ -11,7 +11,7 @@
* Emily Bruner, Mazen Faraj, Adrian Storisteanu, Li Ding, and Kent Hawley.
*
* Contributors:
* {Name} (company) - description of contribution.
* Martin Oberhuber (Wind River) - [219975] Fix SystemMessage#clone()
********************************************************************************/
package org.eclipse.rse.ui.messages;
@ -24,7 +24,7 @@ import org.eclipse.rse.services.clientserver.messages.SystemMessage;
public class SystemUIMessage extends SystemMessage
public class SystemUIMessage extends SystemMessage implements Cloneable
{
protected static final int displayMask = IStatus.OK | IStatus.INFO | IStatus.WARNING | IStatus.ERROR; // for IStatus substitution variables
@ -33,7 +33,7 @@ public class SystemUIMessage extends SystemMessage
super(comp,sub,number,ind,l1,l2);
}
/**
/**
* used to determine the string value of the object
* it calls toString for all object types except for Exceptions
* where the stack is also rendered