CloneSet371


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
25220.978compilation_unit
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12517
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/xmi/impl/XMIResourceFactoryImpl.java
23017
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/xmi/impl/XMLResourceFactoryImpl.java
Next
Last
Clone Instance
1
Line Count
25
Source Line
17
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/xmi/impl/XMIResourceFactoryImpl.java

/**
 * <copyright>
 *
 * Copyright (c) 2002-2006 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 - Initial API and implementation
 *
 * </copyright>
 *
 * $Id: XMIResourceFactoryImpl.java,v 1.3 2006/12/05 20:23:28 emerks Exp $
 */
package org.eclipse.emf.ecore.xmi.impl;

import org.eclipse.emf.common.util.URI;
import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl;

public class XMIResourceFactoryImpl extends ResourceFactoryImpl {
  /**
   * Constructor for XMIResourceFactoryImpl.
   */
  public XMIResourceFactoryImpl() {
    super();
  }

  @Override public Resource createResource(URI uri) {
    return new XMIResourceImpl(uri);
  }
}




First
Previous
Clone Instance
2
Line Count
30
Source Line
17
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/xmi/impl/XMLResourceFactoryImpl.java

/**
 * <copyright>
 *
 * Copyright (c) 2002-2006 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 - Initial API and implementation
 *
 * </copyright>
 *
 * $Id: XMLResourceFactoryImpl.java,v 1.3 2006/12/05 20:23:28 emerks Exp $
 */
package org.eclipse.emf.ecore.xmi.impl;

import org.eclipse.emf.common.util.URI;
import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl;

/**
 * This class creates XMLResourceImpl objects.
 */
public class XMLResourceFactoryImpl extends ResourceFactoryImpl {
  /**
   * Constructor for XMLResourceFactoryImpl.
   */
  public XMLResourceFactoryImpl() {
    super();
  }

  /**
   * Creates an XMLResourceImpl and returns it.
   */
  @Override public Resource createResource(URI uri) {
    return new XMLResourceImpl(uri);
  }
}




Clone AbstractionParameter Count: 2Parameter Bindings

/**
 * <copyright>
 *
 * Copyright (c) 2002-2006 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 - Initial API and implementation
 *
 * </copyright>
 *
 * $Id: XMIResourceFactoryImpl.java,v 1.3 2006/12/05 20:23:28 emerks Exp $
 */
/**
 * <copyright>
 *
 * Copyright (c) 2002-2006 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 - Initial API and implementation
 *
 * </copyright>
 *
 * $Id: XMLResourceFactoryImpl.java,v 1.3 2006/12/05 20:23:28 emerks Exp $
 */
package org.eclipse.emf.ecore.xmi.impl;

import org.eclipse.emf.common.util.URI;
import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl;

/**
 * This class creates XMLResourceImpl objects.
 */
public class [[#variable17260380]]extends ResourceFactoryImpl {
  /**
     * Constructor for XMIResourceFactoryImpl.
     */
  /**
     * Constructor for XMLResourceFactoryImpl.
     */
  public [[#variable17260380]]() {
    super();
  }

  /**
     * Creates an XMLResourceImpl and returns it.
     */
  @Override public Resource createResource(URI uri) {
    return new [[#variable172602e0]](uri);
  }
}


 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#17260380]]
XMIResourceFactoryImpl 
12[[#17260380]]
XMLResourceFactoryImpl 
21[[#172602e0]]
XMIResourceImpl 
22[[#172602e0]]
XMLResourceImpl