From f2e3b82946c6ef7b3f98d35d8701081f3df6fd11 Mon Sep 17 00:00:00 2001 From: rsuen Date: Sun, 27 May 2007 03:08:34 +0000 Subject: Remove unnecessary casts. --- .../org/eclipse/ecf/provider/datashare/BaseChannel.java | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'providers/bundles/org.eclipse.ecf.provider.datashare') diff --git a/providers/bundles/org.eclipse.ecf.provider.datashare/src/org/eclipse/ecf/provider/datashare/BaseChannel.java b/providers/bundles/org.eclipse.ecf.provider.datashare/src/org/eclipse/ecf/provider/datashare/BaseChannel.java index ba54b7dec..a00723e7b 100644 --- a/providers/bundles/org.eclipse.ecf.provider.datashare/src/org/eclipse/ecf/provider/datashare/BaseChannel.java +++ b/providers/bundles/org.eclipse.ecf.provider.datashare/src/org/eclipse/ecf/provider/datashare/BaseChannel.java @@ -1,10 +1,12 @@ /******************************************************************************* - * Copyright (c) 2004 Composent, Inc., Peter Nehrer, Boris Bokowski. 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 - * - * Contributors: Composent, Inc. - initial API and implementation + * Copyright (c) 2004, 2007 Composent, Inc., Peter Nehrer, Boris Bokowski. + * 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 + * + * Contributors: + * Composent, Inc. - initial API and implementation ******************************************************************************/ package org.eclipse.ecf.provider.datashare; @@ -204,7 +206,7 @@ public class BaseChannel extends TransactionSharedObject implements IChannel { } public byte[] getData() { - return (byte[]) channelData; + return channelData; } public ID getChannelID() { -- cgit v1.2.3