CloneSet7533


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2201.000class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1239
plugins/org.eclipse.jdt.junit.runtime/src/org/eclipse/jdt/internal/junit/runner/JUnitMessages.java
2277
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/FoldingMessages.java
Clone Instance
1
Line Count
2
Source Line
39
Source File
plugins/org.eclipse.jdt.junit.runtime/src/org/eclipse/jdt/internal/junit/runner/JUnitMessages.java

        /**
         * Gets a string from the resource bundle and formats it with arguments
         */
        public static String getFormattedString(String key, Object[] args) {
                return MessageFormat.format(getString(key), args);
        }


Clone Instance
2
Line Count
2
Source Line
77
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/FoldingMessages.java

        /**
         * Returns the formatted resource string associated with the given key in the resource bundle. 
         * <code>MessageFormat</code> is used to format the message. If there isn't  any value 
         * under the given key, the key is returned.
         *
         * @param key the resource key
         * @param args the message arguments
         * @return the string
         */
        public static String getFormattedString(String key, Object[] args) {
                return MessageFormat.format(getString(key), args);
        }


Clone AbstractionParameter Count: 0Parameter Bindings

/**
         * Returns the formatted resource string associated with the given key in the resource bundle. 
         * <code>MessageFormat</code> is used to format the message. If there isn't  any value 
         * under the given key, the key is returned.
         *
         * @param key the resource key
         * @param args the message arguments
         * @return the string
         */
/**
         * Gets a string from the resource bundle and formats it with arguments
         */
public static String getFormattedString(String key, Object[] args) {
  return MessageFormat.format(getString(key), args);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None