Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
15 | 2 | 2 | 0.961 | compilation_unit |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 15 | 11 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaReplaceWithEditionAction.java |
2 | 16 | 11 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/compare/JavaReplaceWithPreviousEditionAction.java |
| ||||
/******************************************************************************* * Copyright (c) 2000, 2005 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 * * Contributors: * IBM Corporation - initial API and implementation *******************************************************************************/ package org.eclipse.jdt.internal.ui.compare; /** * Provides "Replace from local history" for Java elements. */ public class JavaReplaceWithEditionAction extends JavaHistoryAction { public JavaReplaceWithEditionAction() { } protected JavaHistoryActionImpl createDelegate() { return new JavaReplaceWithEditionActionImpl(false); } } |
| ||||
/******************************************************************************* * Copyright (c) 2000, 2005 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 * * Contributors: * IBM Corporation - initial API and implementation *******************************************************************************/ package org.eclipse.jdt.internal.ui.compare; /** * Provides "Replace from local history" for Java elements. */ public class JavaReplaceWithPreviousEditionAction extends JavaHistoryAction { public JavaReplaceWithPreviousEditionAction() { } protected JavaHistoryActionImpl createDelegate() { return new JavaReplaceWithEditionActionImpl(true); } } |
| |||
/******************************************************************************* * Copyright (c) 2000, 2005 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 * * Contributors: * IBM Corporation - initial API and implementation *******************************************************************************/ package org.eclipse.jdt.internal.ui.compare; /** * Provides "Replace from local history" for Java elements. */ public class [[#variableb8ae9b40]]extends JavaHistoryAction { public [[#variableb8ae9b40]]() { } protected JavaHistoryActionImpl createDelegate() { return new JavaReplaceWithEditionActionImpl( [[#variableb8ae9ae0]]); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b8ae9b40]] | JavaReplaceWithEditionAction |
1 | 2 | [[#b8ae9b40]] | JavaReplaceWithPreviousEditionAction |
2 | 1 | [[#b8ae9ae0]] | false |
2 | 2 | [[#b8ae9ae0]] | true |