CloneSet1353


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
23230.972compilation_unit
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12311
plugins/org.eclipse.jdt.launching.macosx/macosx/org/eclipse/jdt/internal/launching/macosx/MacOSXDebugVMRunner.java
22311
plugins/org.eclipse.jdt.launching.macosx/macosx/org/eclipse/jdt/internal/launching/macosx/MacOSXVMRunner.java
Clone Instance
1
Line Count
23
Source Line
11
Source File
plugins/org.eclipse.jdt.launching.macosx/macosx/org/eclipse/jdt/internal/launching/macosx/MacOSXDebugVMRunner.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);
        }
}




Clone Instance
2
Line Count
23
Source Line
11
Source File
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.* ;

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);
        }
}




Clone AbstractionParameter Count: 3Parameter Bindings

/*******************************************************************************
 * 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#961cfee0]]
import java.io.File; 
12[[#961cfee0]]
import java.io.* ; 
21[[#961cfe20]]
StandardVMDebugger 
22[[#961cfe20]]
StandardVMRunner 
31[[#961cfdc0]]
MacOSXDebugVMRunner 
32[[#961cfdc0]]
MacOSXVMRunner