CloneSet4779


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5301.000class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1537
plugins/org.eclipse.jdt.core/antadapter/org/eclipse/jdt/internal/antadapter/AntAdapterMessages.java
2543
plugins/org.eclipse.jdt.junit.runtime/src/org/eclipse/jdt/internal/junit/runner/JUnitMessages.java
3537
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/FoldingMessages.java
Clone Instance
1
Line Count
5
Source Line
37
Source File
plugins/org.eclipse.jdt.core/antadapter/org/eclipse/jdt/internal/antadapter/AntAdapterMessages.java

        public static String getString(String key) {
                try {
                        return RESOURCE_BUNDLE.getString(key);
                } catch (MissingResourceException e) {
                        return '!' + key + '!';
                  }
        }


Clone Instance
2
Line Count
5
Source Line
43
Source File
plugins/org.eclipse.jdt.junit.runtime/src/org/eclipse/jdt/internal/junit/runner/JUnitMessages.java

        public static String getString(String key) {
                try {
                        return RESOURCE_BUNDLE.getString(key);
                } catch (MissingResourceException e) {
                        return '!' + key + '!';
                  }
        }


Clone Instance
3
Line Count
5
Source Line
37
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/FoldingMessages.java

        /**
         * Returns the resource string associated with the given key in the resource bundle. If there isn't 
         * any value under the given key, the key is returned.
         *
         * @param key the resource key
         * @return the string
         */
        public static String getString(String key) {
                try {
                        return RESOURCE_BUNDLE.getString(key);
                } catch (MissingResourceException e) {
                        return '!' + key + '!';
                  }
        }


Clone AbstractionParameter Count: 0Parameter Bindings

/**
         * Returns the resource string associated with the given key in the resource bundle. If there isn't 
         * any value under the given key, the key is returned.
         *
         * @param key the resource key
         * @return the string
         */
public static String getString(String key) {
  try {
    return RESOURCE_BUNDLE.getString(key);
  }
  catch (MissingResourceException e) {
    return '!' + key + '!';
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None