CloneSet14


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
231110.982method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12344
E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/jedit/ActionListHandler.java
211369
E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/jedit/buffer/KillRing.java
323415
E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/jedit/BufferHistory.java
424277
E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/jedit/gui/DockableWindowManager.java
52334
E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/jedit/ModeCatalogHandler.java
623264
E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/jedit/PerspectiveManager.java
71141
E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/jedit/pluginmgr/MirrorListHandler.java
82436
E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/jedit/pluginmgr/PluginListHandler.java
923698
E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/jedit/Registers.java
102450
E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/jedit/ServiceListHandler.java
112252
E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/jedit/syntax/XModeHandler.java
Next
Last
Clone Instance
1
Line Count
23
Source Line
44
Source File
E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/jedit/ActionListHandler.java

//{{{ resolveEntity() method
public Object resolveEntity(String publicId, String systemId) {
  if ("actions.dtd".equals(systemId)) {
    // this will result in a slight speed up, since we
    // don't need to read the DTD anyway, as AElfred is
    // non-validating
    return new StringReader("<!-- -->");
  /* try
  {
          return new BufferedReader(new InputStreamReader(
                  getClass().getResourceAsStream("actions.dtd")));
  }
  catch(Exception e)
  {
          Log.log(Log.ERROR,this,"Error while opening"
                  + " actions.dtd:");
          Log.log(Log.ERROR,this,e);
  } */
  }
  return null;
} //}}}


Next
Previous
Clone Instance
2
Line Count
11
Source Line
369
Source File
E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/jedit/buffer/KillRing.java

public Object resolveEntity(String publicId, String systemId) {
  if ("killring.dtd".equals(systemId)) {
    // this will result in a slight speed up, since we
    // don't need to read the DTD anyway, as AElfred is
    // non-validating
    return new StringReader("<!-- -->");
  }
  return null;
}


Next
Previous
Clone Instance
3
Line Count
23
Source Line
415
Source File
E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/jedit/BufferHistory.java

public Object resolveEntity(String publicId, String systemId) {
  if ("recent.dtd".equals(systemId)) {
    // this will result in a slight speed up, since we
    // don't need to read the DTD anyway, as AElfred is
    // non-validating
    return new StringReader("<!-- -->");
  /* try
  {
          return new BufferedReader(new InputStreamReader(
                  getClass().getResourceAsStream("recent.dtd")));
  }
  catch(Exception e)
  {
          Log.log(Log.ERROR,this,"Error while opening"
                  + " recent.dtd:");
          Log.log(Log.ERROR,this,e);
  } */
  }
  return null;
}


Next
Previous
Clone Instance
4
Line Count
24
Source Line
277
Source File
E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/jedit/gui/DockableWindowManager.java

//{{{ resolveEntity() method
public Object resolveEntity(String publicId, String systemId) {
  if ("dockables.dtd".equals(systemId)) {
    // this will result in a slight speed up, since we
    // don't need to read the DTD anyway, as AElfred is
    // non-validating
    return new StringReader("<!-- -->");
  /* try
  {
          return new BufferedReader(new InputStreamReader(
                  getClass().getResourceAsStream
                  ("/org/gjt/sp/jedit/dockables.dtd")));
  }
  catch(Exception e)
  {
          Log.log(Log.ERROR,this,"Error while opening"
                  + " dockables.dtd:");
          Log.log(Log.ERROR,this,e);
  } */
  }
  return null;
} //}}}


Next
Previous
Clone Instance
5
Line Count
23
Source Line
34
Source File
E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/jedit/ModeCatalogHandler.java

public Object resolveEntity(String publicId, String systemId) {
  if ("catalog.dtd".equals(systemId)) {
    // this will result in a slight speed up, since we
    // don't need to read the DTD anyway, as AElfred is
    // non-validating
    return new StringReader("<!-- -->");
  /* try
  {
          return new BufferedReader(new InputStreamReader(
                  getClass().getResourceAsStream("catalog.dtd")));
  }
  catch(Exception e)
  {
          Log.log(Log.ERROR,this,"Error while opening"
                  + " catalog.dtd:");
          Log.log(Log.ERROR,this,e);
  } */
  }
  return null;
}


