CloneSet1273


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3210.980method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
132849
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/common/util/URI.java
232865
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/common/util/URI.java
Next
Last
Clone Instance
1
Line Count
3
Source Line
2849
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/common/util/URI.java

/**
 * Encodes a string so as to produce a valid query, as defined by the RFC.
 * Only excluded characters, such as space and <code>#</code>, are escaped.
 * 
 * @param ignoreEscaped <code>true</code> to leave <code>%</code> characters
 * unescaped if they already begin a valid three-character escape sequence;
 * <code>false</code> to encode all <code>%</code> characters.  Note that
 * if a <code>%</code> is not followed by 2 hex digits, it will always be
 * escaped. 
 */
public static String encodeQuery(String value, boolean ignoreEscaped) {
  return encode(value, URIC_HI, URIC_LO, ignoreEscaped);
}


First
Previous
Clone Instance
2
Line Count
3
Source Line
2865
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/common/util/URI.java

/**
 * Encodes a string so as to produce a valid fragment, as defined by the
 * RFC.  Only excluded characters, such as space and <code>#</code>, are
 * escaped.
 * 
 * @param ignoreEscaped <code>true</code> to leave <code>%</code> characters
 * unescaped if they already begin a valid three-character escape sequence;
 * <code>false</code> to encode all <code>%</code> characters.  Note that
 * if a <code>%</code> is not followed by 2 hex digits, it will always be
 * escaped. 
 */
public static String encodeFragment(String value, boolean ignoreEscaped) {
  return encode(value, URIC_HI, URIC_LO, ignoreEscaped);
}


Clone AbstractionParameter Count: 1Parameter Bindings

/**
   * Encodes a string so as to produce a valid fragment, as defined by the
   * RFC.  Only excluded characters, such as space and <code>#</code>, are
   * escaped.
   * 
   * @param ignoreEscaped <code>true</code> to leave <code>%</code> characters
   * unescaped if they already begin a valid three-character escape sequence;
   * <code>false</code> to encode all <code>%</code> characters.  Note that
   * if a <code>%</code> is not followed by 2 hex digits, it will always be
   * escaped. 
   */
/**
   * Encodes a string so as to produce a valid query, as defined by the RFC.
   * Only excluded characters, such as space and <code>#</code>, are escaped.
   * 
   * @param ignoreEscaped <code>true</code> to leave <code>%</code> characters
   * unescaped if they already begin a valid three-character escape sequence;
   * <code>false</code> to encode all <code>%</code> characters.  Note that
   * if a <code>%</code> is not followed by 2 hex digits, it will always be
   * escaped. 
   */
public static String  [[#variable175578c0]](String value, boolean ignoreEscaped) {
  return encode(value, URIC_HI, URIC_LO, ignoreEscaped);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#175578c0]]
encodeQuery 
12[[#175578c0]]
encodeFragment