CloneSet288


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
18230.969compilation_unit
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11818
E:/TSE/Projects-CloneDR/columba-1.4-src/contact/src/main/java/org/columba/addressbook/resourceloader/ContactImageLoader.java
21818
E:/TSE/Projects-CloneDR/columba-1.4-src/mail/src/main/java/org/columba/mail/resourceloader/MailImageLoader.java
Next
Last
Clone Instance
1
Line Count
18
Source Line
18
Source File
E:/TSE/Projects-CloneDR/columba-1.4-src/contact/src/main/java/org/columba/addressbook/resourceloader/ContactImageLoader.java

// The contents of this file are subject to the Mozilla Public License Version
// 1.1
//(the "License"); you may not use this file except in compliance with the
//License. You may obtain a copy of the License at http://www.mozilla.org/MPL/
//
//Software distributed under the License is distributed on an "AS IS" basis,
//WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
//for the specific language governing rights and
//limitations under the License.
//
//The Original Code is "The Columba Project"
//
//The Initial Developers of the Original Code are Frederik Dietz and Timo
// Stich.
//Portions created by Frederik Dietz and Timo Stich are Copyright (C) 2003.
//
//All Rights Reserved.
package org.columba.addressbook.resourceloader;

import javax.swing.ImageIcon;
import org.columba.core.resourceloader.ImageLoader;

public class ContactImageLoader {
  public static ImageIcon getIcon(String name) {
    return ImageLoader.getIcon("org/columba/addressbook/icons", name, false);
  }

  public static ImageIcon getSmallIcon(String name) {
    return ImageLoader.getIcon("org/columba/addressbook/icons", name, true);
  }
}




First
Previous
Clone Instance
2
Line Count
18
Source Line
18
Source File
E:/TSE/Projects-CloneDR/columba-1.4-src/mail/src/main/java/org/columba/mail/resourceloader/MailImageLoader.java

// The contents of this file are subject to the Mozilla Public License Version
// 1.1
//(the "License"); you may not use this file except in compliance with the
//License. You may obtain a copy of the License at http://www.mozilla.org/MPL/
//
//Software distributed under the License is distributed on an "AS IS" basis,
//WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
//for the specific language governing rights and
//limitations under the License.
//
//The Original Code is "The Columba Project"
//
//The Initial Developers of the Original Code are Frederik Dietz and Timo
// Stich.
//Portions created by Frederik Dietz and Timo Stich are Copyright (C) 2003.
//
//All Rights Reserved.
package org.columba.mail.resourceloader;

import javax.swing.ImageIcon;
import org.columba.core.resourceloader.ImageLoader;

public class MailImageLoader {
  public static ImageIcon getIcon(String name) {
    return ImageLoader.getIcon("org/columba/mail/icons", name, false);
  }

  public static ImageIcon getSmallIcon(String name) {
    return ImageLoader.getIcon("org/columba/mail/icons", name, true);
  }
}




Clone AbstractionParameter Count: 3Parameter Bindings

// The contents of this file are subject to the Mozilla Public License Version
// 1.1
//(the "License"); you may not use this file except in compliance with the
//License. You may obtain a copy of the License at http://www.mozilla.org/MPL/
//
//Software distributed under the License is distributed on an "AS IS" basis,
//WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
//for the specific language governing rights and
//limitations under the License.
//
//The Original Code is "The Columba Project"
//
//The Initial Developers of the Original Code are Frederik Dietz and Timo
// Stich.
//Portions created by Frederik Dietz and Timo Stich are Copyright (C) 2003.
//
//All Rights Reserved.
package org.columba. [[#variable132b2c80]].resourceloader;

import javax.swing.ImageIcon;
import org.columba.core.resourceloader.ImageLoader;

public class [[#variable132b26a0]]{
  public static ImageIcon getIcon(String name) {
    return ImageLoader.getIcon( [[#variable132b2b20]], name, false);
  }

  public static ImageIcon getSmallIcon(String name) {
    return ImageLoader.getIcon( [[#variable132b2b20]], name, true);
  }
}


 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#132b2c80]]
addressbook 
12[[#132b2c80]]
mail 
21[[#132b26a0]]
ContactImageLoader 
22[[#132b26a0]]
MailImageLoader 
31[[#132b2b20]]
"org/columba/addressbook/icons" 
32[[#132b2b20]]
"org/columba/mail/icons"