Next
Previous
Clone Instance
6
Line Count
23
Source Line
264
Source File
E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/jedit/PerspectiveManager.java

public Object resolveEntity(String publicId, String systemId) {
  if ("perspective.dtd".equals(systemId)) {
    // this will result in a slight speed up, since we
    // don't need to read the DTD anyway, as AElfred is
    // non-validating
    return new StringReader("<!-- -->");
  /* try
  {
          return new BufferedReader(new InputStreamReader(
                  getClass().getResourceAsStream("recent.dtd")));
  }
  catch(Exception e)
  {
          Log.log(Log.ERROR,this,"Error while opening"
                  + " recent.dtd:");
          Log.log(Log.ERROR,this,e);
  } */
  }
  return null;
}


Next
Previous
Clone Instance
7
Line Count
11
Source Line
41
Source File
E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/jedit/pluginmgr/MirrorListHandler.java

//{{{ resolveEntity() method
public Object resolveEntity(String publicId, String systemId) {
  if ("mirrors.dtd".equals(systemId)) {
    // this will result in a slight speed up, since we
    // don't need to read the DTD anyway, as AElfred is
    // non-validating
    return new StringReader("<!-- -->");
  }
  return null;
} //}}}


Next
Previous
Clone Instance
8
Line Count
24
Source Line
36
Source File
E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/jedit/pluginmgr/PluginListHandler.java

public Object resolveEntity(String publicId, String systemId) {
  if ("plugins.dtd".equals(systemId)) {
    // this will result in a slight speed up, since we
    // don't need to read the DTD anyway, as AElfred is
    // non-validating
    return new StringReader("<!-- -->");
  /* try
  {
          return new BufferedReader(new InputStreamReader(
                  getClass().getResourceAsStream(
                  "/org/gjt/sp/jedit/pluginmgr/plugins.dtd")));
  }
  catch(Exception e)
  {
          Log.log(Log.ERROR,this,"Error while opening"
                  + " plugins.dtd:");
          Log.log(Log.ERROR,this,e);
  } */
  }
  return null;
}


Next
Previous
Clone Instance
9
Line Count
23
Source Line
698
Source File
E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/jedit/Registers.java

//{{{ resolveEntity() method
public Object resolveEntity(String publicId, String systemId) {
  if ("registers.dtd".equals(systemId)) {
    // this will result in a slight speed up, since we
    // don't need to read the DTD anyway, as AElfred is
    // non-validating
    return new StringReader("<!-- -->");
  /* try
  {
          return new BufferedReader(new InputStreamReader(
                  getClass().getResourceAsStream("registers.dtd")));
  }
  catch(Exception e)
  {
          Log.log(Log.ERROR,this,"Error while opening"
                  + " recent.dtd:");
          Log.log(Log.ERROR,this,e);
  } */
  }
  return null;
} //}}}


Next
Previous
Clone Instance
10
Line Count
24
Source Line
50
Source File
E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/jedit/ServiceListHandler.java

//{{{ resolveEntity() method
public Object resolveEntity(String publicId, String systemId) {
  if ("services.dtd".equals(systemId)) {
    // this will result in a slight speed up, since we
    // don't need to read the DTD anyway, as AElfred is
    // non-validating
    return new StringReader("<!-- -->");
  /* try
  {
          return new BufferedReader(new InputStreamReader(
                  getClass().getResourceAsStream
                  ("/org/gjt/sp/jedit/services.dtd")));
  }
  catch(Exception e)
  {
          Log.log(Log.ERROR,this,"Error while opening"
                  + " dockables.dtd:");
          Log.log(Log.ERROR,this,e);
  } */
  }
  return null;
} //}}}


First
Previous
Clone Instance
11
Line Count
22
Source Line
52
Source File
E:/TSE/Projects-CloneDR/jEdit-4.2/src/org/gjt/sp/jedit/syntax/XModeHandler.java

//{{{ resolveEntity() method
public Object resolveEntity(String publicId, String systemId) {
  if ("xmode.dtd".equals(systemId)) {
    // this will result in a slight speed up, since we
    // don't need to read the DTD anyway, as AElfred is
    // non-validating
    return new StringReader("<!-- -->");
  /* try
  {
          return new BufferedReader(new InputStreamReader(
                  getClass().getResourceAsStream(
                  "/org/gjt/sp/jedit/syntax/xmode.dtd")));
  }
  catch(Exception e)
  {
          error("dtd",e);
  } */
  }
  return null;
} //}}}


