CloneSet668


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11310.973method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1997
E:/TSE/Projects-CloneDR/sql12/plugins/syntax/src/net/sourceforge/squirrel_sql/plugins/syntax/netbeans/SqlSyntaxHighlightTokenMatcher.java
212131
E:/TSE/Projects-CloneDR/sql12/plugins/syntax/src/net/sourceforge/squirrel_sql/plugins/syntax/netbeans/SqlSyntaxHighlightTokenMatcher.java
311145
E:/TSE/Projects-CloneDR/sql12/plugins/syntax/src/net/sourceforge/squirrel_sql/plugins/syntax/netbeans/SqlSyntaxHighlightTokenMatcher.java
Next
Last
Clone Instance
1
Line Count
9
Source Line
97
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/syntax/src/net/sourceforge/squirrel_sql/plugins/syntax/netbeans/SqlSyntaxHighlightTokenMatcher.java

public boolean isDataType(char[] buffer, int offset, int len) {
  _caseInsensitiveStringBuffer.setCharBuffer(buffer, offset, len);
  if (_sess.getSchemaInfo().isDataType(_caseInsensitiveStringBuffer)) {
    return true;
  }
  return false;
}


Next
Previous
Clone Instance
2
Line Count
12
Source Line
131
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/syntax/src/net/sourceforge/squirrel_sql/plugins/syntax/netbeans/SqlSyntaxHighlightTokenMatcher.java

public boolean isColumn(char[] buffer, int offset, int len) {
  // No new here, method is called very often
  //String s = new String(buffer, offset, len);
  _caseInsensitiveStringBuffer.setCharBuffer(buffer, offset, len);
  if (_sess.getSchemaInfo().isColumn(_caseInsensitiveStringBuffer)) {
    return true;
  }
  return false;
}


First
Previous
Clone Instance
3
Line Count
11
Source Line
145
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/syntax/src/net/sourceforge/squirrel_sql/plugins/syntax/netbeans/SqlSyntaxHighlightTokenMatcher.java

public boolean isKeyword(char[] buffer, int offset, int len) {
  // No new here, method is called very often
  // String s = new String(buffer, offset, len);
  _caseInsensitiveStringBuffer.setCharBuffer(buffer, offset, len);
  if (_sess.getSchemaInfo().isKeyword(_caseInsensitiveStringBuffer)) {
    return true;
  }
  return false;
}


Clone AbstractionParameter Count: 1Parameter Bindings

public boolean  [[#variable1cc24340]](char[] buffer, int offset, int len) {
  // No new here, method is called very often
  // String s = new String(buffer, offset, len);
  //String s = new String(buffer, offset, len);
  _caseInsensitiveStringBuffer.setCharBuffer(buffer, offset, len);
  if (_sess.getSchemaInfo(). [[#variable1cc24340]](_caseInsensitiveStringBuffer)) {
    return true;
  }
  return false;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1cc24340]]
isDataType 
12[[#1cc24340]]
isColumn 
13[[#1cc24340]]
isKeyword