| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 23 | 2 | 3 | 0.972 | compilation_unit |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 23 | 11 | plugins/org.eclipse.jdt.launching.macosx/macosx/org/eclipse/jdt/internal/launching/macosx/MacOSXDebugVMRunner.java |
| 2 | 23 | 11 | plugins/org.eclipse.jdt.launching.macosx/macosx/org/eclipse/jdt/internal/launching/macosx/MacOSXVMRunner.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.launching.macosx;
import java.io.File;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.jdt.internal.launching.StandardVMDebugger;
import org.eclipse.jdt.launching.IVMInstall;
public class MacOSXDebugVMRunner extends StandardVMDebugger {
public MacOSXDebugVMRunner(IVMInstall vmInstance) {
super(vmInstance);
}
protected Process exec(String[] cmdLine, File workingDirectory) throws CoreException {
return super.exec(MacOSXLaunchingPlugin.wrap(getClass(), cmdLine), workingDirectory);
}
protected Process exec(String[] cmdLine, File workingDirectory, String[] envp) throws CoreException {
return super.exec(MacOSXLaunchingPlugin.wrap(getClass(), cmdLine), workingDirectory, envp);
}
}
|
| ||||
/*******************************************************************************
* 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.launching.macosx;
import java.io.* ;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.jdt.internal.launching.StandardVMRunner;
import org.eclipse.jdt.launching.IVMInstall;
public class MacOSXVMRunner extends StandardVMRunner {
public MacOSXVMRunner(IVMInstall vmInstance) {
super(vmInstance);
}
protected Process exec(String[] cmdLine, File workingDirectory) throws CoreException {
return super.exec(MacOSXLaunchingPlugin.wrap(getClass(), cmdLine), workingDirectory);
}
protected Process exec(String[] cmdLine, File workingDirectory, String[] envp) throws CoreException {
return super.exec(MacOSXLaunchingPlugin.wrap(getClass(), cmdLine), workingDirectory, envp);
}
}
|
| |||
/*******************************************************************************
* 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.launching.macosx;
[[#variable961cfee0]]
import org.eclipse.core.runtime.CoreException;
import org.eclipse.jdt.internal.launching. [[#variable961cfe20]];
import org.eclipse.jdt.launching.IVMInstall;
public class [[#variable961cfdc0]]extends [[#variable961cfe20]]{
public [[#variable961cfdc0]](IVMInstall vmInstance) {
super(vmInstance);
}
protected Process exec(String[] cmdLine, File workingDirectory) throws CoreException {
return super.exec(MacOSXLaunchingPlugin.wrap(getClass(), cmdLine), workingDirectory);
}
protected Process exec(String[] cmdLine, File workingDirectory, String[] envp) throws CoreException {
return super.exec(MacOSXLaunchingPlugin.wrap(getClass(), cmdLine), workingDirectory, envp);
}
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#961cfee0]] | import java.io.File; |
| 1 | 2 | [[#961cfee0]] | import java.io.* ; |
| 2 | 1 | [[#961cfe20]] | StandardVMDebugger |
| 2 | 2 | [[#961cfe20]] | StandardVMRunner |
| 3 | 1 | [[#961cfdc0]] | MacOSXDebugVMRunner |
| 3 | 2 | [[#961cfdc0]] | MacOSXVMRunner |