Clone AbstractionParameter Count: 1Parameter Bindings

//{{{ resolveEntity() method
public Object resolveEntity(String publicId, String systemId) {
  if ( [[#variableae4d620]].equals(systemId)) {
    // this will result in a slight speed up, since we
    // don't need to read the DTD anyway, as AElfred is
    // non-validating
    return new StringReader("<!-- -->");
  /* try
                          {
                                  return new BufferedReader(new InputStreamReader(
                                          getClass().getResourceAsStream("actions.dtd")));
                          }
                          catch(Exception e)
                          {
                                  Log.log(Log.ERROR,this,"Error while opening"
                                          + " actions.dtd:");
                                  Log.log(Log.ERROR,this,e);
                          } */
  /* try
                                  {
                                          return new BufferedReader(new InputStreamReader(
                                                  getClass().getResourceAsStream("recent.dtd")));
                                  }
                                  catch(Exception e)
                                  {
                                          Log.log(Log.ERROR,this,"Error while opening"
                                                  + " recent.dtd:");
                                          Log.log(Log.ERROR,this,e);
                                  } */
  /* try
                          {
                                  return new BufferedReader(new InputStreamReader(
                                          getClass().getResourceAsStream("catalog.dtd")));
                          }
                          catch(Exception e)
                          {
                                  Log.log(Log.ERROR,this,"Error while opening"
                                          + " catalog.dtd:");
                                  Log.log(Log.ERROR,this,e);
                          } */
  /* try
                                  {
                                          return new BufferedReader(new InputStreamReader(
                                                  getClass().getResourceAsStream("registers.dtd")));
                                  }
                                  catch(Exception e)
                                  {
                                          Log.log(Log.ERROR,this,"Error while opening"
                                                  + " recent.dtd:");
                                          Log.log(Log.ERROR,this,e);
                                  } */
  /* try
                          {
                                  return new BufferedReader(new InputStreamReader(
                                          getClass().getResourceAsStream
                                          ("/org/gjt/sp/jedit/services.dtd")));
                          }
                          catch(Exception e)
                          {
                                  Log.log(Log.ERROR,this,"Error while opening"
                                          + " dockables.dtd:");
                                  Log.log(Log.ERROR,this,e);
                          } */
  /* try
                                  {
                                          return new BufferedReader(new InputStreamReader(
                                                  getClass().getResourceAsStream
                                                  ("/org/gjt/sp/jedit/dockables.dtd")));
                                  }
                                  catch(Exception e)
                                  {
                                          Log.log(Log.ERROR,this,"Error while opening"
                                                  + " dockables.dtd:");
                                          Log.log(Log.ERROR,this,e);
                                  } */
  /* try
                          {
                                  return new BufferedReader(new InputStreamReader(
                                          getClass().getResourceAsStream(
                                          "/org/gjt/sp/jedit/pluginmgr/plugins.dtd")));
                          }
                          catch(Exception e)
                          {
                                  Log.log(Log.ERROR,this,"Error while opening"
                                          + " plugins.dtd:");
                                  Log.log(Log.ERROR,this,e);
                          } */
  /* try
                          {
                                  return new BufferedReader(new InputStreamReader(
                                          getClass().getResourceAsStream(
                                          "/org/gjt/sp/jedit/syntax/xmode.dtd")));
                          }
                          catch(Exception e)
                          {
                                  error("dtd",e);
                          } */
  }
  return null;
} //}}}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#ae4d620]]
"actions.dtd" 
12[[#ae4d620]]
"killring.dtd" 
13[[#ae4d620]]
"recent.dtd" 
14[[#ae4d620]]
"dockables.dtd" 
15[[#ae4d620]]
"catalog.dtd" 
16[[#ae4d620]]
"perspective.dtd" 
17[[#ae4d620]]
"mirrors.dtd" 
18[[#ae4d620]]
"plugins.dtd" 
19[[#ae4d620]]
"registers.dtd" 
110[[#ae4d620]]
"services.dtd" 
111[[#ae4d620]]
"xmode.dtd"